3
votes
2answers
27 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
4
votes
1answer
47 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 ...
2
votes
0answers
60 views

Incrementing counters with subsubsection instead of subsection [closed]

I have previously tried to make a document with questions and answers. In a previous question I was shown a great way to do this, using the answer package in combination with hyperref. Adding ...
2
votes
0answers
85 views

\renewcommand{\bibheadtitle} not working with hyperref package [closed]

I had a document that properly divided my biblography into three sections with the help of multibib package, and forcing the Biliography Section Titles by means of a \renewcommand{\bibheadtitle}, but ...
5
votes
1answer
104 views

bookmarksnumbered option of hyperref in beamer document

I wanted to put section numbers in pdf bookmarks of a beamer document. But section numbers didn't show up. What is the problem? \documentclass{beamer} \hypersetup{ bookmarksnumbered=true } ...
1
vote
0answers
116 views

All \ref{} to an equation refer to the section, not to the labeled equation [closed]

I am writing a document in LaTeX using TeXShop on OS X Mavericks. My .tex file looks like this: \documentclass[11pt,titlepage]{article} ...
7
votes
1answer
114 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
104 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 ...
5
votes
2answers
125 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 ...
2
votes
0answers
41 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} ...
2
votes
1answer
98 views

Getting table of contents to recognize titlesec paragraph

I am using hyperref to make a clickable table of contents. I am using titlesec to use \paragraph{ } as if it were a subsubsubsection. How do i get this use of \paragraph to display in my table of ...
1
vote
1answer
132 views

how to make TOC's 'List of Figure' link to title not the list itself

I made a table of content with clickable links. Links to chapters and sections work fine: when I click on them I see the chapter title and its content. On the other hand, when I click to the list of ...
0
votes
1answer
69 views

Bibiliography included in ToC but wrong hyperref linking [duplicate]

I included my bibliography in the tableofcontents as follows (documentclass report): \clearpage \addcontentsline{toc}{chapter}{References} \phantomsection \bibliographystyle{IEEEtran} ...
7
votes
1answer
86 views

pgfplots and hyperref clash for complicated figure in book class

When using the book class, pgfplots, hyperref, and section labeling according to "How to reset chapter and section counter with \part", I get the following error ! You can't use `the character -' ...
3
votes
2answers
105 views

how to link previous section

I have a document with multiple sections and a clickable TOC. I belive the TOC to be created by the following command in a package that I use. \tableofcontents As I wanted the TOC to be ...
4
votes
1answer
130 views

section titles, cyrillic and hyperref

I need to use cyrillic. I hacked from somewhere the def of \textcyrw you see below. Everything works fine, but when I need to use \textcyrw within a section title. It seems that the culprit is ...
2
votes
1answer
92 views

\nameref breaks for star versions of section/paragraph when titlesec is loaded

\nameref breaks for the star versions of section, paragraph when titlesec is loaded. I have a document that numbers paragraphs by default, but I have a few I do not want to number but would like to ...
3
votes
1answer
113 views

How to embed the list figures into the document's main ToC without bad effects on the PDF ToC

For a relatively short report I would like to merge the list of figures (LoF) into the document's table of contents. In two related questions, Gonzalo Medina has suggested to just change the file ...
5
votes
1answer
1k views

Hyperref warning which doesn't affect the output of the PDF

I have encountered a hyperref warning but there are no visible negative consequences. Additionally, LaTeX complete without a complaint. I only found the warning by looking at the .log file. Package ...
0
votes
0answers
55 views

Creating subsubsubsection and using \ref and \label (+hyperref) [duplicate]

I'm writing on my thesis and need more levels of sections. This seems to be not a rare problem. So, after some search on the web i defined my custom deeper sections in terms of the following code. ...
2
votes
2answers
230 views

Make \phantomsection get me where links to chapter usually do

I have such code: \documentclass{report} \usepackage{hyperref} \newcommand{\specnodala}[1]{\newpage\phantomsection\addcontentsline{toc}{chapter}{#1}\section*{#1}} \begin{document} \tableofcontents ...
2
votes
1answer
186 views

How do I add section/subsection numbers to pdf bookmarks?

I'm writing up solutions to some exercises, and having problems with the bookmarks produced in the resulting pdf file. In the document I'm using \section (slightly modified) and \exercise (based on ...
5
votes
2answers
68 views

\href macro in \section conflicts with local hyperref linking in ToC

If I have a section like so \section{Section 1} then in the ToC, so long as I use the hyperref package, it is linked to that particular section. However, if I use an href tag as the section ...
5
votes
1answer
92 views

Avoiding pdfbookmark with amsbook

I am using the amsbook class. I want a subsection with a title different from the ToC entry as in the example below \documentclass{amsbook} \usepackage{hyperref} ...
7
votes
3answers
235 views

Part numbering with suffixes: I, II, IIIa, IIIb, IV,

I would like to have my parts numbered like this: I, II, IIIa, IIIb, ... , IV, ... I have written some code which works fine. But when using hyperref, I get this warning: destination with the same ...
7
votes
1answer
753 views

List section in pdf bookmarks, but omit in LaTeX table of contents

Normally (under pdflatex with hyperref) a section added with \section will appear in both the LaTeX table of contents, and the pdf metadata; while a \section* will be omitted from both. Is it ...
3
votes
1answer
141 views

Reference to section where is label

I have these equations with one label: \section{This is super math section} \begin{eqnarray} c + d \\ \label{eq:eq2} a + b \end{eqnarray} But how to do if I want get the section number where is the ...
4
votes
1answer
181 views

Cross reference in section title broken in header [duplicate]

I've tried searching and can't find this anywhere, but sorry if it's been asked before. I'm using the memoir class to write a thesis using LaTeX (which I'm fairly new to) and I've got a section in my ...
3
votes
1answer
87 views

Passing normal title to the pdf bookmark

I am writing a document and a section as a very long title troubling my header. To work around this, I am using the short title like this: \section[bla]{blablabla} This works fine for the header, ...
3
votes
1answer
213 views

Renew table of contents level and pdf bookmarks

I'm using the labbook class which uses the commands \labday, \experiment, and \subexperiment as the 0,1,2 table of contents levels. I want to add my own chapters with TOC level of 1 and have the ...
2
votes
2answers
705 views

Problem using latexdiff and pdflatex with custom command

Using latexdiff I have the problem, that by adding new \section, I get the following error by trying to run pdflatex. ! Argument of \UL@word has an extra }. <inserted text> ...
3
votes
1answer
172 views

How to link section title if too long and truncated using nameref command?

I use \nameref command in order to link section title. But if section title is too long and truncated it will not linked. \documentclass[twocolumn]{article} \usepackage{hyperref} \begin{document} ...
6
votes
2answers
184 views

Hyperlinks in section name

I am trying to use the memoir class to typeset a document in which the section headings function as hyperlinks to other locations in the document, using the hyperref package. One of the ways that ...
3
votes
1answer
196 views

A part with sections and subsections but without chapters in ToC

My document consists of three parts. Parts 1 and 3 contain chapters and sections. Part 2 however is a bound in research paper, and as such only contains sections and subsections, however no chapters. ...
5
votes
2answers
252 views

\@startsection, hyperref and newunicodechar; protection needed?

When working with custom defined environments using \@startsection I found, after switching to newunicodechar for defining my unicode characters, that the sectioning headings give this peculiar ...
12
votes
4answers
354 views

Set chapters at section level in the table of contents

I have: \chapter{My first chapter} \chapter{My second chapter} \phantomsection \addcontentsline{toc}{chapter}{Appendixes} \appendix \makeatletter \def\toclevel@chapter{1}\def\toclevel@section{2} ...
6
votes
1answer
645 views

TeX capacity exceeded, when flexisym scrreport, hyperref, and section heading with math all used together

I'm getting the error: TeX capacity exceeded, sorry [input stack size=5000] Under the following very specific combination of packages and document class: \documentclass{scrreprt} ...
1
vote
2answers
951 views

titlesec messin' up my hyperref'd table of contents

Please consider the following multipage MWE, which contains page number restarting; made to compile with pdflatex test.tex: \documentclass[12pt]{article} \usepackage{geometry} ...
5
votes
1answer
298 views

Error when using \bm in *numbered* section title, when hyperref is loaded

I am getting an error when I use the command \bm in a section title that is numbered, when the package hyperref is loaded. Here is the error: ERROR: TeX capacity exceeded, sorry [input stack ...
3
votes
2answers
588 views

Hide section number for a specific section

I'd like to hide the number of a specific section, but it's subsections should keep the right numbering, as should the labels and numbers that appear in the PDF's bookmarks (I think it's the hyperref ...
2
votes
1answer
412 views

apa6: hyperref fails to recognize \subsubsection

I recently experienced several issues after some packages got updated. The one remaining is that hyperref doesn't recognize \subsubsection{} anymore when using the apa6 class. The bookmarks in the PDF ...
5
votes
1answer
296 views

How to define parallel section-like headings?

I am trying to help typeset a book for a friend, and I've converted most to use chapters, sections, subsections and subsubsections. However, some sections are of the form "Digression N: Text". The ...
3
votes
1answer
2k views

How to fix moderncv's ToC generation to get nesting in the PDF ToC

I am preparing a (somewhat lengthly) application using the moderncv class. For this I would like to provide for some additional structure in the PDFs ToC, that is, use something like ...
4
votes
1answer
1k views

Is it safe to use \texorpdfstring from package hyperref, outside the sectioning commands?

I have several commands with some math that I use inside and outside the sectioning commands (\section, etc.). Of course, package hyperref complains. I do not want to scan the sectioning commands to ...
4
votes
1answer
1k views

Reference to an unnumbered section

I am writing a thesis with document class report and I am using hyperref. My structure is the following: \chapter{First chapter} \section{First section} \subsection{First sub section} ...
4
votes
2answers
410 views

Linking the section titles to the ToC

(Somewhat related to Defining a Command for Linked and Indexed Section Headings). I'm trying to have the section headings link to their entry in the Table of Contents so as to get "two-way" ...
10
votes
2answers
649 views

Linking the section text to the TOC

I'd like the section headings in running text to link to their "line" in the Table of Contents so as to get "two-way" navigation, eg: a user looks in the Table of Contents for a section title, jumps ...
8
votes
1answer
149 views

Adding to section names based on their contents

I've got a document that talks about requirements fulfilled. Each requirement has an official name, and so I've made macros that consume a requirement name and make marginpars and index entries with ...
2
votes
4answers
724 views

Letter prefix for “sections”

Between chapter and section level I sometimes need another level, which is indicated by a letter prefix. The table of contents might look like this: 1 1.1 1.2 2 A.2.1 A.2.2 B.2.1 B.2.2 3 3.1 Now I ...
0
votes
1answer
160 views

Hyperref levels are embedded, aren't being reset

I'm using the hyperref package with a custom class, and I'm having a problem with hyperref not creating the tree correctly. What I expect to see is this: + Section 1 ++ Section 1.1 ++ Section 1.2 +++ ...