Document Classesmoderncv | Incomprehensible Error

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Lateef
Posts: 1
Joined: Mon Jun 18, 2012 7:40 pm

moderncv | Incomprehensible Error

Post by Lateef »

I need help please, I have an error in compilation of my document, it display me the error

Code: Select all

./CV-latex-français.tex:24: Paragraph ended before \@firstoftwo was complete.

 <to be read again> 
                   \par 
l.24 
     
?  }.
<inserted text> 
                \par 
l.24 
     
? 
The code of my document is:

Code: Select all

\documentclass[a4paper,11pt]{moderncv}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[francais]{babel}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{hyperref}
\usepackage[margin=1cm]{geometry}
\moderncvtheme{classic}
\firstname{A}
\familyname{TA}
\title{Etudiant}
\address{17 Fen}{ 000 \\c }
\mobile{0554 02 93}
\phone{000 30 45}
\email{tb.abdtif@hotmail.fr}
\extrainfo{Célibataire \\ Citoyen}
\photo[3.2cm]{../Desktop/hshs.jpg}

\begin{document}

\maketitle

\section{FORMATION}
\cventry{2009-2012}{Préparation de diplôme d'ingénieur d'état en électronique}{Ecole Nationale Polytechnique}{El Harrach - Alger}{Actuellement en cinquième année}{}
\cventry{2012}{Formation Ingénieur Entreprendre (FIE)}{Ecole Nationale Polytechnique}{El Harrach - Alger}{en partenariat avec l'INSA de Lyon}{}
\cventry{2007-2009}{Sciences fondamentales}{Ecole Nationale Polytechnique}{El Harrach - Alger}{}{}
\cventry{2007}{Baccalauréat « sciences-exactes » Mention Bien}{Lycée AHMED IBNOU ZEKRI }{Tlemcen}{}{}

\section{LANGUES}
\cvlanguage{Arabe}{courant}{langue maternelle}
\cvlanguage{Anglais}{Bon}{}
\cvlanguage{Français}{Excellent}{}

\section{EXPÉRIENCE PROFESSIONNELLE}
\cventry{2011- 2012}{Membre}{de l'Association Internationale des Étudiants en Sciences Économiques et Commerciales (AIESEC)}{Alger}{} {}
\cventry{2011}{Stagiaire}{à Kelek-DZ « Contrôle et gestion des réseaux GSM de Nokia Siemens Networks »}{Tlemcen}{} {}
\cventry{2012}{Stagiaire}{à Algérie Telecom « Contrôle et gestion du réseau internet »}{Tlemcen}{} {}

\section{INFORMATIQUE}
\cvcomputer{Systèmes}{Windows XP, Windows Seven, Linux, Mac OSX}{Langages Informatiques}{C, C++, Simulateur de Motorola 68000, VHDL}
\cvcomputer{Outils}{Matlab, Cisco Packet Tracer, \LaTeX{}}{}{}

\section{ACTIVITÉS PARASCOLAIRES}
\cventry{2010}{Participant}{au concours « le concours du jeune innovateur », organisé par l'Ecole Nationale Polytechnique}{Alger}{}{{\large « Le suivi du mouvement par vidéo »}}

\section{LOISIRS ET AUTRES INFORMATIONS}
\cvcomputer{Sport}{Football, natation, cyclisme}{Hobbies}{Lectures,musique, films}
\cvcomputer{Permis de conduire }{Catégorie B}{}{}
 \end{document}

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

moderncv | Incomprehensible Error

Post by localghost »

Please always provide a minimal example that is compilable as provided, thus does not use external files others don't have present.

Could be an issue with an outdated class file. After commenting the related parts of your code I got a different error about an option clash for the hyperref package. Since the moderncv class loads this package by default, you have to drop it in the preamble.

If the problem persists (or another occurs) feel free to ask further targeted questions.


Best regards and welcome to the board
Thorsten
Post Reply