5
votes
2answers
50 views

Hyperref: wrong links when listof,bibliography and glossaries in ToC

I tried to produce a ToC like this: I Symbol Glossary II Acronyms 1. Chapter 1 1.1 Section 1 2. Chapter 2... ... III List of Figures IV List of Tables V Bibliography So I added ...
0
votes
0answers
35 views

Adding the Table of Contents to the index in the PDF viewer

When I generate a PDF (with the hyperref package loaded), it generates the a navigable index in the PDF viewer (usually in the left part of the canvas). Everything works alright! but I'd like a link ...
0
votes
0answers
18 views

roman numbers are not correctly cross-referenced, conflict between hyperref and other packages? [duplicate]

This problem only occurs in my whole PhD thesis, and not in a MWE (shown here). Would the problem be the other packages I use besides the hyperref package? MWE code (works well, see attached image): ...
3
votes
1answer
39 views

amsart with table of contents with “to” and “from” hyperlinks

My question (I don't know about the answer) is relatively simple. I am often obligated to use amsart documentclass and so like this post, How to do this amsart Table of Contents excluding dots on ...
1
vote
1answer
36 views

\MakeUppercase in \section and \chapter with hyperref cause trouble

I use hyperref package to make TOC in the pdf file (you know, the pdf reader can display a toc). But, when hyperref is used, the command \MakeUppercase in a structure command (like \section or ...
2
votes
3answers
120 views

Linking the section titles to toc using only hyperref

How to link section titles back to toc? I want to use only hyperref and not any toc related packages (answer with titlesec can be found here) I can do the hypertarget to toc sections (answer provided ...
1
vote
1answer
18 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
3
votes
1answer
60 views

How to change the color of Table of Contents from red to black?

Now the color of Table of Contents is red, i want it be black color. I use hyperref \usepackage[colorlinks=true]{hyperref} if I change it to \usepackage{hyperref} or ...
2
votes
1answer
65 views

Fancy Table of Contents and Hyperref Set Up

I am using a code in tikz for a fancy table of contents and I want to apply certain settings on it using the hyperref package and the relevant command hyperrefsetup. I want to create the following ...
2
votes
2answers
59 views

Hyperref in toc without page number

I'm doing my report for my last internship and I've been trying to add hyperref to my LaTeX pdf. I would like to have a link in my toc for my introduction. Without hyperref, it works fine : ...
2
votes
2answers
89 views

Correct use of hyperref and addcontentsline

I am having some issues with the hyperref package. I would like to create a Introduction chapter without a number so I use \chapter*{Introduction} and \addcontentsline{toc}{chapter}{Introduction} ...
2
votes
0answers
63 views

Hyperref linking to wrong item in TOC(Lyx)

I added the hyperreff package and a TOC to my document using Lyx's built-in options. It seemed to work almost perfect except one problem: the first item in the TOC is linked to the page of the second ...
1
vote
0answers
34 views

Hyperref: Both Bibliography and Index entries in ToC are linked to Bibliography

Problem Statement I use BibTeX for the Bibliography, makeindex for the Index and hyperref to create the hyperlinks. In the .pdf file that I get after compiling, all hyperlinks (e.g., ToC entries, ...
2
votes
1answer
58 views

Hyperref - links in TOC link to one page before the right page

I use hyperref for my entries in the TOC to be link. But with the example below, I have a problem: \item{\textbf{item one}\addcontentsline{toc}{subsection}{item one}\\ Lots of text... } ...
0
votes
0answers
40 views

table of contents has wrong section references (scrreprt)

I noticed wrong references in my toc of my document. I'm trying to provide an MWE as goog as possible. Here's my code: ...
4
votes
2answers
80 views

Hyperref links in TOC point to wrong location when using titletoc

I have modified the formatting of subsections in the toc, so that they appear in one line instead of separate lines. For this i used the titletoc package. Here is a MWE: \documentclass{scrbook} ...
10
votes
3answers
255 views

Math in table of contents, bookmarks and heading

I would like to obtain the following: the title of a section occurs in the text as Math symbols $\boldsymbol{\sum, \int}$, in the table of contents it is Math symbols $\sum, \int$ (without bold), in ...
3
votes
1answer
62 views

Disable `colorlinks` locally (or just for the ToC)

Basically, I want to disable the colorlinks option (from the hyperref package) for the ToC, but keep it enabled for the rest of a (memoir) document. This question has a workaround based on issuing ...
3
votes
1answer
76 views

Contents and Detailed Table of Contents without repetetion and indent

This question has two parts. Part 1 First, I'm interested to create two TOCs, with a reference in the first shorter TOC the longer and more detailed TOC. Without the reference appearing in the ...
1
vote
0answers
51 views

How to generate document with 6 grid images, chapter header and table of contents

I am trying to generate a booklet with a grid of 6 or less images in a grid, and a text caption below it. I would like each page to display the chapter in the header, and have the table of contents ...
4
votes
1answer
75 views

How to have hyperref correctly refer to phantom sections without clearing a double page

When using starred sections in a double page layout, in order to get the table of contents refer to the correct place, it is usually advised to use the method \cleardoublepage \phantomsection ...
1
vote
0answers
285 views

Redefining contentsline with hyperref loaded [closed]

The latex code below fails to compile at the 2nd round of pdflatex. If I remove the hyperref package it compiles fine, however if it's there, it fails to compile and complains giving this error ...
3
votes
1answer
49 views

Hyperref did not work properly when I reset the section-counter during the document

Hyperref from the TOC bring me to the wrong part of the document when I RESET the section counter in each PART. -- When I click in the TOC on section 1 in part II, the hyperref brings to section 1 in ...
1
vote
0answers
29 views

How to remove the red boxes around toc [duplicate]

This is in with regards to the below post How to add an extra level of sections with headings below \subsubsection The code works flawlessly. But do I remove the red frame boxes which cover the ...
0
votes
2answers
453 views

Clickable Link back to the Table of Contents [duplicate]

There are many questions and answers surrounding how to make the Table of Contents content clickable. I am wondering how to make a reference to the Table of Contents and create a link elsewhere in the ...
6
votes
5answers
344 views

Reference to the Table of Contents page

I thought that someone must have asked this, but my searches didn't find it. I am looking to refer back to the table of contents from places in my document. How can I do this?
9
votes
2answers
216 views

Different hierarchical levels in TOC and hyperref-generated PDF bookmarks

I would like to make hyperref generate bookmarks for all available hierarchical levels of my documents, but only in the produced PDF. For the TOC itself (i.e. the one printed at the beginning of the ...
3
votes
1answer
210 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
1
vote
1answer
62 views

How to customize the chapter in front of figure page in listoffigures?

I am using the the packages \usepackage{url} \usepackage{graphicx} \usepackage{rotating} \usepackage[hypcap]{caption} \usepackage{hyperref} to include referencable graphics in my work. The ...
5
votes
0answers
97 views

Make section links in the table of contents point to the top of section‘s page [duplicate]

When I click on 3.8 in the hyperref manual, I go to the top of the page where 3.8 is, whatever the zoom level I have. But the default hyperref behaviour is to link to the section name. How can I ...
3
votes
1answer
50 views

reference the table of contents/ hyperlink

when i use the \tableofcontents or \listoffigures, it creates a page with the hyperlink placed on the name of the section.There is a red square around the title. However i want the hyperlink to be on ...
5
votes
2answers
76 views

Removing hyperlink borders from ToC

I don't want to disable hyper reference package as I like those borders in the text. I just want to remove borders around chapters/sections in the table of contents if possible. Any idea? E.g. ...
8
votes
1answer
56 views

Move hyperref anchor link in TOC

In the example below, the title of the starred section is moved to the left in the TOC but not the corresponding hyperref anchor link: \documentclass{article} \usepackage{hyperref} \begin{document} ...
5
votes
1answer
61 views

How to hyperlink the 'general index' in the resulting PDF without it appearing in the table of contents?

I want my book (in PDF file) have an 'Contents' (general index) hyperlinked. But do not want the line of the word 'contents' (including page number) in the content of the table of contents, redundant ...
2
votes
1answer
92 views

Use hyperref without any link coloring, and with dotted TOC lines

Currently, my document is of the following form: \documentclass[11pt,a4paper]{article} \usepackage{hyperref} \begin{document} \tableofcontents \section{Introduction to Problem} There is the ...
2
votes
1answer
60 views

How to refine links in LOF entries (in memoir)?

I would like to abuse the LOF as a kind of bibliography for foreign figures. For that it would be very nice to change the linking of the LOF entries. The default links entry names to figures but ...
3
votes
3answers
156 views

Hyperlinks in ToC

I started working with LaTeX some months ago and this forum has been very useful for me. Now I am writing a report and I want to have the ToC, LoF and LoT with hyperlinks. So I use the package: ...
5
votes
1answer
309 views

One page table of contents with hyperlinks for use with pdftk

I am using python and pdftk to create a portfolio from many pdf files. About half the files are generate by LaTeX and the other half are scanned in documents. When I am done, I want to create a ...
6
votes
2answers
134 views

How to repeat chapter numbers

I'm writing my Ph.D. thesis, and I have to write the Introduction both in English and in Spanish. Since the content is the same, I want to repeat the number of this first chapter: Introducción. ...
3
votes
1answer
109 views

Incorrect page number in ToC and minitoc

In the following MWE, the section number is reset at the beginning of each chapter. If, in the ToC, you click S4 it goes to S1, which is wrong. Both S4 and S1 have the same page number. The same ...
3
votes
1answer
106 views

Missing section links in table of contents (memoir class, custom section headings)

I am trying to add a table of contents to a document produced using the memoir class. I have customized the section headings to emulate a publication I like. When I produce the pdf (using xelatex ...
0
votes
0answers
126 views

multiple listing styles with hyperref and caption packages

This is a follow-up question to Multiple listings styles. The MWE from the accepted answer works fine. Unfortunately, when I add the hyperref package OR the caption package (or both of them), the ...
7
votes
1answer
130 views

Second optional input to \chapter to rename bookmark

I would like to include a second optional argument in \chapter's definition to be able to give the bookmark a name different from the one displayed on the toc. The reason for this is that on the toc ...
3
votes
1answer
142 views

Incorrect link in \listoftables after \setcounter{table}{0}

I'm trying to put together a statistical analysis plan using LaTeX. This is something I've never tried before. I want to create a section at the end called table shells, but I'm running into a couple ...
7
votes
3answers
90 views

How is it that an lrbox environment is correctly placing content in TOC

I was reviewing some old code that I wrote and thought I found a typo. But nevertheless everything is working as I want it to. The basic idea of the MWE here is that I'm storing content in a lrbox ...
1
vote
0answers
45 views

ToC links pointing to very same ToC instead of section page

I have a strange behavior with my ToC using the hyperref package. I have nine special paragraphs defined with \newcommand{\myparagraph}[1]{\paragraph{#1}\mbox{}\\[6pt]} which appears in the ToC ...
0
votes
1answer
205 views

Using listing with minted gets wrong listoflistings

I wanted to make a \begin{minted} block to show on the ToC in Listings section with a link to its label. So I did (with links to my Github working repo) \begin{listing}[!h] \begin{minted}[ ...
5
votes
2answers
230 views

How do I use nameref's label with addcontentsline

I am trying to use the nameref \label functionality alongside the use of \addcontentsline that creates invisible sections and subsections that appear in the \tableofcontents. The commands can be seen ...
4
votes
1answer
102 views

Chapter titles as hyperlinks in the list-of-figures

I would like to include the chapter titles in my list of figures. @GonzaloMedina previously answered this question using titletoc. However, not all my chapters are numbered, so I would like the ...
2
votes
0answers
46 views

Manually deleting \chapter ruins all hyperlinks in the document

I'm a tex noob and I'm using doxygen to generate a pdf documentation. I had doxygen generate a refman.tex file which contains something like \chapter{Program Reference} ...