General ⇒ Abbreviations in Bibliography with achemso
Abbreviations in Bibliography with achemso
I have a database of references in BibTeX with the journal titles fully spelled out, as I need them for some forms of bibliographies. However, for JPC requirements, the Journal of American Chemical Society should be abbreviated to J. Am. Chem. Soc. or something similar.
I seem to be able to meet the other requirements, but I can't get the journal names to be abbreviated. I don't want to specifically edit each entry in my database, as I don't want to change them afterwards. There are macros in the .bst files of the form:
MACRO {jacs} {"J. Amer. Chem. Soc."}
but when I run Latex, the journal names are fully spelled out. Any help would be appreciated.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Abbreviations in Bibliography with achemso
and have one .bib file (say, abbrev_journal_names.bib) where you define jacs etc as the abbreviated names
...
@String{JACS = {J. Am.\ Chem.\ Soc.}}
...
and another (say, full_journal_names.bib) with it written out
...
@String{JACS = {Journal of the American Chemical Society}}
..
Then in your latex document you can use
\bibliography{abbrev_journal_names,chem_articles}
if the journal requires abbreviated journal names or
\bibliography{full_journal_names,chem_articles}
otherwise.
Abbreviations in Bibliography with achemso
The MACRO commands in jpc.bst, like jacs, jbc, etc., define strings which can be used in the bib files. For example, inside a register corresponding to an article, you can type journal = jacs instead of journal={J. Amer. Chem. Soc.}. Observe, consequently, that replacement strings can be defined in the bst file (through the MACRO command) or inside the bib file itself (through @string).