I am trying to recompile a document in kwrite; I previously compiled it all OK under debian squeeze about 6 months ago, but I now have an opensuse 11.2 (kwrite-4.3.5-0.1.1.x86_64).
A few problems have cropped up in the recompile 1) \begin{enumerate}...\end{enumerate} are undefined 2) \begin{itemize}...\end{itemize} are also undefined 3) all my captions now lead to undefined control errors
Example output:
1)
! Undefined control sequence.
\enit@endenumerate ->\enit@after
\endlist \enit@toks \expandafter {\enit@sav...
l.163 \end{enumerate}
2)
[9]
! Undefined control sequence.
\enit@enditemize ->\enit@after
\endlist \enit@toks \expandafter {\enit@savek...
3)
! Undefined control sequence.
\captiontextfont@default ->\cpb@font
l.144 ...d compositions as estimated by weighing.}
Any advice?
Also, the captcha on this site is really broken. disabling javascript just throws a (framed) content-length required error and shows a google page (WTF?) Secondly, I had to enter it in 4 times (after enabling javascript) because (I didn't have tags, I had invalid tags, I had a bad captcha (unreadable) and then I got a good one); Is there somewhere I can report this?
Edit:
Could not report bug. Would not let me post my question "your openID (?) is incorrect", but there was no field (even with javascript) to enter this. ???
Here is the minimal example that was asked for in the discussion (Am I meant to just keep editing my posts??)
\documentclass[a4paper,12pt,openright,twoside]{thesis}
\usepackage{enumitem}
\usepackage{paralist} %fancy list of figures
\title{A b C d e f g}
\author{me}\vspace{4ex}
\date{2010}
\begin{document}
\pagestyle{empty} \hspace{1pt} \pagebreak
\pagestyle{plain}
\begin{abstract}
\addcontentsline{toc}{chapter}{Abstract}
\vspace{1ex}
Stuff.
\end{abstract}
\cleardoublepage
{
\cleardoublepage
\mbox{}
\cleardoublepage
%back to 1,2,3 style numbering
\pagenumbering{arabic}
\begin{itemize}
\item One
\end{itemize}
\end{document}
Caption minimal example:
\documentclass[a4paper,12pt,openright,twoside]{thesis}
\usepackage[pdftex]{graphicx}
\usepackage{caption}
\title{asdf}
\author{me}\vspace{4ex}
\date{2010}
\begin{document}
\begin{abstract}
Lalalla
\end{abstract}
\begin{figure}
\includegraphics[width=0.95 \textwidth]{test.png}
\caption{Caption test}
\label{fig:test}
\end{figure}
\pagestyle{empty}
\thispagestyle{plain}
\end{document}
This results in:
! Undefined control sequence. \captionlabelfont@default ->\cph@font l.19 \caption{Caption test} ! Undefined control sequence. \captionlabelfont@default ->\cph@font l.19 \caption{Caption test} ! Undefined control sequence. \captiontextfont@default ->\cpb@font l.19 \caption{Caption test} ! Undefined control sequence. \captionlabelfont@default ->\cph@font l.19 \caption{Caption test} ! Undefined control sequence. \captionlabelfont@default ->\cph@font l.19 \caption{Caption test} ! Undefined control sequence. \captiontextfont@default ->\cpb@font l.19 \caption{Caption test}
[2 ] (./test.aux) ) (see the transcript file for additional information) Output written on test.pdf (2 pages, 471338 bytes). Transcript written on test.log.
paralistbeforeenumitem. – lockstep Aug 28 '10 at 13:22I was under the impression each package is relatively non-interacting, so usepackage order is not super-critical.
Can someone explain this black magic? I don't understand what is going on behind the scenes, and why this fixes it.
Also, I will try to narrow down the caption problem.
– Aug 28 '10 at 14:20