← 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.

  xagsm  introduces 'Undefined control sequence'

Status in texlive-base package in Ubuntu:

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}


  \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:





  % Include each of the tex files
  % associated with each chapter

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

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


  \harvarditem[Brovkin et al.]{Brovkin, Ganopolski, Archer \&
  \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}}.


  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$
  -  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
  Uname: Linux 2.6.32-22-generic x86_64
  Architecture: amd64
  Date: Sun May  2 23:07:37 2010
  PackageArchitecture: all
  SourcePackage: texlive-base

To manage notifications about this bug go to: