General ⇒ Exporting JUST the table of content to PDF
Exporting JUST the table of content to PDF
I want to export a single page, in that case the table of content, of a document to a PDF file. I use PDFLaTeX. The answer in that similar case is not suitable for me because I am not working with Lyx, I do use Kile.
I'm sorry if this topic is not postet in the right subject area, I couldn't find a section for "pdfLaTeX", please move the topic to the right place, if necessary.
Thanks for your help!
--------------------------------------------------
EDIT: I solved the problem using the command "pdfseparate -f FIRSTPAGENUMBERHERE -l LASTPAGENUMBERHERE /documentdirectory/my-report.pdf /documentdirectory/my-report-toc.pdf", but that "solution" has nothing to do with LaTeX, you can just use it when running a Linux OS. So if there is a way using LaTeX code to extract just a number of chosen pages it would be great if somebody could share the solution!
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
-
- Posts: 707
- Joined: Tue Mar 25, 2008 5:02 pm
Exporting JUST the table of content to PDF
Code: Select all
\documentclass{report}
\begin{document}
\input{filename.toc}
\end{document}