[texhax] Bibtex Abbreviations

Dan Hatton vi5u0-texhax at yahoo.co.uk
Fri Nov 17 00:21:32 CET 2006


On Thu, 16 Nov 2006, Chris Bourke wrote:

> Is there a way to define an abbreviation in bibtex for a "long" version
> and a "short" versioni of the same entry?

> Is there a way to do this automatically or do I need to define another
> "short" abbreviation (ex, icgg1_short)?

I'd suggest having three separate BibTeX files, one that defines the
short versions (journal-abbreviations.bib), one that defines the long
versions (journal-titles.bib), and one that uses the definitions
(everything.bib).  Then you can choose whether to use the short or
long versions in your (La)TeX file, by having either
\bibliography{journal-abbreviations,everything} or
\bibliography{journal-titles,everything}

For example, journal-abbreviations.bib might contain

@STRING{JOUAE="J. Appl. Electrochem."}
@STRING{JOUCED="J. Chem. Eng. Data"}
@STRING{JOUFM="J. Fluid Mech."}

journal-titles.bib might contain

@STRING{JOUAE="Journal of Applied Electrochemistry"}
@STRING{JOUCED="Journal of Chemical and Engineering Data"}
@STRING{JOUFM="Journal of Fluid Mechanics"}

and everything.bib might contain

@ARTICLE{Zhang:1996:VDW,
author="Hai-Lang Zhang and Shi-Jun Han",
title="Viscosity and Density of Water + Sodium Chloride + Potassium Chloride Solutions at $298.15\ut{K}$",
journal=JOUCED,
year=1996,
volume=41,
number=3,
pages="516--520",
month=may # "--" # jun,
location="Cambridge University Chemical Engineering Department Library"
}

@ARTICLE{Ahmed:1988:NCM,
author="A. H. Ahmed and G. H. Sedahmed",
title="Natural convection mass transfer at conical surfaces",
journal=JOUAE,
year=1988,
volume=18,
number=2,
pages="196--199",
month=mar,
location="Cambridge University Library: South Front 5, P360:7.b.56"
}

@ARTICLE{Kerr:1994:MDV,
author="Ross C. Kerr",
title="Melting driven by vigorous compositional convection",
journal=JOUFM,
year=1994,
volume=280,
pages="255--285",
month=dec,
doi="10.1017/S0022112094002922",
location="BP Institute Library: BPIJ.1"
}

-- 

HTH,

Dan Hatton

<http://www.bib.hatton.btinternet.co.uk/dan/>


More information about the texhax mailing list