0

I have been trying to get the pdf with bookmarks, just like this, but from a custom documentclass from GitHub. I tried everything from the forums and nothing works from me. The only option in to add manually the pdfbookmark but i want to generate automatically from the ToC. I am using Texmaker and PDFLatex.

Bernard
  • 271,350
Carlos
  • 3

1 Answers1

2

The class is faulty. It tries to define its own command for the table of contents, but the definition is faulty.

\documentclass{politex}
\usepackage{hyperref}
\let\ABNTaddcontentsline\addcontentsline
\begin{document}
\tableofcontents
\chapter{abc}
\section{blub}
\end{document}
Ulrike Fischer
  • 327,261