
Hola, estoy intentando configurar mi cv con la moderncv
clase. Cuando simplemente intento compilar el código con la \moderncvstyle{oldstyle}
opción, el código funciona pero \moderncvstyle{casual}
se rompe y aparecen muchos errores.
Estoy ejecutando pdftex version 3.14159265-2.6-1.40.20
manjaro linux. La moderncv
clase es version 2.0.0
.
¿Cómo hago para que esto funcione con la casual
opción?
Aquí un MWE:
\documentclass[11pt,a4paper,sans]{moderncv}
%\moderncvstyle{oldstyle}
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[scale=0.75]{geometry}
\name{Hans}{im Glück}
\title{M.Sc.}
\address{Glücksstr. 13}{55444 Glücksdorf}{Deutschland \medskip}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
\phone[mobile]{+49~(176)~111~2222} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
\phone[fixed]{+49~(765)~1234~5678}
%\phone[fax]{+3~(456)~789~012}
\email{[email protected]} % optional, remove / comment the line if not wanted
\photo[4,0cm][0.2pt]{bewerbungsbild.png}
%----------------------------------------------------------------------------------
% content
%----------------------------------------------------------------------------------
\begin{document}
% #################################
% Lebenslauf......................
\makecvtitle
\section{Ausbildung}
% arguments 3 to 6 can be left empty
\cventry{10/04--05/05}{Master}{Karl Tux Institut für Technologie}{}{\textit{Note: 1,1}}{Pinguinkunde, Hauptfächer Prokrastination und Bummelei I, Celebrare maximus und systematische Zeitverschwendung.}
\end{document}
El error que obtuve:
! Missing number, treated as zero.
<to be read again>
}
l.32 \section{Ausbildung}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Illegal unit of measure (pt inserted).
<to be read again>
}
l.32 \section{Ausbildung}
Dimensions can be in units of em, ex, in, pt, pc,
cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
I'll assume that you meant to say pt, for printer's points.
To recover gracefully from this error, it's best to
delete the erroneous units; e.g., type `2' to delete
two letters. (See Chapter 27 of The TeXbook.)
.........
Gracias por tu rápida respuesta. Si intento compilar su MWE corregido, sigo recibiendo la misma cantidad de errores. Probablemente no señalé lo suficiente que tenía más errores que los dos mencionados en mi primera publicación, pero el registro es demasiado largo para publicarlo aquí. Subí el archivo de registro completo enbuzón. Además de los errores, hay algunas advertencias como
LaTeX Warning: You have requested package `moderncvfooti',
but the package provides `moderncvfooti'.
...
LaTeX Warning: You have requested package `moderncvbodyi',
but the package provides `moderncvbodyi'.
...
LaTeX Warning: You have requested package `moderncvheadii',
but the package provides `moderncvheadii'.
....
LaTeX Font Warning: Font shape `U/fontawesometwo/m/sl' undefined
...
LaTeX Font Warning: Some font shapes were not available, defaults substituted