ich schreibe gerade meine Abschlussarbeit und habe dafür eine Vorlage von meiner Hochschule erhalten. Jetzt gibt mir Miktex jedoch einen Fehler aus, den ich nicht nachvollziehen kann.
! Incomplete \ifx; all text was ignored after line 4. <inserted text> \fi l.35 \input{content/00_formal/referat} % The file ended while I was skipping conditional text. This kind of error happens when you say `\if...' and forget the matching `\fi'. I've inserted a `\fi'; this might work. )
Folgende Codezeilen sind verantwortlich:
% Separates Abbildungsverzeichnis \let\listoffiguresold\listoffigures %\ifnofigures %\renewcommand{\listoffigures}{} %\else \renewcommand{\listoffigures}{% \cleardoublepage \pagestyle{scrheadings} \let\listfigurenameold\listfigurename \renewcommand{\listfigurename}{\myromanprefix\listfigurenameold} \phantomsection \addcontentsline{toc}{chapter}{\listfigurenameold}% \listoffiguresold% \cleardoublepage } %\fi
% Separates Tabellenverzeichnis \let\listoftablesold\listoftables \ifnotables \renewcommand{\listoftables}{} \else \renewcommand{\listoftables}{% \cleardoublepage \pagestyle{scrheadings} \let\listtablenameold\listtablename \renewcommand{\listtablename}{\myromanprefix\listtablenameold} \phantomsection \addcontentsline{toc}{chapter}{\listtablenameold} \listoftablesold \cleardoublepage }\fi
Vielen Dank schonmal im Voraus!
Viele Grüße und frohe Ostern!
Tobias