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

1 Answer 1

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

2
  • 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. Nov 26, 2013 at 4:33
  • @phdstudent Can you then remove ` \usepackage[utf8]{inputenc}` or give both options in one square bracket? Nov 26, 2013 at 4:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .