I am using BibTex with an own style based on unsrt.bst.
Unsrt.bst now produces periods ("."s) after the authors' names,
but I want to have commas (","s) instead. I have looked into
unsrt.bst and it seems to me that this "feature" is programmed quite
deeply inside the style (in the ouput routine itself there is
an add.period function which I would to replace by add.comma,
however, as this function is not predefined, I would have to rewrite
it).
Has anybody a short hack (no new style file) please?
--
Pjotr
>Hello,
>I am using BibTex with an own style based on unsrt.bst.
>Unsrt.bst now produces periods ("."s) after the authors' names,
>but I want to have commas (","s) instead. I have looked into
>unsrt.bst and it seems to me that this "feature" is programmed quite
>deeply inside the style (in the ouput routine itself there is
>an add.period function which I would to replace by add.comma,
>however, as this function is not predefined, I would have to rewrite
>it).
Easy. add.period$ adds a period conditionally, i.e., if there is none
already, as in abbreviations. Kommas you do not have to add conditionally,
so you just write
"," *
which means add a comma to the current string on top of the stack
(bibTeX is rather Forth- or HP-calculator-like).
--
David Kastrup d...@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen
--
David Kastrup d...@pool.informatik.rwth-aachen.de
Tel: +49-241-72419 Fax: +49-241-79502
Goethestr. 20, D-52064 Aachen