General ⇒ Two table of contents
Two table of contents
The document, and the first table of content are not in english, but the 2nd one is going to be in english.
What I have tried is something like this:
\makeatletter
\newcounter {epart}
\newcounter {echapter}
\newcounter {esection}[echapter]
\newcounter {esubsection}[esection]
\newcounter {esubsubsection}[esubsection]
\renewcommand\theepart{\@Roman\c@epart}
\renewcommand\theechapter{\@arabic\c@echapter}
\renewcommand\theesection{\theechapter.\@arabic\c@esection}
\renewcommand\theesubsection{\theechapter.\theesection.\@arabic\c@esubsection}
\renewcommand\theesubsubsection{\theechapter.\theesubsection.\@arabic\c@esubsubsection}
\newcommand*{\etocname}{Table of Contents}
\makeatother
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\begin{document}
\tableofcontents
\newpage
\etoc
\chapter{Non english}
\echapter{English}
Blah, blah, ... the chapter.
\end{document}
I'm afraid it isn't a minimun working example because it doesn't work.
I do not need to create a new chapter, but just having a reference to create the other table of contents.
Thank you for any help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis