BibTeX, biblatex and biberchange formatting of .bib (formatting of (ed.))

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
beoram
Posts: 19
Joined: Tue Jul 29, 2008 6:19 pm

change formatting of .bib (formatting of (ed.))

Post by beoram »

I have a .bst file which is exactly what I want, except for how it handles formatting of (ed.) and (eds.).

(1) Currently, if the editor is the primary field, it is inserting an extra space after the "(ed.)".

(2) In collections, there is no comma after "(ed.)"

In other words, I'm currently getting:

Code: Select all

\bibitem[{Banerjee \protect\BIBand{} Pedersen(2003)}]{banerjee2003}
Banerjee, Satanjeev \protect\BIBand{} Ted Pedersen. 2003.
\newblock The design, implementation, and use of the {N}gram {S}tatistic
  {P}ackage.
\newblock In Alexander Gelbukh [b](ed.) [/b]\emph{Computational Linguistics and
  Intelligent Text Processing: {P}roceedings of the 4th {I}nternational
  {C}onference ({CICL}ing 2003, {M}exico {C}ity, {M}exico, {F}ebruary 16-22,
  2003)}, 370--381. New York: Springer-Verlag.
...
\bibitem[{Klaeber(1950)}]{klaeber1950}
Klaeber, Frederick [b](ed.) .[/b] 1950.
\newblock \emph{Beowulf and the {F}ight at {F}innsburg}.
\newblock Boston: D.C. Heath, 3rd edn.
When what I want is:

Code: Select all

\bibitem[{Banerjee \protect\BIBand{} Pedersen(2003)}]{banerjee2003}
Banerjee, Satanjeev \protect\BIBand{} Ted Pedersen. 2003.
\newblock The design, implementation, and use of the {N}gram {S}tatistic
  {P}ackage.
\newblock In Alexander Gelbukh [b](ed.), [/b]\emph{Computational Linguistics and
  Intelligent Text Processing: {P}roceedings of the 4th {I}nternational
  {C}onference ({CICL}ing 2003, {M}exico {C}ity, {M}exico, {F}ebruary 16-22,
  2003)}, 370--381. New York: Springer-Verlag.
...
\bibitem[{Klaeber(1950)}]{klaeber1950}
Klaeber, Frederick [b](ed.).[/b] 1950.
\newblock \emph{Beowulf and the {F}ight at {F}innsburg}.
\newblock Boston: D.C. Heath, 3rd edn.
How can I change the .bst to modify this? I don't want to make a whole new .bst file - just modify the one I have.

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: change formatting of .bib (formatting of (ed.))

Post by kaiserkarl13 »

Look for the line in the .bst file that actually writes (Ed.) and change that line to do what you want. Sorry I can't be more specific, but I'd have to see your .bst file to say precisely what to look for.
Post Reply