0

What is the problem with this code? I am working on Mac OS X.

\documentclass[a4paper,16pts,notitlepage]{report}
\usepackage{amsfonts} 
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage[applemac]{inputenc} % pour les accents
\title{Rapport d'avancement} 
\author{XYZ} 
\begin{document}
\maketitle
\begin{center}
  blalalal
\end{center}
\thispagestyle{empty}

\newpage
\section{État de l'art}
\section{Description du système}
\section{Algorithme}
\section{Résultats}
\section{Analyses et discussions}
\section{Conclusions et perspectives}
\end{document}
2

Option applemac is the source of the problem. It seems (compiled on PC) that we can omit it. If not, follow the expalanation from the help message on error about options clash.

  \documentclass[a4paper, 16pts,notitlepage]{report}
 \usepackage{amsfonts} 
 %\usepackage{amsfonts} %double! -- PS
 \usepackage{graphicx}
 \usepackage[utf8]{inputenc}
  \usepackage{amssymb}
%  \usepackage[applemac]{inputenc} % pour les accents %% without seems to work --PS
  \title{Rapport d'avancement} 
   \author{XYZ} 
  \begin{document}

  \maketitle
  \begin{center}
    blalalal
    \end{center}
    \thispagestyle{empty}

%\newpage % commented only to have all on one page
      \section{État de l'art}
      \section{Description du système}
       \section{Algorithme}
       \section{Résultats}
       \section{Analyses et discussions}
       \section{Conclusions et perspectives}

        \end{document}

enter image description here

|improve this answer|||||
  • No, it is not the source of the error. When I omit it I obtain any thing. For exeample : État de l'art =ÃL’tat de l’art. – BetterEnglish Nov 26 '13 at 4:33
  • @phdstudent Can you then remove ` \usepackage[utf8]{inputenc}` or give both options in one square bracket? – Przemysław Scherwentke Nov 26 '13 at 4:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.