meine Abschlussarbeit habe ich sonst immer im Büro kompiliert. Das war auch nie ein Problem. Nun versuche ich es zuhaus und es klappt einfach nicht. Es scheint ein Problem mit scrlayer-scrpage und pdflatex zu sein. Hier das Minimalbeispiel:
\documentclass{scrbook} \usepackage{scrlayer-scrpage} \begin{document} Beispieltext \end{document}
! Undefined control sequence. \KV@KOMAarg.definelayer@background ...teProcessed \scrlayer@testunexpectedar... l.1482 \newpairofpagestyles{scrheadings}{} % 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. \@tempc ...xpr #1\relax }\FamilyKeyStateProcessed l.1482 \newpairofpagestyles{scrheadings}{} % 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. ! Missing \endcsname inserted. <to be read again> \dimexpr l.1482 \newpairofpagestyles{scrheadings}{} % The control sequence marked <to be read again> should not appear between \csname and \endcsname. ! You can't use `\dimexpr' in vertical mode. <recently read> \dimexpr l.1482 \newpairofpagestyles{scrheadings}{} % Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.1482 \newpairofpagestyles{scrheadings}{} % You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit. ! Extra \endcsname. <argument> ...csname ds@\CurrentOption \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % I'm ignoring this, since I wasn't doing a \csname. ! Undefined control sequence. \@tempc ...xpr #1\relax }\FamilyKeyStateProcessed l.1482 \newpairofpagestyles{scrheadings}{} % 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. ! Missing \endcsname inserted. <to be read again> \dimexpr l.1482 \newpairofpagestyles{scrheadings}{} % The control sequence marked <to be read again> should not appear between \csname and \endcsname. ! You can't use `\dimexpr' in horizontal mode. <recently read> \dimexpr l.1482 \newpairofpagestyles{scrheadings}{} % Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ! Missing number, treated as zero. <to be read again> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). <to be read again> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) ! Extra \endcsname. <recently read> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % I'm ignoring this, since I wasn't doing a \csname. ! Undefined control sequence. \@tempc ...xpr #1\relax }\FamilyKeyStateProcessed l.1482 \newpairofpagestyles{scrheadings}{} % 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. ! Missing \endcsname inserted. <to be read again> \textwidth l.1482 \newpairofpagestyles{scrheadings}{} % The control sequence marked <to be read again> should not appear between \csname and \endcsname. ! Missing number, treated as zero. <to be read again> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). <to be read again> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) ! Extra \endcsname. <recently read> \endcsname l.1482 \newpairofpagestyles{scrheadings}{} % I'm ignoring this, since I wasn't doing a \csname. ! Undefined control sequence. \@tempc ...xpr #1\relax }\FamilyKeyStateProcessed l.1482 \newpairofpagestyles{scrheadings}{} % 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. \@tempc ...er @align}{#1}\FamilyKeyStateProcessed l.1482 \newpairofpagestyles{scrheadings}{} % 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. <argument> \@nil ,\@nil l.1482 \newpairofpagestyles{scrheadings}{} % 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. <argument> \@nil ,\@nil l.1482 \newpairofpagestyles{scrheadings}{} % 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. \@iforloop ...x \expandafter \@iforloop \fi #2\@@ #3{#4} l.1482 \newpairofpagestyles{scrheadings}{} % 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. ) ! Incomplete \iffalse; all text was ignored after line 1482. <inserted text> \fi l.3 \begin {document} 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. ! TeX capacity exceeded, sorry [input stack size=5000]. \scrlayer-scrpage.sty-h@@k -> \let \scrlayer@AtEndOfPackage \@firstofone \scr... l.3 \begin {document} If you really absolutely need more capacity, you can ask a wizard to enlarge me.
Vielen Dank für Eure Hilfe,
Peter