Hallo!
Das ist jetzt schon das zweite Mal, dass ich ein Minimalbeispiel hier aus dem Forum (jetzt dieses: http://www.mrunix.de/forums/showpost.php?p=323779&postcount=1) ausprobieren will und dann kommt:
test.tex...
test.tex(1): Ошибка: ! LaTeX Error: File `ltxcmds.sty' not found.
test.tex(102): Ошибка: ! Emergency stop.
Ich kann dieses Style-file auch von Hand im Miktex Package Manager auf der Dante-Ressource nicht finden, sehe aber auch gar nicht, wo es aufgerufen wird. Was ist der Fehler? Ist mein Miktex zu alt?
u_fischer
18-11-2010, 10:51
ltxcmds ist teil des oberdiek-Paketes. Und wenn er es aufruft, sollte man eigentlich in der log-Datei sehen können.
Jetzt habe ich das Oberdiek-Paket komplett deinstalliert (wobei Miktex sich auch über die fehlende Datei beschwert hat) und neu installiert.
Danach habe ich noch mal probiert, das MB durchlaufen zu lassen, und es kam mehrfach hintereinander die Fehlermeldung:
undefined control sequence \begin{document}.
Dasselbe passiert auch, wenn ich das Beispiel reduziere auf
\documentclass{moderncv}
\begin{document}
aa
\end{document}
Ich dachte, nun wäre mein Miktex ganz kaputt, und jetzt habe ich es zu Hause unter texlive ausprobiert und es passiert genau dasselbe!
So sieht das logfile aus:
*****
***** PDFLaTeX Ausgabe:
***** cd "/home/ruth/Dokumente"
***** pdflatex -interaction=nonstopmode 'test.tex'
*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE)
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/share/texmf/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2008/06/17 v0.7 modern curriculum vitae document class
(/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/latexconfig/color.cfg)
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/marvosym/marvosym.sty)
(/usr/share/texmf/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf/tex/generic/oberdiek/atbegshi.sty)
Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref) because \thepage is undefined.
)
*hyperref using driver hpdftex*
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/latexconfig/graphics.cfg)))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texmf/tex/latex/moderncv/moderncvcompatibility.sty)
(/usr/share/texmf/tex/latex/base/omscmr.fd))
(/usr/share/texmf/tex/latex/lm/lmodern.sty) (./test.aux
! Package babel Error: You haven't loaded the option ngerman yet.
See the babel package documentation for explanation.
Type H <return> for immediate help.
...
l.15 \select@language{ngerman}
) (/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty
(/usr/share/texmf/tex/latex/oberdiek/refcount.sty)) (./test.out) (./test.out)
(/usr/share/texmf/tex/latex/moderncv/moderncvthemecasual.sty
(/usr/share/texmf/tex/latex/lm/t1lmss.fd))
! Undefined control sequence.
<argument> \@firstname
~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname
~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname
~\@familyname {} curriculum vit\ae {}
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
{} curriculum vit\ae {}
l.2 \begin{document}
(/usr/share/texmf/tex/latex/lm/ot1lmr.fd)
(/usr/share/texmf/tex/latex/lm/omllmm.fd)
(/usr/share/texmf/tex/latex/lm/omslmsy.fd)
(/usr/share/texmf/tex/latex/lm/omxlmex.fd) [1{/var/lib/texmf/fonts/map/pdftex/u
pdmap/pdftex.map}] (./test.aux)
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)
(see the transcript file for additional information)pdfTeX warning (dest): name
{section*.1} has been referenced but does not exist, replaced by a fixed one
{/usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/pu
blic/lm/lmss10.pfb>
Output written on test.pdf (1 page, 12668 bytes).
Transcript written on test.log.
*****
***** PDFLaTeX Ausgabe:
***** cd "/home/ruth/Dokumente"
***** pdflatex -interaction=nonstopmode 'test.tex'
*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/openSUSE)
entering extended mode
(./test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/share/texmf/tex/latex/moderncv/moderncv.cls
Document Class: moderncv 2008/06/17 v0.7 modern curriculum vitae document class
(/usr/share/texmf/tex/latex/base/size11.clo)
(/usr/share/texmf/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/latexconfig/color.cfg)
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/marvosym/marvosym.sty)
(/usr/share/texmf/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf/tex/generic/oberdiek/ltxcmds.sty))))
(/usr/share/texmf/tex/generic/oberdiek/atbegshi.sty)
Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref) because \thepage is undefined.
)
*hyperref using driver hpdftex*
(/usr/share/texmf/tex/latex/hyperref/hpdftex.def)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/latexconfig/graphics.cfg)))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texmf/tex/latex/moderncv/moderncvcompatibility.sty)
(/usr/share/texmf/tex/latex/base/omscmr.fd))
(/usr/share/texmf/tex/latex/lm/lmodern.sty) (./test.aux)
(/usr/share/texmf/tex/latex/lm/t1lmr.fd)
(/usr/share/texmf/tex/latex/hyperref/nameref.sty
(/usr/share/texmf/tex/latex/oberdiek/refcount.sty)) (./test.out) (./test.out)
(/usr/share/texmf/tex/latex/moderncv/moderncvthemecasual.sty
(/usr/share/texmf/tex/latex/lm/t1lmss.fd))
! Undefined control sequence.
<argument> \@firstname
~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname
~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname
~\@familyname {} curriculum vit\ae {}
l.2 \begin{document}
! Undefined control sequence.
<argument> \@firstname ~\@familyname
{} curriculum vit\ae {}
l.2 \begin{document}
(/usr/share/texmf/tex/latex/lm/ot1lmr.fd)
(/usr/share/texmf/tex/latex/lm/omllmm.fd)
(/usr/share/texmf/tex/latex/lm/omslmsy.fd)
(/usr/share/texmf/tex/latex/lm/omxlmex.fd) [1{/var/lib/texmf/fonts/map/pdftex/u
pdmap/pdftex.map}] (./test.aux) )
(see the transcript file for additional information){/usr/share/texmf/fonts/enc
/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/public/lm/lmss10.pfb> Output written on test.pdf (1 page, 12282 bytes). Transcript written on test.log.
OK, Entwarnung, wenn ich \firstname und \familyname definiere, kommt kein Fehler.
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.