PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler nach Update von MikTeX



G.Hanisch
28-04-2015, 17:01
Habe MikTex upgedatet und Lualatex stürzt nun ab, obwohl es vorher tadellos gelaufen ist.
Der Fehler tritt beim Schreiben in ein externes File auf.
Ich glaube, dass einerseits nun ein Makro zu zerbricht, andererseits auch eine Nichtverträglichkeit mit enumitem auftritt.

Weiß jemand Rat? Danke


\documentclass{scrbook} %Kommascript
\usepackage{fixltx2e}
\usepackage{luaotfload}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage[EU2]{fontenc}
\usepackage{lualatex-math}
\usepackage[ngerman]{babel}
\usepackage[cmyk]{xcolor}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{unicode-math}
\usepackage{libertine}
\newcommand{\setlibertinemath}{%
\setmathfont[range=\mathit/{latin,Latin,num,Greek,greek}]{Linux Libertine O Italic}
\setmathfont[range=\mathup/{latin,Latin,num,Greek,greek}]{Linux Libertine O}
\setmathfont[range=\mathbfup/{latin,Latin,num,Greek,greek}]{Linux Libertine O Bold}
\setmathfont[range={"221E}]{Linux Libertine O}% "0221E = \infty
}
\setmathfont{Asana Math}
\setlibertinemath
\setmathfont[range=\int]{Asana Math}
%
\makeatletter
\newcommand\listofexamples
{\@starttoc{xmp}}
\makeatother
%
\newtheoremstyle{aufgabeneu}%
{0pt}{9pt plus 3pt minus 4pt} %Abstand oben und unten
{\sffamily}% Textlayout
{0pt}% Ueberschrift: Einzug.
{\sffamily\bfseries\color{red}\large}{}% Font und Satzzeichen danach.
{ }% Abstand nach Ueberschrift
{}% Ueberschriftenspezifikation
% (leer = so wie `plain' Layout)
\theoremstyle{aufgabeneu}%neu
\newtheorem{aufgnr}{}
\DeclareMathVersion{sans}
\SetSymbolFont{operators}{sans}{OT1}{cmss}{m}{n}
%++++++++++++++Aufgabe:[Rand in mm nach unten]{Text der Aufgabe}{Loesung}
\newcommand{\Aufg}[3][2.5]{\stepcounter{aufgnr}
%\marginpar{\vspace{#1 mm}\color{blue}{\bfseries\sffamily \arabic{aufgnr}}\hspace{.5ex}\sloppy\raggedright #3}
\addtocounter{aufgnr}{-1}%\vspace{3pt}
\begin{aufgnr}#2
\end{aufgnr}
\addtocontents{xmp}{{\bfseries\sffamily \arabic{aufgnr}} #3\\}\pagebreak[3]}
%
\newcommand{\Kl}[1]{\makebox[1.3em]{\hfill({\bfseries\sffamily #1})}}
%
\begin{document}
\addtocontents{xmp}{\Kl{1} Text 2}

\Aufg{Text 1}
{\Kl{1} Text 2}
\end{document}

u_fischer
28-04-2015, 20:11
Ich habe keine Lust dein nicht-Minimalbeispiel zu testen. Aber als erstes würde ich empfehlen, mal das Format zu erneuern.

The EYE
29-04-2015, 08:02
Wie Ulrike schon sagte, mach doch bitte mal ein Minimalbeispiel¹. Deine Fehlermeldungen wären zB auch interessant.

Gruß Max

edit: Was für ein Update das war ist natürlich auch ziemlich interessant

G.Hanisch
29-04-2015, 11:44
Danke für eure Vorschläge. Das Format zu erneuern hat leider nichts gebracht (das war beim Umstieg auf die neuere Luatex-Version hilfreich).
Habe nun versucht weg zu streichen, aber mehr scheint nicht zu gehen.


\documentclass{article}
\usepackage{fixltx2e}
\usepackage{luaotfload}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage{lualatex-math}
\usepackage[ngerman]{babel}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{unicode-math}
\usepackage{libertine}
\setmathfont{Asana Math}
%
\makeatletter
\newcommand\listofexamples
{\@starttoc{xmp}}
\makeatother
\newtheorem{aufgnr}{}
\newcommand{\Aufg}[2]{
\begin{aufgnr}#1
\end{aufgnr}
\addtocontents{xmp}{{\arabic{aufgnr}} #2}}
%
\newcommand{\Kl}[1]{\makebox[1.3em]{#1}}
%
\begin{document}
\Aufg{Text 1}
{\Kl{1} Text 2}
\end{document}
Fehler: ! Undefined control sequence.
\trivlist -\let \enit@type
\tw@ \parsep \parskip \csname @list\romannumeral...
l.29 {\Kl{1} Text 2}

u_fischer
29-04-2015, 13:54
aber mehr scheint nicht zu gehen.

Kann ich nicht glauben. Ich wette, man kann libertine, unicode-math, luaotfload weglassen - nur um mal drei Zeilen zu nennen.

Abgesehen davon kann ich den Fehler nicht reproduzieren. Stelle sicher, dass du alle Updates hast - benutze sowohl den Admin- als auch den User-Update-Manager. Wenn der Fehler dann immer noch existiert: Mache dann ein richtiges Minimalbeispiel und zeige die log-Datei.

G.Hanisch
29-04-2015, 14:29
Danke. Natürlich habe ich mit beiden upgedatet. Das Problem ist ja, dass es vor dem Updaten keine Fehler gab. Du hast Recht, man kann noch streichen, aber nicht einzeln - wie ich es vorher gemacht habe - sondern gleich mehr auf einmal, sonst treten noch mehr Fehler auf. Leider ist das Log-File zu lang und überschreitet die Länge von 15000 Zeichen. Ich schick daher nur den 2. Teil.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}
\usepackage{lualatex-math}
\usepackage[ngerman]{babel}
\usepackage{enumitem}
\usepackage{amsthm}
\makeatletter
\newcommand\listofexamples
{\@starttoc{xmp}}
\makeatother
\newtheorem{aufgnr}{}
\newcommand{\Aufg}[2]{
\begin{aufgnr}#1
\end{aufgnr}
\addtocontents{xmp}{{\arabic{aufgnr}} #2}}
%
\newcommand{\Kl}[1]{\makebox[1.3em]{#1}}
%
\begin{document}
\Aufg{Text 1}
{\Kl{1} Text 2}
\end{document}
Fehler: ! Undefined control sequence.
\trivlist -\let \enit@type
\tw@ \parsep \parskip \csname @list\romannumeral...
l.29 {\Kl{1} Text 2}


("C:/Program Files/MiKTeX 2.9/tex/latex/fontspec/fontspec.cfg")))
\g__file_internal_ior=\read1
luaotfload | cache : Lookup cache loaded from C:/Users/Guenter/AppData/Local/MiK
TeX/2.9/luatex-cache/generic/names/luaotfload-lookup-cache.luc.
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_r.otf"(loa
d luc: C:/Users/Guenter/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf/
linlibertine-r.luc)
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_r.otf"
\g__fontspec_family_LinuxLibertineO_int=\count289
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_r.otf"
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_rbi.otf"(l
oad luc: C:/Users/Guenter/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/ot
f/linlibertine-rbi.luc)
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_r.otf"
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_rb.otf"(lo
ad luc: C:/Users/Guenter/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf
/linlibertine-rb.luc)
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_r.otf"
luaotfload | load : Lookup/name: "Linux Libertine O" -> "linlibertine_ri.otf"(lo
ad luc: C:/Users/Guenter/AppData/Local/MiKTeX/2.9/luatex-cache/generic/fonts/otf
/linlibertine-ri.luc)
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_r.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_r.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_rb.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_rb.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_ri.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_ri.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_rbi.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_rbi.otf"
.................................................
. fontspec info: "defining-font"
.
. Font family 'LinuxLibertineO(0)' created for font 'Linux Libertine O' with
. options [Ligatures=TeX].
.
. This font family consists of the following shapes:
.
. * 'normal' with NFSS spec.:
. <->"LinuxLibertineO:mode=node;script=latn;language=DFL T;+tlig;+trep;"
.
. * 'small caps' with NFSS spec.:
. <->"LinuxLibertineO:mode=node;script=latn;language=DFL T;+tlig;+trep;+smcp;"
. and font adjustment code:
.
.
. * 'bold' with NFSS spec.:
. <->"LinuxLibertineO/B:mode=node;script=latn;language=DFLT;+tlig;+trep;"
.
. * 'bold small caps' with NFSS spec.:
.
. <->"LinuxLibertineO/B:mode=node;script=latn;language=DFLT;+tlig;+trep; +smcp;"
. and font adjustment code:
.
.
. * 'italic' with NFSS spec.:
. <->"LinuxLibertineO/I:mode=node;script=latn;language=DFLT;+tlig;+trep;"
.
. * 'small caps' with NFSS spec.:
.
. <->"LinuxLibertineO/I:mode=node;script=latn;language=DFLT;+tlig;+trep; +smcp;"
. and font adjustment code:
.
.
. * 'bold italic' with NFSS spec.:
. <->"LinuxLibertineO/BI:mode=node;script=latn;language=DFLT;+tlig;+trep ;"
.
. * 'bold small caps' with NFSS spec.:
.
. <->"LinuxLibertineO/BI:mode=node;script=latn;language=DFLT;+tlig;+trep ;+smcp;"

. and font adjustment code:
.
.................................................
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_r.otf"
(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/lualatex/lualatex-math/lualate
x-math.sty
Package: lualatex-math 2014/08/18 v1.4 Patches for mathematics typesetting with
LuaLaTeX

(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2015/03/19 v2.1d e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count290
)
(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/filehook/filehook.sty
Package: filehook 2011/10/12 v0.5d Hooks for input files
)
(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/lualatex/lualatex-math/lualatex
-math.lua)
Lua module: lualatex-math 2013/08/03 1.3 Patches for mathematics typesetting wit
h LuaLaTeX
.................................................
. lualatex-math info: "patch-macro"
.
. I'm going to patch macro \new@mathgroup.
.................................................
) ("C:/Program Files/MiKTeX 2.9/tex/latex/babel/babel.sty"
Package: babel 2014/09/25 3.9l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:/Program Files/MiKTeX 2.9/tex/latex/00miktex/bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/babel-german/ngerman.ldf
Language: ngerman 2013/12/13 v2.7 German support for babel (new orthography)

(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/babel-german/ngermanb.ld
f
Language: ngermanb 2013/12/13 v2.7 German support for babel (new orthography)
("C:/Program Files/MiKTeX 2.9/tex/latex/babel/babel.def"
File: babel.def 2014/09/25 3.9l Babel common definitions
\babel@savecnt=\count291
\U@D=\dimen261

("C:/Program Files/MiKTeX 2.9/tex/latex/babel/luababel.def"
(C:/Program Files/MiKTeX 2.9/tex/luatex/hyph-utf8/luatex-hyphen.lua)
luatex-hyphen: using data file: C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/
generic/config/language.dat.lua))
\l@naustrian = a dialect from \language\l@ngerman
\l@nswissgerman = a dialect from \language\l@ngerman
Package babel Info: Making " an active character on input line 88.
luatex-hyphen: loading patterns and exceptions for: ngerman (\language43))))
(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/enumitem/enumitem.sty
Package: enumitem 2011/09/28 v3.5.2 Customized lists
\labelindent=\skip256
\enit@outerparindent=\dimen262
\enit@toks=\toks18
\enit@inbox=\box256
\enitdp@description=\count292
)
("C:/Program Files/MiKTeX 2.9/tex/latex/amscls/amsthm.sty"
Package: amsthm 2015/03/04 v2.20.2
\thm@style=\toks19
\thm@bodyfont=\toks20
\thm@headfont=\toks21
\thm@notefont=\toks22
\thm@headpunct=\toks23
\thm@preskip=\skip257
\thm@postskip=\skip258
\thm@headsep=\skip259
\dth@everypar=\toks24
)
\c@aufgnr=\count293
.................................................
. lualatex-math info: "patch-macro"
.
. I'm going to patch macro \frac.
.................................................
(./Testmiktex.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for EU2/lmr/m/n on input line 20.
LaTeX Font Info: ... okay on input line 20.
LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 20.
LaTeX Font Info: Try loading font information for T3+cmr on input line 20.

(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info: ... okay on input line 20.

(C:/Users/Guenter/AppData/Roaming/MiKTeX/2.9/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count294
\scratchdimen=\dimen263
\scratchbox=\box257
\nofMPsegments=\count295
\nofMParguments=\count296
\everyMPshowfont=\toks25
\MPscratchCnt=\count297
\MPscratchDim=\dimen264
\MPnumerator=\count298
\makeMPintoPDFobject=\count299
\everyMPtoPDFconversion=\toks26
)
.................................................
. fontspec info: "setup-math"
.
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 20.
LaTeX Font Info: Redeclaring math accent \acute on input line 20.
LaTeX Font Info: Redeclaring math accent \grave on input line 20.
LaTeX Font Info: Redeclaring math accent \ddot on input line 20.
LaTeX Font Info: Redeclaring math accent \tilde on input line 20.
LaTeX Font Info: Redeclaring math accent \bar on input line 20.
LaTeX Font Info: Redeclaring math accent \breve on input line 20.
LaTeX Font Info: Redeclaring math accent \check on input line 20.
LaTeX Font Info: Redeclaring math accent \hat on input line 20.
LaTeX Font Info: Redeclaring math accent \dot on input line 20.
LaTeX Font Info: Redeclaring math accent \mathring on input line 20.
LaTeX Font Info: Redeclaring math symbol \colon on input line 20.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 20.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 20.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 20.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 20.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 20.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 20.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 20.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 20.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 20.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 20.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 20.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 20.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 20.
LaTeX Font Info: Encoding `OT1' has changed to `EU2' for symbol font
(Font) `operators' in the math version `normal' on input line 20.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU2/LinuxLibertineO(0)/m/n on input line
20.
LaTeX Font Info: Encoding `OT1' has changed to `EU2' for symbol font
(Font) `operators' in the math version `bold' on input line 20.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU2/LinuxLibertineO(0)/m/n on input lin
e 20.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU2/LinuxLibertineO(0)/m/n --> EU2/LinuxLibertineO(0)/m/
n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> EU2/LinuxLibertineO(0)/m/it on input li
ne 20.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> EU2/LinuxLibertineO(0)/bx/n on input li
ne 20.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> EU2/lmss/m/n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> EU2/lmtt/m/n on input line 20.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU2/LinuxLibertineO(0)/m/n --> EU2/LinuxLibertineO(0)/bx
/n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> EU2/LinuxLibertineO(0)/bx/it on input
line 20.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> EU2/lmss/bx/n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> EU2/lmtt/bx/n on input line 20.
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_ri.otf"
luaotfload | load : Lookup/name: "LinuxLibertineO" -> "linlibertine_rb.otf"
! Undefined control sequence.
\trivlist -\let \enit@type
\tw@ \parsep \parskip \csname @list\romannumeral...
l.22 {\Kl{1} Text 2}

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 22.
<inserted text>
\fi
<*> Testmiktex.tex

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.

! Emergency stop.
<*> Testmiktex.tex

*** (job aborted, no legal \end found)



Here is how much of LuaTeX's memory you used:
15584 strings out of 494730
125171,383344 words of node,token memory allocated 479 words of node memory still in use:
nodes
avail lists: 1:1,2:4,4:1,6:1,7:1,9:1
18955 multiletter control sequences out of 65536+200000
27 fonts using 3748679 bytes
55i,0n,59p,1198b,191s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!

u_fischer
29-04-2015, 15:22
Ich schick daher nur den 2. Teil.

Ich habe jetzt keine Lust mehr nachzufragen. Wenn ich mir das anschauen soll, dann schicke mir die Dateien (alle, inklusiver vollständiger log-Datei + den sonstigen externen Dateien) per Mail und bezahle mich nach meinen üblichen Konditionen.

Es sieht mir übrigens nach einem fehlerhaften \if aus. Solche Fehler sind oft ziemlich schwer debuggen. Daher ist jedes Paket, das nicht geladen wird, ein Gewinn.

G.Hanisch
30-04-2015, 10:05
Danke für eure Hilfe. Der Hinweis, dass sich der Fehler bei euch nicht zeigt, hat mich dazu gebracht miktex frisch zu instalieren, und jetzt läuft es wieder.

Nochmals herzlichen Dank