LyXmoderncv letter 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

moderncv letter won't work

Post by fin-fin »

Hi,
I'm doning my cv right now. i'm using moderncv for this. The cv did work after some small workaround, but I can get the letter working. Although I didn't touch anything the letter won't compile.
Lyx keeps telling me:

Code: Select all

Undefinded control sequence

 \urlstyle
              {tt}
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.

Code: Select all

LaTeX Error: Missing \begin{document}

 \urlstyle{t
                t}
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

Code: Select all

Package ucs Error: Unknown Unicode character 9993 = U+2709,

 ...o:max@mustermann.at}{max@mustermann.at} }}
                                                  %
Unicode character 9993 = U+2709:
ENVELOPE
Character available with following options:
   postscript.
Enter I!<RET> to define the glyph.
Any help anybody????


Here is the file:

Code: Select all

\usepackage{lmodern}\usepackage{marvosym}\usepackage{ifpdf}\@ifundefined{definecolor}
 {\usepackage{color}}{}
\ifpdf
  \else
  \fi




\addtolength{\parskip}{6pt}

\def\firstname{Max}
\def\familyname{Mustermann}
\def\FileAuthor{\firstname~\familyname}
\def\FileTitle{\firstname~\familyname's Bewerbungsschreiben}
\def\FileSubject{Bewerbungsschreiben}
\def\FileKeyWords{\firstname~\familyname, Bewerbungsschreiben}

\renewcommand{\ttdefault}{pcr}
\hyphenation{ins-be-son-de-re}
\urlstyle{tt}
\ifpdf
  \usepackage[pdftex,pdfborder=0,breaklinks,baseurl=http://,pdfpagemode=None,pdfstartview=XYZ,pdfstartpage=1]{hyperref}\hypersetup{
    pdfauthor   = \FileAuthor,%
    pdftitle    = \FileTitle,%
    pdfsubject  = \FileSubject,%
    pdfkeywords = \FileKeyWords,%
    pdfcreator  = \LaTeX,%
    pdfproducer = \LaTeX}
\else
  \usepackage[dvips]{hyperref}\fi

\definecolor{firstnamecolor}{RGB}{125,85,85}
\definecolor{familynamecolor}{RGB}{138,74,57}
\hypersetup{pdfborder=0 0 0}


% Quellcode für Absatz 0 vorschauen

\textsf{% for use with a résumé using sans serif fonts;
%\rmfamily  % for use with a résumé using serif fonts;
\hfill{}}%
\begin{minipage}[t]{0.6\textwidth}%
\textsf{ \raggedleft}\textsf{\textbf{{\color{firstnamecolor}\firstname}~{\color{familynamecolor}\familyname}}}\textsf{\\[.35ex]
}\textsf{\textit{\small Musterstraße 08/15}}\\
\textsf{\textit{\small{} 8010 Graz\\[.35ex] \Mobilefone~+43 123
45 789 90}}\\
\textsf{\textit{\small{} ✉~\href{mailto:max@mustermann.at}{max@mustermann.at} }}%
\end{minipage}\textsf{\\[0.5em] {\color{firstnamecolor}\rule{\textwidth}{.25ex}}
}%
\begin{minipage}[t]{0.4\textwidth}%
\textsf{ \raggedright% {\bfseries {\color{firstnamecolor}
 \vspace*{1em}
 Musterfirma\\[.35ex] % }}
 }\textsf{\small Hans-im-Glück-Gasse 47 Top 11}\\
\textsf{\small{} 8010 Graz }%
\end{minipage}\textsf{\hfill{}}%
\begin{minipage}[t]{0.4\textwidth}%
\textsf{ \raggedleft % US style
 \today %April 6, 2006 % US informal style
 %05/04/2006 % UK formal style
}%
\end{minipage}\textsf{\\[1em] \raggedright}


THX a lot!!!!

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: moderncv letter won't work

Post by frabjous »

That's not a complete file. It's just the preamble or something. Could you upload a complete one?
sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Re: moderncv letter won't work

Post by sitex »

Hello,

I downloaded the complete letter file, which typeset correctly using MiKTeX 2.8.
Post Reply