I need to create two table of contents. Doing one the normal way is easy, but the second one...
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.
General ⇒ Two table of contents
NEW: TikZ book now 40% off at Amazon.com for a short time.
