LyXUntouched Template won't work

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
fin-fin
Posts: 4
Joined: Wed May 26, 2010 11:58 am

Untouched Template won't work

Post by fin-fin »

I want to write my CV with Lyx, so I got this template http://latex.tugraz.at/_media/vorlagen/ ... smappe.zip. When I tried to show the untouched template as a pdf, I got some errors I'm not able to fix:

Code: Select all

Paragraph ended before /cventry was complete.

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.
I got this one three times, one for every cventry there is in the template.
I can't see the Problem why it won't work, although I didn change anything. It is an template and works on most other computers ?!
Here is the template in Text, if someone is willing to have a look at it.

Code: Select all

% Quellcode vorschauen

%% LyX 1.6.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,a4paper,german]{moderncv}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\special{papersize=\the\paperwidth,\the\paperheight}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
%% 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>



\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
% replace by the encoding you are using

% adjust the page margins
\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
%----------------------------------------------------------------------------------


\makeatother

\usepackage{babel}

\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*{Bewerbungs}{unterlagen}


\vspace*{50mm}

%
\begin{minipage}[c]{1\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}[c]{70pt}%
 %
\end{minipage}

\vfill{}


%
\begin{minipage}[c]{1\textwidth}%
 


\section{Inhalt}

\tableofcontents{}%
\end{minipage}

\newpage{} \pagestyle{fancy} \chapter{Curriculum}{~Vitæ} \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{}\textit{\scriptsize Europäische
Kompetenzstufe}\textit{}}


\section{IT Kompetenzen}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


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


\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:}

\global\long\def\{}
 \nocite{*} \bibliographystyle{cv} \bibliographystyle{cv}
\bibliography{publications}
 % 'publications' is the name of a BibTeX file


\newpage{} \chapter{Bachelor}{zeugnis} 


\vspace*{1cm}

% \fbox{\includegraphics[height=0.85\textheight]{Bakk-Zeugnis}}	


\newpage{} \chapter{Matura}{zeugnis} 


\vspace*{1cm}

% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis}}	



\vspace*{1cm}

% \fbox{\includegraphics[height=0.85\textheight]{Maturazeugnis-2}}	


\newpage{} \chapter{Abschluss}{zeugnis} 


\vspace*{1cm}

% \fbox{\includegraphics[height=0.85\textheight]{Abschlusszeugnis}}	

\end{document}



THX a lot!!!

Fin-Fin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

fin-fin
Posts: 4
Joined: Wed May 26, 2010 11:58 am

Untouched Template won't work

Post by fin-fin »

It's a known bug or something. Here is the workaround: http://wiki.lyx.org/Examples/ModernCVClassIssues

Although it should already have been solved
Post Reply