[tex-k] bug with closing square brackets in description environment

Hauke Tschach ht05r at ecs.soton.ac.uk
Thu Mar 23 13:16:00 CET 2006


Hi,

if in the following code the "\rbkt" is replaced by just "]",
latex fails to produce a dvi file.

Hauke




\documentclass{article}

\newcommand{\rbkt}{]}

\begin{document}

\begin{description}
  \item[$a[a\rbkt$] here the problem arrises:  just $]$ does not work.
\end{description}

\end{document}




Versions used:

$ latex --version
TeX (Web2C 7.4.5) 3.14159
kpathsea version 3.4.5
Copyright (C) 1997-2003 D.E. Knuth.
Kpathsea is copyright (C) 1997-2003 Free Software Foundation, Inc.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the TeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
Kpathsea written by Karl Berry and others.



$ latex --version
pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4)
kpathsea version 3.5.4
Copyright (C) 1997-2004 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright (C) 1997-2004 Free Software Foundation, Inc.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfeTeX copyright and
the GNU General Public License.
For more information about these matters, see the files
named COPYING and the pdfeTeX source.
Primary author of pdfeTeX: Peter Breitenlohner (eTeX)/Han The Thanh 
(pdfTeX).
Kpathsea written by Karl Berry and others.




-------------------------
Hauke Tschach
Building 1
School of Electronics and Computer Science
University of Southampton
Southampton
SO17 1BJ
United Kingdom
+44 23 8059 4882
-------------------------



More information about the tex-k mailing list