ModernCV-Additions - Undefined Control Sequence

Fragen und Probleme, die nicht den obigen Kategorien zugeordnet werden können


akrapovic
Forum-Anfänger
Forum-Anfänger
Beiträge: 25
Registriert: Mi 3. Okt 2012, 21:09

ModernCV-Additions - Undefined Control Sequence

Beitrag von akrapovic »

Hallo,
ich habe mir die Bewerbungsmappe von der TU Graz angeschaut:
http://latex.tugraz.at/vorlagen/allgemein

Als ich damit arbeiten wollte und den Code erstmal mittels Texmaker kompilieren wollte bekam ich nur "Undefined Control Sequence Errors"
! Undefined control sequence.
\chapterStar ...ill {\raggedleft {\firstnamestyle
{#1}\familynamestyle {#2}}...
l.62 \vspace
*{50mm}
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.
\chapterStar ...rstnamestyle {#1}\familynamestyle
{#2}}\\[-.35em]}{\color {f...
l.62 \vspace
*{50mm}
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 \@vspace has an extra }.
<inserted text>
\par
l.62 \vspace
*{50mm}
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 \@vspace was complete.
<to be read again>
\par
l.62 \vspace
*{50mm}
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.
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.62 \vspace
*{50mm}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
! Undefined control sequence.
l.65 \familynamestyle
{\@firstname}~~\firstnamestyle{\@familyname}
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.
l.65 ...ilynamestyle{\@firstname}~~\firstnamestyle
{\@familyname}
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.
<picture.jpg, id=30, 96.36pt x 96.36pt>
File: picture.jpg Graphic file (type jpg)
<use picture.jpg>
Package pdftex.def Info: picture.jpg used on input line 66.
(pdftex.def) Requested size: 64.0pt x 63.99918pt.
(c:/texlive/2012/texmf-dist/tex/latex/microtype/mt-mvs.cfg
File: mt-mvs.cfg 2006/07/05 v1.1 microtype config. file: Marvosym Euro (RS)
)
LaTeX Font Info: Try loading font information for OT1+lmr on input line 68.
(c:/texlive/2012/texmf-dist/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OML+lmm on input line 68.
(c:/texlive/2012/texmf-dist/tex/latex/lm/omllmm.fd
File: omllmm.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMS+lmsy on input line 68.
(c:/texlive/2012/texmf-dist/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMX+lmex on input line 68.
(c:/texlive/2012/texmf-dist/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10.95> on input line 68.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <8> on input line 68.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <6> on input line 68.
Overfull \hbox (34.77156pt too wide) in paragraph at lines 62--72
[]\T1/lmr/m/n/10.95 (-20) *50mm $[]$
[]
(./cv_german.toc)
\tf@toc=\write4
\openout4 = `cv_german.toc'.
Underfull \hbox (badness 10000) in paragraph at lines 76--78
[]
[1
{c:/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map} <./picture.jpg>]
! Undefined control sequence.
\chapterStar ...ill {\raggedleft {\firstnamestyle
{#1}\familynamestyle {#2}}...
l.82 \chapter{Curriculum}{~Vit\ae}
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.
\chapterStar ...rstnamestyle {#1}\familynamestyle
{#2}}\\[-.35em]}{\color {f...
l.82 \chapter{Curriculum}{~Vit\ae}
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.
Overfull \hbox (1.855pt too wide) in paragraph at lines 92--92
[][]\T1/lmr/m/n/10.95 (-20) Staatsb�rgerschaft[]|
[]
[2]
Package hyperref Warning: Difference (2) between bookmark levels is greater
(hyperref) than one, level fixed on input line 144.
(./cv_german.bbl (./babelbst.tex)) [3]
! Undefined control sequence.
\chapterStar ...ill {\raggedleft {\firstnamestyle
{#1}\familynamestyle {#2}}...
l.162 \chapter{Bachelor}{zeugnis}
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.
\chapterStar ...rstnamestyle {#1}\familynamestyle
{#2}}\\[-.35em]}{\color {f...
l.162 \chapter{Bachelor}{zeugnis}
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.
[4]
! Undefined control sequence.
\chapterStar ...ill {\raggedleft {\firstnamestyle
{#1}\familynamestyle {#2}}...
l.169 \chapter{Matura}{zeugnis}
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.
\chapterStar ...rstnamestyle {#1}\familynamestyle
{#2}}\\[-.35em]}{\color {f...
l.169 \chapter{Matura}{zeugnis}
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.
[5]
! Undefined control sequence.
\chapterStar ...ill {\raggedleft {\firstnamestyle
{#1}\familynamestyle {#2}}...
l.181 \chapter{Abschluss}{zeugnis}
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.
\chapterStar ...rstnamestyle {#1}\familynamestyle
{#2}}\\[-.35em]}{\color {f...
l.181 \chapter{Abschluss}{zeugnis}
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.
Woran könnte das liegen ? Fehlen dem Compiler irgendwelche Packete ??

Hier der Code, damit ihr es nachvollziehen könnt:
%% start of file `cv_german.tex', based on `template_en.tex` by Xavier Danaux (xdanaux@gmail.com).
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
% 
% Thomas Quaritsch <t.quaritsch@student.tugraz.at>

\documentclass[11pt,a4paper]{moderncv}

\usepackage[german]{babel}
\usepackage{moderncv-additions}

% moderncv themes
\moderncvtheme{casual}   % optional arguments are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
%\moderncvtheme[green]{classic}                % idem

% character encoding
\usepackage[utf8]{inputenc}                   % replace by the encoding you are using

% adjust the page margins
\usepackage[scale=0.8]{geometry}
\setlength{\hintscolumnwidth}{3cm}			  % if you want to change the width of the column with the dates
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}}  % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details

\AtBeginDocument{\recomputelengths}           % required when changes are made to page layout lengths

% personal data
\firstname{Max}
\familyname{Mustermann}
%\title{Resumé title (optional)}               % optional, remove the line if not wanted
\address{Musterstraße 08/15}{8010 Graz}        % optional, remove the line if not wanted
\mobile{+43 123 45 678 90}                     % optional, remove the line if not wanted
%\phone{phone (optional)}                      % optional, remove the line if not wanted
%\fax{fax (optional)}                          % optional, remove the line if not wanted
\email{max@mustermann.at}                      % optional, remove the line if not wanted
%\extrainfo{additional information (optional)} % optional, remove the line if not wanted
\photo[64pt]{picture}                          % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{``Das ist ein toller Frusterspruch\\ von Friede Frusterfrau.'' -- Friede Frusterfrau}                 % optional, remove the line if not wanted

%\nopagenumbers{}                             % uncomment to suppress automatic page numbering for CVs longer than one page

%----------------------------------------------------------------------------------
%            content
%----------------------------------------------------------------------------------
\show\section
\begin{document}

% color redefinitions must be after \begin{document}!
\definecolor{firstnamecolor}{RGB}{125,85,85}
\definecolor{familynamecolor}{RGB}{138,74,57}
\definecolor{quotecolor}{RGB}{125,85,85}
\definecolor{addresscolor}{RGB}{125,85,85}
\definecolor{sectionrectanglecolor}{RGB}{138,74,57}
\definecolor{sectiontitlecolor}{RGB}{138,74,57}
\definecolor{subsectioncolor}{RGB}{125,85,85}
\definecolor{footersymbolcolor}{RGB}{125,85,85}	

\makeatletter

\pagestyle{empty}
\chapter*{Bewerbungsunsterlagen}
\vspace*{50mm}
\begin{minipage}{\textwidth}
	\vspace*{3mm}
	\familynamestyle{\@firstname}~~\firstnamestyle{\@familyname} 	
	\hspace*{5mm}{{\color{firstnamecolor}\includegraphics[width=64pt]{picture}}}\\[3mm]
	\@addressstreet, \@addresscity ~~~ \mobilesymbol~\@mobile ~~~ \emailsymbol~\@email
\end{minipage}
\begin{minipage}{70pt}
	
\end{minipage}

\vfill

\begin{minipage}{1.0\textwidth}
	\section{Inhalt}
	\tableofcontents
\end{minipage}

\newpage
\pagestyle{fancy}
\chapter{Curriculum}{~Vit\ae}
\makequote

\section{Persönliche Daten}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cvline{Name}{\@firstname~\@familyname}
\cvline{Anschrift}{\@addressstreet, \@addresscity}
\cvline{Telefon}{\@mobile}
\cvline{E-Mail}{\@email}
\cvline{Geburtsdaten}{1. Januar 1970 in Musterstadt}
\cvline{Staatsbürgerschaft}{Österreichisch}
\cvline{Familienstand}{ledig}
\cvline{Präsenzdienst}{abgeleistet}
\cvline{Führerschein}{A,B,C,D,E,F,G}
\makeatother 

\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}  % arguments 3 to 6 are optional

\section{Ausbildung} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Bemerkung}  % arguments 3 to 6 are optional

\cventry{xx/xxxx -- xx/xxxx}{Akadem. Grad}{Institution}{Stadt}{\textit{Abschluss}}{Bemerkung} 

\section{Berufserfahrung} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cventry{xx/xxxx -- xx/xxxx}{Musterkaufmann}{Musterfirma}{Musterort}{}{Bemerkung}

\section{Sprachen} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cvline{Deutsch}{Muttersprache}{}
\cvline{Englisch}{Verstehen A1, Sprechen B2, Schreiben C3 \hfill {\scriptsize \itshape Europäische Kompetenzstufe}}

\section{IT Kompetenzen} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cvline{Musterkategorie}{Mustermethode 1 (z.B. mit Musterprogramm 2), Mustermethode 2 (z.B. mit Musterprogramm 4)}

\newpage

\section{Auszeichnungen} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cvline{xx/xxxx}{Musterpreis}


\section{Außeruniversitäre Tätigkeiten} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Interessen}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\cvline{....}{....}

\section{Publikationen} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\subsection{Konferenzen und Workshops}

\cvline{mm/jjjj}{Autor 1 und Autor 2. \textbf{Mustertitel: Unser tolles Paper.} In \textit{Proceedings of the First Muster Workshop 1970}, Musterstadt, Musterland, YYYY.}

% \newpage

\subsection{Technical Reports}

\cvline{....}{....}

\cvline{....}{alternativ kann man auch BibTex verwenden:}

\renewcommand*{\refname}{Abschlussarbeiten}
\nocite{*}
\bibliographystyle{cv}
\bibliography{publications}       % 'publications' is the name of a BibTeX file

\newpage
\chapter{Bachelor}{zeugnis}
\vspace*{1cm}
\begin{center}
	% \fbox{\includegraphics[height=0.85\textheight]{Bakk-Zeugnis}}	
\end{center}

\newpage
\chapter{Matura}{zeugnis}
\vspace*{1cm}
\begin{center}
	% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis}}	
\end{center}

\vspace*{1cm}
\begin{center}
	% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis-2}}	
\end{center}

\newpage
\chapter{Abschluss}{zeugnis}
\vspace*{1cm}
\begin{center}
	% \fbox{\includegraphics[height=0.85\textheight]{Abschlusszeugnis}}	
\end{center}

\end{document}

% end of file `cv_german.tex'
Gruß akrapovic

akrapovic
Forum-Anfänger
Forum-Anfänger
Beiträge: 25
Registriert: Mi 3. Okt 2012, 21:09

Beitrag von akrapovic »

Hat niemand eine Idee ? :?

nixversteh
Forum-Meister
Forum-Meister
Beiträge: 561
Registriert: Di 10. Aug 2010, 09:47
Wohnort: Wrestedt

....

Beitrag von nixversteh »

akrapovic hat geschrieben:Hat niemand eine Idee ? :?
Hallo akrapovic,

ich habe versucht, deine Probleme zu lösen, hatte ich schonmal vor einiger Zeit im mrunix-Forum gemacht. Leider sind seitdem viele Änderungen durchgeführt worden, sodass NICHTS vernünftig klappt.

Man muss sich die .sty-Dateien des moderncv-Templates grundsätzlich irgenwo sichern, um später ein lauffähiges Template zu haben.

Leider haben sich seit meiner Änderungen drei Festplatten in suizidaler Absicht verabschiedet ... mit ihnen meine Backups.

Ich hoffe, du findest einen anderen Weg, zum Beispiel ohne Inhaltesverzeichnis ...

Viel Erfolg.

Gruß

Martin

PS.: Da habe ich eine Vorlage, nach dem alten System
Absence of evidence is not evidence of absence

Gast

Beitrag von Gast »

Woran könnte das liegen ? Fehlen dem Compiler irgendwelche Packete ??
Die Vorlage ist veraltet. Sie passt nicht zur aktuellen Version von moderncv.

Ulrike Fischer
www.troubleshooting-tex.de

akrapovic
Forum-Anfänger
Forum-Anfänger
Beiträge: 25
Registriert: Mi 3. Okt 2012, 21:09

Beitrag von akrapovic »

Uff....

Das sind ja mal schlechte Neuigkeiten :?

Ich bräuchte unbedingt eine Vorlage für meine Bewerbungsmappe, kennt jemand noch eine gute Quelle ?

Antworten