GeneralMaking 2 Tables of contents

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
FrenchyEconomist
Posts: 1
Joined: Fri May 06, 2011 12:30 am

Making 2 Tables of contents

Post by FrenchyEconomist »

Hi, i want to generate two TOC, one with

Code: Select all

\setcounter{tocdepth}{2}\tableofcontents
at the begining of the document and another at the end of document with

Code: Select all

\setcounter{tocdepth}{3}\tableofcontents
But the second one is empty!

How can i fix that ?

My tex looks like:

Code: Select all

\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{amssymb,amsmath}
\usepackage{aer}

\begin{document}
....
\maketitle
\thispagestyle{empty}
\newpage{}
\thispagestyle{empty}
\setcounter{tocdepth}{2}\tableofcontents
...
\setcounter{tocdepth}{3}\tableofcontents
\end{document}
Last edited by Stefan Kottwitz on Fri May 06, 2011 11:02 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: Making 2 Tables of contents

Post by kaiserkarl13 »

Have you tried the shorttoc package?
Post Reply