← Back to team overview

desktop-packages team mailing list archive

[Bug 573672] Re: xagsm introduces 'Undefined control sequence'

 

outdated/deprecated version which has reached EOL does not get support

** Changed in: texlive-base (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to texlive-base in Ubuntu.
https://bugs.launchpad.net/bugs/573672

Title:
  xagsm  introduces 'Undefined control sequence'

Status in texlive-base package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: texlive-base

  1. Upgraded to lucid.
  agsm.bst missing. looks like it was replaced by xagsm.bst?

  2. Edited my latex document, replacing
  \bibliographystyle{agsm} \addcontentsline{toc}{chapter}{Bibliography}

  with

  \bibliographystyle{xagsm} \addcontentsline{toc}{chapter}{Bibliography}

  3. Ran bibtex and got the following error message when running
  pdflatex from auctex in emacs:

  ERROR: Undefined control sequence.

  --- TeX said ---
  l.5 \authorindexentries
                         {ISI:000250451600001}{\do{Brovkin Victor@Brovkin,

  
  4. For completeness, ran latex from the command line - same error.

  5. Expected no errors in bibtex processing as before upgrade.

  6. Created minimalised test file:

  \documentclass[titlepage,12pt]{report}

  
  \usepackage{natbib}

  
  \renewcommand{\baselinestretch}{1.5}

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \begin{document}

  %--------------------
  % Include each of the tex files
  % associated with each chapter
  %--------------------
  \cite{ISI:000250451600001}

  \bibliographystyle{xagsm-orig} \addcontentsline{toc}{chapter}{Bibliography}
  \bibliography{test}
  \end{document}

  6. Ran bibtex and the following .bbl was produced, illustrating the
  problem

  \begin{thebibliography}{xx}

  \harvarditem[Brovkin et al.]{Brovkin, Ganopolski, Archer \&
    Rahmstorf}{{2007}}{ISI:000250451600001}
  \authorindexentries{ISI:000250451600001}{\do{Brovkin Victor@Brovkin,
    Victor}\do{Ganopolski Andrey@Ganopolski, Andrey}\do{Archer David@Archer,
    David}\do{Rahmstorf Stefan@Rahmstorf, Stefan}}
  Brovkin, V., Ganopolski, A., Archer, D. \& Rahmstorf, S.  ({2007}), `{Lowering
    of glacial atmospheric CO2 in response to changes in oceanic circulation and
    marine biogeochemistry}', {\em {Paleoceanography}}.

  \end{thebibliography}

  7. Made the following change

  --- /usr/share/texmf-texlive/bibtex/bst/index/xagsm.bst	2006-01-09 11:33:43.000000000 +1100
  +++ xagsm.bst	2010-05-02 22:41:01.000000000 +1000
  @@ -680,7 +680,7 @@
     cite$ write$
     "}" write$
     newline$
  -  format.author.index.entries % modification
  +  %format.author.index.entries % modification
     ""
     before.all 'output.state :=
   }

  8. and used the replacement file:

  Producing what I wanted.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: texlive-latex-recommended 2009-7
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Sun May  2 23:07:37 2010
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_AU.utf8
   SHELL=/bin/bash
  SourcePackage: texlive-base

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/573672/+subscriptions