[texhax] string definition - abbreviations for journals in a bib file
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Mon Feb 14 15:47:51 CET 2011
Am 14.02.2011 15:34, schrieb Olga Lyashevska:
> But if I compile (many times) I get this:
>
> This is BibTeX, Version 0.99d (TeX Live 2010)
> The top-level auxiliary file: ecological_indicators.aux
> The style file: elsarticle-harv.bst
> Database file #1: ../../work/ReferencesJabRef.bib
> Warning--string name "jvs" is undefined
> --line 16 of file ../../work/ReferencesJabRef.bib
> Database file #2: ../../work/Journals.bib
> Warning--empty journal in Botta-Dukat2005
>
> And resulting output without journal:
> Botta-Dukat, Z., Wilson, J. B., Oct. 2005. Rao’s quadratic entropy as a
> measure of functional diversity based on multiple traits 16 (5), 533–540
>
> I thought that we eliminated all problems but something is still missing.
here is a working example:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{demo.bib}
@STRING{JVS = "J.Veg.Sci."}
@article{foo,
title={bar},
journal=JVS,
author={Me},
year=2010
}
\end{filecontents*}
\begin{document}
foo~\cite{foo}
\bibliographystyle{plain}
\bibliography{demo}
\end{document}
More information about the texhax
mailing list