Hallo, ich habe gerade bei Miktex ein update meiner Pakete durchgeführt und jetzt läuft folgendes Beispiel nicht mehr \documentclass[11pt,german]{article} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \begin{document} Blinddocument \end{document} Der folgende Code läuft durch: \documentclass[11pt,german]{article} % ngerman \usepackage[utf8]{inputenc} % latin9 utf8 %\usepackage[ngerman]{babel} % german, ngerman, english \begin{document} Blinddocument % create dummy document here \end{document} Update: Ich hatte die Anfrage ein paar mal editiert und dabei ist die Fehlermeldung verschwunden. Der folgende Code liefert bei mir mit MikTex \documentclass[11pt,german]{article} \usepackage[ngerman]{babel} \begin{document} Blinddocument \end{document} Meldung in TeXstudio Undefined control sequence. \begin{document} Argument of \@gobbletwo has an extra }. \begin{document} Paragraph ended before \@gobbletwo was complete. \begin{document} Paragraph ended before \bbl@vforeach was complete. \begin{document} Too many }'s. \begin{document} Illegal parameter number in definition of \reserved@a. \begin{document} Parameters must be numbered consecutively. \begin{document} Illegal parameter number in definition of \reserved@a. \begin{document} Parameters must be numbered consecutively. \begin{document} Undefined control sequence. \begin{document} Argument of \@gobbletwo has an extra }. \begin{document} Paragraph ended before \@gobbletwo was complete. \begin{document} Paragraph ended before \in@ was complete. \begin{document} Too many }'s. \begin{document} log-DateiThis is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 21.12.10) (preloaded format=pdflatex 2022.1.11) 11 JAN 2022 11:28 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **./beispiel.tex (beispiel.tex LaTeX2e <2019-10-01> patch level 3 (C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls Document Class: article 2019/10/25 v1.4k Standard LaTeX document class (C:\Program Files\MiKTeX 2.9\tex/latex/base\size11.clo File: size11.clo 2019/10/25 v1.4k Standard LaTeX file (size option) ) \c@part=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.sty Package: babel 2021/12/30 3.69 The Babel package \babel@savecnt=\count88 \U@D=\dimen103 \l@unhyphenated=\language78 (C:\Program Files\MiKTeX 2.9\tex/generic/babel\txtbabel.def) \bbl@readstream=\read1 \bbl@dirlevel=\count89 ************************************* * Local config file bblopts.cfg used * (C:\Program Files\MiKTeX 2.9\tex/latex/arabi\bblopts.cfg File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of babel ) (C:\Program Files\MiKTeX 2.9\tex/latex/babel-german\ngerman.ldf Language: ngerman 2021/02/27 v2.13 German support for babel (post-1996 orthogra phy) (C:\Program Files\MiKTeX 2.9\tex/latex/babel-german\ngermanb.ldf Language: ngermanb 2021/02/27 v2.13 German support for babel (post-1996 orthogr aphy) Package babel Info: Making " an active character on input line 122. ))) (beispiel.aux) \openout1 = `beispiel.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. ! Undefined control sequence. \@begindocumenthook ...bletwo \@fontenc@load@list }\let \@elt \relax \let \b... l.5 \begin{document} 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. ! Argument of \@gobbletwo has an extra }. <inserted text> \par l.5 \begin{document} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? ! Paragraph ended before \@gobbletwo was complete. <to be read again> \par l.5 \begin{document} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. Runaway argument? { ! Paragraph ended before \bbl@vforeach was complete. <to be read again> \par l.5 \begin{document} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Too many }'s. \bbl@foreach ...er \bbl@vforeach \expandafter {#1} l.5 \begin{document} You've closed more groups than you opened. Such booboos are generally harmless, so keep going. ! Illegal parameter number in definition of \reserved@a. <to be read again> 1 l.5 \begin{document} You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. ! Parameters must be numbered consecutively. <to be read again> 1 l.5 \begin{document} I've inserted the digit you should have used after the #. Type `1' to delete what you did use. ! Illegal parameter number in definition of \reserved@a. <to be read again> 1 l.5 \begin{document} You meant to type ## instead of #, right? Or maybe a } was forgotten somewhere earlier, and things are all screwed up? I'm going to assume that you meant ##. ! Parameters must be numbered consecutively. <to be read again> 1 l.5 \begin{document} I've inserted the digit you should have used after the #. Type `1' to delete what you did use. ! Undefined control sequence. <argument> ...ter \@gobbletwo \@fontenc@load@list }\let \@elt \relax \bbl@xi... l.5 \begin{document} 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. ! Argument of \@gobbletwo has an extra }. <inserted text> \par l.5 \begin{document} I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? ! Paragraph ended before \@gobbletwo was complete. <to be read again> \par l.5 \begin{document} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. Runaway argument? { ! Paragraph ended before \in@ was complete. <to be read again> \par l.5 \begin{document} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Too many }'s. \reserved@a ->\in@ {,T1,}{\par } l.5 \begin{document} You've closed more groups than you opened. Such booboos are generally harmless, so keep going. [1 {C:/Users/pz16/AppData/Local/MiKTeX/2.9/fonts/map/pdftex/pdftex.map}] (beispiel.aux) ) Here is how much of TeX's memory you used: 1066 strings out of 492515 14525 string characters out of 5881034 4091056 words of memory out of 14000000 5417 multiletter control sequences out of 15000+600000 3940 words of font info for 15 fonts, out of 4000000 for 9000 1141 hyphenation exceptions out of 8191 28i,4n,22p,166b,123s stack positions out of 5000i,500n,10000p,200000b,80000s <C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr 10.pfb> Output written on beispiel.pdf (1 page, 12871 bytes). PDF statistics: 10 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000) ----------Wenn ich das babel Paket auskommentiere läuft der Code durch. \documentclass[11pt,german]{article} %\usepackage[ngerman]{babel} \begin{document} Blinddocument \end{document} log-Datei This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 21.12.10) (preloaded format=pdflatex 2022.1.11) 11 JAN 2022 11:46 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **./beispiel.tex (beispiel.tex LaTeX2e <2019-10-01> patch level 3 (C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls Document Class: article 2019/10/25 v1.4k Standard LaTeX document class (C:\Program Files\MiKTeX 2.9\tex/latex/base\size11.clo File: size11.clo 2019/10/25 v1.4k Standard LaTeX file (size option) ) \c@part=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) LaTeX Warning: Unused global option(s): [ngerman]. (beispiel.aux) \openout1 = `beispiel.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5. LaTeX Font Info: ... okay on input line 5. [1 {C:/Users/pz16/AppData/Local/MiKTeX/2.9/fonts/map/pdftex/pdftex.map}] (beispiel .aux) ) Here is how much of TeX's memory you used: 220 strings out of 492515 2498 string characters out of 5881034 4058777 words of memory out of 14000000 4591 multiletter control sequences out of 15000+600000 3940 words of font info for 15 fonts, out of 4000000 for 9000 1141 hyphenation exceptions out of 8191 23i,4n,21p,127b,99s stack positions out of 5000i,500n,10000p,200000b,80000s <C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb> Output written on beispiel.pdf (1 page, 12871 bytes). PDF statistics: 10 PDF objects out of 1000 (max. 8388607) 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000) |
Der Fehler besteht höchstwahrscheinlich darin, dass zwar beantwortet 11 Jan '22, 12:17 gast3 |
Ich kann das problem mit einem aktuellen TeX Live nicht nachvollziehen. Was genau meinst du denn mit „läuft nicht mehr"? Gibt es fehlermeldungen? Welche? Bitte in der frage ergänzen. Und wenn du schon dabei bist, könntest du bitte den code korrekt per markdown als code block markieren, also vier zeichen einrücken? Dann funktioniert auch der online editor.
Achso: Bei miktex muss man afaik immer zwei updates machen, eines als admin und eines als anwender. Kenne mich damit aber nicht aus.
Ich habe den Code mal richtig markiert. Evtl. ein Problem: Du lädst
babel
mit der Optionngerman
, doch die Klasse mit Optiongerman
, und Pakete wiebabel
erben Klassenoptionen. Also ein Konfliktgerman
(alt) versusngerman
(neu). Nimm einfach stattdessenngerman
als Klassenoption in der ersten Zeile und lasse sie beibabel
weg, also dann nur\usepackage{babel}
.