Hello Günter,
I don't think that some unbalanced brackets are in my float... It's the
same effect if I insert just an empty tabular-float-environment. It
works with figure-float-environment... I also tried to export it in
LaTeX, but there the same error appears. The misterious aspect is, that
the error appears much later in the document, but if I delete the float
the error is gone...
I've realized now, that it must have s.th. to do with the declarations I
did in the preamble, because it works without it. I tried to take parts
out to recognize the guilty lines. With the first lines, the float is
generated:
%Definition des Absatz-Abstandes
\setlength{\parskip}{0pt}
%Definition der Kopfzeile
\usepackage{scrpage2}
\pagestyle{scrheadings}
\ihead[]{}
\ohead[]{}
\chead[]{\pagemark}
\cfoot[]{}
%Definition der Schrift für Fußnote, Nummerierung und allgemein
\renewcommand{\pnumfont}{\normalfont\sffamily}
\setkomafont{footnote}{\sffamily}
\renewcommand{\familydefault}{\sfdefault}
%Schusterjungen und Hurenkinder
\clubpenalty=10000
\widowpenalty=10000 \displaywidowpenalty=10000
%Definition der Abbildungs- und Tabellenbeschreibungen
\setkomafont{captionlabel}{\sffamily \bfseries}
\renewcommand*{\figureformat}{Abb.~\thefigure\autodot}
\renewcommand*{\tableformat}{Tab.~\thetable\autodot}
... But when I insert these Lines, the error appears:
%Realisierung der Hyperref-Attribute unter verschiedenen Voraussetzungen
\usepackage{ifpdf} % part of the hyperref bundle
\ifpdf % if pdflatex is used
% link all cross references and URLs in pdf output
\usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
pdfpagelayout=OneColumn, pdfnewwindow=true,
pdfstartview=XYZ, plainpages=false, pdfpagelabels,
pdfauthor={Dein Name}, pdftex,
pdftitle={Dein Titel},pdfsubject={LyX},
pdfkeywords={LyX}]{hyperref}
\else % if dvi or ps is produced
% link all cross references and URLs in dvi output
\usepackage[ps2pdf]{hyperref}
\fi % end if pdflatex is used
% the pages of the LOT are numbered roman
% and a pdf-bookmark for the TOC is added
\pagenumbering{Roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\pdfbookmark[1]{Inhaltsverzeichnis}{}
\myTOC
\cleardoublepage
}
\let\myLOT\listoftables
\renewcommand\listoftables{%
\myLOT
\cleardoublepage
\pagenumbering{arabic}
}
%Fügt Füllzeichen für die oberste Ebene im TOC bei
\makeatletter
[EMAIL PROTECTED]
\ifnum [EMAIL PROTECTED] >\z@
[EMAIL PROTECTED]
\addvspace{1.0em [EMAIL PROTECTED]@}%
[EMAIL PROTECTED]
\begingroup
\parindent \z@
\rightskip [EMAIL PROTECTED]
\parfillskip [EMAIL PROTECTED]
\leavevmode \bfseries
[EMAIL PROTECTED]
\hskip -\leftskip #1
\nobreak\
[EMAIL PROTECTED] [EMAIL PROTECTED] mu\hbox{.}\mkern [EMAIL PROTECTED] mu$} \hfil
[EMAIL PROTECTED]@[EMAIL PROTECTED] #2}
\par
\endgroup \fi}
\makeatother
%Fügt "Abb. " vor die Nummern in der LOF
\makeatletter
[EMAIL PROTECTED] }
[EMAIL PROTECTED]
\par
\addcontentsline{\csname [EMAIL PROTECTED]
{\csname [EMAIL PROTECTED]
\csname the#1\endcsname}{\ignorespaces #2}}%
\begingroup [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \fi \normalsize
[EMAIL PROTECTED] [EMAIL PROTECTED] #3}\par \endgroup}
\makeatother
Does s.o. see the reason for my problem in these lines?
Thanks
Nico
G. Milde schrieb:
On 21.08.08, Nico wrote:
Hello Christian,
thanks for the fast reply, but this was not the reason... the float is
inserted in the standard environment. Just the error-message points to
the subsection environment but at a totally different place of the
document. Is there another possibility?
Maybe you have a subsection or unbalanced brackets in your float.
What happens, if you insert an empty float in place of the offending?
But it could also be something else between the float and the subsection
environment or even in the latex preamble...
When faced with this type of hard-localisable errors, I usually export the
file to LaTeX and run latex by hand.
Günter