[Tex/LaTex] Edition field in BibTeX: How to use “custom” entries

bibliographiesbibtex

As far as I know the recommended way to fill the edition field for BiBTeX entries is to use write out ordinal numbers capitalized such as

edition = {Second}

BibTeX then usually outputs "second edition". Now I would like to put a different information there, e.g.

edition = {reprint}

and I don't want BibTeX to write "reprint edition", but only "reprint". I have read that there are bibstyles which check whether the edition field is an ordinal word and if not write out the field content unchanged. Can somebody point me to such a style file?

Best Answer

I'm not aware of such a style, but that needn't mean much. If it so happens that you don't have any other bibliography entries with edition information, you could try the following. In the file unsrt.bst, there should be the following function:

FUNCTION {format.edition}
{ edition empty$
    { "" }
    { output.state mid.sentence =
        { edition "l" change.case$ " edition" * }
        { edition "t" change.case$ " edition" * }
      if$
    }
  if$
}

You could replace the strings " edition" with "" (or eliminate them altogether).

Of course, if you do have other bib entries with edition information, you'll have to change the contents of their edition fields from "First", "Second", etc to "First edition", "Second edition", etc. I therefore can't recommend this bibtex hack whole-heartedly. Anyway, what's so bad about a field labelled "Reprint edition" that you feel a need to change it to "Reprint"?

Related Question