I'm new to the world of LaTeX and I'm having trouble to generate a PDF file from a source mainly written in French with bits in Amharic. The problem occurs only when I try to generate a ToC, using
\tableofcontents
, with the rest of the document. In other words, without the table of content I have a PDF file that looks like as it has been set up but when adding the ToC I simply cannot generate the document in PDF.Here are the packages used for this document regarding the languages.
Code: Select all
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{ethiop}
\selectlanguage{french}
put before \maketitle
. When I need to write in Amharic I type \selectlanguage{ethiop}
.And here is how I do when writing in Amharic with a short example: typing
tAhesAse
in the source code, I obtain "ታህሳስ" in the PDF file.The error messages I have contain a lot of "! Missing $ inserted." or "! Missing } inserted". And in case it is relevant, when generating a PDF without the ToC, even if it works, I have the following error.
Code: Select all
Package frenchb.ldf Warning: The definition of \@makecaption has been changed,
I will appreciate any ideas that can bring some light on that table of content problem. And if, by any chance, you know a way of writing Amharic symbols (in source code) that can be recognized as such, I will also take it gladly.
Thank you
PS: I got the information on how writing Amharic from ethiop.