Hello

I have to ask for the Algorithm TOC (Table of Contents) field which creates a 
strange mistake i can't reproduce. I tried to build a lyx file which has also 
this failure but there it works.

if im inserting a algorithm toc or via Menü point (Insert -> TOC -> 
Algorithm...) or if i'm inserting a algorithm TOC via ERT TEX

\listof{algorithm}{Algorithmenverzeichnis}

i got followed error:

something's wrong--perhaps a missing \item

detailed:

\addvspace{10\p@ }

First i thought theres a problem with hyperef package or some failures i 
inserted in the preamble:

\usepackage[plainheadsepline,plainfootsepline]{scrpage2} %Paket scrpage2 
benutzen
\pagestyle{scrheadings} %Seitenstil scrheadings verwenden
\clearscrheadfoot %Kopf und Fußzeile löschen
\ihead[\headmark]{\headmark}
\ohead[\pagemark]{\pagemark}
\setheadsepline{1pt} %Separate Linie im Kopf
\setfootsepline{1pt} %Separate Linie im Fuss
\ifoot[Thomas Schmidt]{Thomas Schmidt}
\ofoot[\today]{\today}
\usepackage{hyperref}
\newfloat{Xalgorithm}{tbp}{loa}
\floatname{Xalgorithm}{Algorithmus}
\newcommand{\theHalgorithm}{\theHXalgorithm}
\renewenvironment{algorithm}[1][tbp]
{\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
\numberwithin{Xalgorithm}{chapter}

but even if i delete the hyperef, the algorithm, or the other part, i got this 
failure.

Can anyone give me a hint how i can insert a algorithm TOC without getting this 
mistake.

Regards
Thomas



-- 
Mit freundlichen Grüßen
Thomas Schmidt

-------------------------------------------------------------------
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/

Reply via email to