I have a root file and a separate chapter.tex
and chapter.bib for each chapter (per the chapterbib
setup: I am not using the achemso
package).
Root file:
\documentclass[12pt,oneside,final]{thesis}
\usepackage{chapterbib}
\usepackage[superscript]{cite}
\usepackage{chemstyle}
\usepackage{cite}
\begin{document}
\title{Title}
\include{chapter1}
\end{document}
Chapter 1 (as a separate tex file)
\chapter{Chapter 1}
Text goes here\cite{person2013malaria}
\bibliographystyle{achemso}
\bibliography{./Bibliographies/chapter1}
Bib file (as a separate .bib
file saved to the appropriate directory above)
@article{person2013malaria,
title={Malaria},
author={Person, One and Person, Two and Person, Three and Person, Four and Person, Five and Person, Six and Person, Seven and Person, Eight and Person, Nine and Person, Ten and Person, Eleven},
journal={J. Amer. Med. Assoc.},
volume={25},
number={2},
pages={160},
year={2013},
publisher={LWW}
}
I am trying to control my achemso
style bibliography with the following command:
@Control{achemso-control,
ctrl-article-title = "yes",
ctrl-chapter-title = "no",
ctrl-etal-number = "99",
ctrl-etal-firstonly = "no",
}
…with no success. Not sure if I'm putting it in the wrong location (have tried adding it directly to the .bib
file, saved as a separate .bib
file (chapter1-control.bib
) and calling it in with the \bibliography
command.
Best Answer
If you are using the control system by hand, there are two things to do:
@Control
entry in one of your databases\nocite
, so no text is printed)If you are using multiple bibliographies, the magic citation needs to apply to each one. Thus a minimal working example would be something like:
Notice that I've included the special
\nocite{achemso-control}
citation at the start of the file. Also, importantly, notice thatachemso
is anatbib
-based bibliography style, so you cannot use thecite
package and must use the appropriate set up innatbib
.In the above, I've included the special entry in the same
.bib
file as the real citations. You don't have to do that, and indeed the way theachemso
package does things is to create a dedicated.bib
file with just this one entry in it. If you do that, a demo might look like:where the same control database can then be used by each chapter (you still need to cite it in each one!).