GeneralAbbreviations in Bibliography with achemso

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Ian222
Posts: 18
Joined: Fri Oct 19, 2007 4:31 pm

Abbreviations in Bibliography with achemso

Post by Ian222 »

I am trying to use the achemso.sty package, or the jpc.bst file to create a bibliography that meets the Journal of Physical Chemistry requirements with BibTeX.

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.

Recommended reading 2024:

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

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

scmal
Posts: 5
Joined: Mon Aug 18, 2008 3:50 pm

Re: Abbreviations in Bibliography with achemso

Post by scmal »

Must be a common problem. I think your best bet would be to use abbreviations like jacs in the .bib files where you give details of the articles
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.
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Abbreviations in Bibliography with achemso

Post by Juanjo »

The same problem was already treated some time ago in other thread. You can see there an example.

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).
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply