General ⇒ PDF contents (viewed in acrobat or Mac Preview) incorrect
PDF contents (viewed in acrobat or Mac Preview) incorrect
When I view the PDF in either TeXShop, Preview, or Acrobat Pro 9, the contents of the PDF are incorrect. I see only the first couple entries for the first chapter. Also, the Chapter numbers are completely missing from the contents.
Please see the attached image to make sure it's clear.
I don't really know where to start, so I'd appreciate a quick reply or idea so I can include more details here.
Thanks!
Bobby
- Attachments
-
- Screen shot 2009-09-04 at 10.55.52 PM.png (171.36 KiB) Viewed 5082 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
PDF contents (viewed in acrobat or Mac Preview) incorrect
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
PDF contents (viewed in acrobat or Mac Preview) incorrect
thanks,
bobby
Code: Select all
\documentclass[a4paper,twoside,12pt]{book}
\usepackage{graphicx}
\usepackage[german,english]{babel}
\begin{document}
\tableofcontents
\chapter{one}
\chapter{two}
\chapter{three}
\end{document}
Re: PDF contents (viewed in acrobat or Mac Preview) incorrect
PDF contents (viewed in acrobat or Mac Preview) incorrect
I checked and I don't have \addcontentsline anywhere in my files.
Code: Select all
\documentclass[a4paper,twoside,12pt]{book}
\usepackage{graphicx}
\usefont{T1}{bch}{m}{n}%
\renewcommand\familydefault{bch}
\usepackage{sectsty}
\allsectionsfont{\usefont{OT1}{phv}{bc}{n}\selectfont}
\usepackage[usenames]{color}
\usepackage[german,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{color}
\usepackage{amssymb}
\usepackage{amsmath}
\bibliographystyle{plainnat}
\usepackage[square,authoryear,sort&compress]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}
\include{commands}
\usepackage{hyperref}
\begin{document} % preamble ends here ------------------------------------------------------
\setcounter{tocdepth}{3}
\tableofcontents
%\mainmatter
\input{one}
\input{lif}
\appendix
\input{makeglos.gls}
\input{additional_models}
\bibliography{all}
\end{document}
Re: PDF contents (viewed in acrobat or Mac Preview) incorrect
Please try to actually create a minimal working example without using the \input command, and remove all code and packages unrelated to your problem.
PDF contents (viewed in acrobat or Mac Preview) incorrect
If I comment out this line
Code: Select all
\usepackage[twoside,varioref,rightFloats]{fltpage} % fullpage figures w/ captions on opposite side\
Now another question:
How can I include chapter and section numbers in the PDF contents?
thanks,
bobby