[OS X TeX] BiBTeX, "achemso" and {book}

Kai von Fintel fintel at gmail.com
Fri Oct 6 11:29:34 EDT 2006


This has nothing to do with OS X or TeXShop, but is simply due to the
fact that the achemso package hardwires the use of \refname for the
title of the bibliography. The book class doesn't use \refname but
\bibname. Try this in your preamble:

\renewcommand{\bibname}{\refname}

And if you want to change the title to "Bibliography", put the
following before the line above:

\renewcommand{\refname}{Bibliography}

--
Kai von Fintel
http://semantics-online.org

On 10/6/06, Jonathan Fay <j.d.b.fay at durham.ac.uk> wrote:
> Hi,
>
>
> I'm using TeXShop to compile LaTeX code on my G4 iBook.  I initially
> posted my query on apfelwiki.de (thread "achemso style bibliography
> in book" and was pointed towards this emailing list.
>
> The problem is regarding the package "achemso"  (a bibliography style
> to produce referencing in the style of The American Chemical
> Society), and the way that it interacts with the "\documentclass
> {book}".  I have successfully used this style with {article}, however
> when switching to {book} (much more desirable in order to write my
> thesis), the bibliography ceases to be titled properly:  The
> references all function properly and are listed at the end of the
> document in the normal way, it is just that the bibliography is not
> titled - normally there would be a heading "References", but now
> there is none.
>
> The console displays the following error when trying to compile:
>
>
>   Undefined control sequence.
> <argument> \refname
>                      \@mkboth {\MakeUppercase \refname }
> {\MakeUppercase \refn...
> l.2 \begin{thebibliography}{1}
>
> ?
>
>
> As I stated on the website posting, I am confident that this is
> simply down to the definitions of {book} cf {article}, as when
> switching to {article} everything works fine...
>
> Unfortunately, I am simply a user of this technology and have limited
> understanding of the way in which it functions!   Perhaps ideally I
> would have the bibliography titled as "Bibliography" rather that the
> achemso default "References", but to be honest it would be great just
> to have it work at all....
>
> If there is anyone who can help I would much appreciate your efforts!
>
> Thanks,
>
>
> Jonathan Fay
>
> Dept. of Chemistry
> University of Durham
> South Road
> Durham
> DH1 3LE
>
> +44 (0)191 3342055
>
> ------------------------- Info --------------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Archive: http://tug.org/pipermail/macostex-archives/
>
>
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list