Post by Ulrike FischerAm Fri, 22 Feb 2008 06:53:25 -0800 (PST) schrieb
Post by H***@googlemail.comForgive me if this is a FAQ. I have consulted the TeX archive at
http://www.tex.ac.ukbut I have not been able to find anything useful.
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion
Alright. Fair enough. The input I use:
\documentclass[11pt]{article}
\usepackage{graphics,graphicx}
\DeclareGraphicsExtensions{.ps,.jpg,.eps,.pdf,.png}
\usepackage{boxedminipage,amsmath,amsfonts}
\usepackage{url}
\usepackage{verbatim}
\usepackage{enumitem}
\bibliographystyle{plain}
\begin{document}
\begin{enumerate}[label=Step \arabic*]
\item {This is the first step} \label{step1}
\item {This is the second step} \label{step2}
\item {This is the third step}
\end{enumerate}
As seen in the crucial step~\ref{step2}, the enumitem package is quite
useful.
\end{document}
This produces output like this:
gt;L
This is the first step
This is the second step
This is the third step
As seen in the crucial step , the enumitem package is quite
useful.
and the error messages
! Missing = inserted for \ifnum.
<to be read again>
&
l.12 \begin{enumerate}[label=Step \arabic*]
?
! Missing number, treated as zero.
<to be read again>
&
l.12 \begin{enumerate}[label=Step \arabic*]
?
! Misplaced alignment tab character &.
<recently read> &
l.12 \begin{enumerate}[label=Step \arabic*]
?
! LaTeX Error: Too deeply nested.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.12 \begin{enumerate}[label=Step \arabic*]
?
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.13 \item T
his is the first step \label{step1}
? r
OK, entering \nonstopmode...
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.14 \item T
his is the second step \label{step2}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Lonely \item--perhaps a missing list environment.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.15 \item T
his is the third step
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Undefined control sequence.
\***@endenumerate ->\***@after
\endlist \***@toks \expandafter
{\***@sav...
l.16 \end{enumerate}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
\***@endenumerate ...expandafter {\***@savekeys
}\xdef
\***@afterlist {\d...
l.16 \end{enumerate}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
\***@endenumerate ...csname {\csname c@\@listctr
\endcsname \the
\csname ***@...
l.16 \end{enumerate}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
\***@endenumerate ...me \the \csname c@\@listctr
\endcsname }}
\aftergroup \...
l.16 \end{enumerate}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! You can't use `\relax' after \the.
<recently read> \c@
l.16 \end{enumerate}
I'm forgetting what you said and using zero instead.
[1
] (test.aux) )
Output written on test.dvi (1 page, 404 bytes).