Questions tagged [bookmarks]

{bookmarks} is about PDF bookmarks, which are usually displayed in the side bar of the PDF reader for easy navigation. This tag can also be used for questions regarding the bookmark package.

Filter by
Sorted by
Tagged with
1 vote
1 answer
15 views

Collapse specific item in bookmarks — hyperref

Using bookmarksopen option for hyperref, the tree of bookmarks is automatically expanded. I'm curious how can I collapse one specific item (chapter, section etc.)? Maybe there's a command like \...
user avatar
  • 2,783
0 votes
1 answer
20 views

Exclude few document sections from the ToC in moderncv

I would like to exclude certain sections from the ToC. I already tried this by manipulating the tocdeph-counter. However, it is not working, and I do not understand why. My code does not produce a ToC ...
user avatar
1 vote
1 answer
28 views

How can beamer subsubsections have level 4 in PDF bookmarks?

When using beamer, I found that my subsubsections are not shown in the PDF bookmarks. I can use \setcounter{tocdepth}{4} or \hypersetup{bookmarksdepth=4} to fix it. And I wonder why. In this answer, ...
user avatar
0 votes
0 answers
26 views

error with package bookmark - fails to load "rerunfilecheck.sty"

I run this code \documentclass{minimal} \usepackage{bookmark} \begin{document} Test \end{document} And it results in the error ! LaTeX Error: File `rerunfilecheck.sty' not found. in hluatex.def ...
user avatar
1 vote
1 answer
31 views

Issues with titlesec's \titleclass

Following the guideline in section 3.9. Creating new levels and changing the class of the titlesec manual, I'm trying to create a new sectioning command \sectionsub under \section, to achieve what was ...
user avatar
  • 6,552
0 votes
1 answer
34 views

Need to customize bookmark text instead of standard

My tags are follows: \documentclass{book} \usepackage{lipsum} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{hyperref} \hypersetup{pdfencoding=auto,bookmarks=true,colorlinks=true,...
user avatar
  • 11.2k
0 votes
1 answer
36 views

Testing bookmark glyphs (testbmgl.tex) fails

After installing TeX Live 2022, I pdflatexed (twice) a local copy of https://github.com/latex3/hyperref/blob/main/test/testbmgl.tex. The resulting bookmarks are quite different to the one created by ...
user avatar
  • 14.3k
2 votes
1 answer
31 views

How to control the depth of toc and bookmark separately

I want to write a thesis using LaTeX. Specifically, I want to display three levels of headings in the table of contents (toc), but at the same time I want to display four levels of headings in the ...
user avatar
  • 31
1 vote
1 answer
45 views

\pdfstringdefDisableCommands with starred and non starred commands

The following MCE: \documentclass{article} \usepackage{hyperref} \ExplSyntaxOn \NewDocumentCommand { \foo } { s m } { \IfBooleanTF {#1}{ Foo~ #2 }{ #2 } } \pdfstringdefDisableCommands{ ...
user avatar
0 votes
1 answer
25 views

New Section Above Part Crashes When Adding Bookmarks: Missing Action

I'm having an issue creating a \book section above \part. All goes well — ToC is beautiful — until I add the bookmark package and then it crashes with a "Missing Action" on the first use of ...
user avatar
  • 25
0 votes
1 answer
33 views

Change level of PDF "List of ..." bookmarks without affecting their TOC levels

Problem: I am trying to create a lists bookmark under which my list of tables, figures, reaction schemes etc can go so that the PDF bookmarks do not look cluttered with just a long list expanded. This ...
user avatar
1 vote
1 answer
32 views

Hyperref & bookmarks: reset and/or change levels bookmarks

My initial question was answered, but now a new issue has arisen. It relates to the bookmarks in the PDF. I am working with Overleaf, which does not have the current hyperref but an older one. In the ...
user avatar
  • 161
2 votes
1 answer
45 views

Group chapter bookmarks into separate added bookmark

I'm designing a book with an elaborate ToC. I'd like to keep the ToC the way it is, but would like to make the bookmarks in the PDF a little less overwhelming, by grouping chapter together. MWE: \...
user avatar
  • 161
0 votes
0 answers
27 views

Can I generate a table of contents from a pdf?

Let's say I have a pdf which was created with latex using \sections, but the creator did not generate bookmarks for the pdf using the hyperref package, and I do not have access to the latex source. Is ...
user avatar
0 votes
2 answers
71 views

Table of contents disappears when I use bookmark or hyperref

I'm new to latex and I'm trying to write my thesis I'm having issues with the table of contents. When I call it, normally it works fine and I get entries for my chapters but when I add the packages ...
user avatar
0 votes
1 answer
45 views

How to get bookmarks shown in ICML 2022 style

When I use the example file icml2022.zip from https://icml.cc/Conferences/2022/StyleAuthorInstructions, there are no bookmarks shown in any pdf reader. Typically most pdf reader show a table of ...
user avatar
  • 721
0 votes
1 answer
12 views

Break apart \pdfbookmark tree children to standalone levels

I am unable to find an easy way to break apart the tree view, to standalone separate bookmarks. I know that I can manually, probably, \pdfbookmark[0]{section}{section} on each by hand, but isn't there ...
user avatar
  • 171
2 votes
1 answer
52 views

\bookmark does modify the defaut view to fit PDF

I am having some issues using the \Bookmark to try to add separate pages for navigation in PDF. The issue, comes, when clicking the Cover, where the \Bookmark is used, it automatically switches zoom ...
user avatar
  • 171
0 votes
1 answer
64 views

Chapter format questions for AMS book class

Ultimately, for certain chapterlike sections, I would like to change the word "Chapter" to something else (i.e. "Conclusion"), while also suppressing the chapter number and still ...
user avatar
  • 1
0 votes
0 answers
18 views

Putting Bookmarks on a specific point of a picture / Using pop-up windows on pictures

i'm searching for something I dont think is possible with LaTeX, based on my google research - But I got to give it a try here. The kinda ideal outcome would be this: Example: Having a picture of a ...
user avatar
0 votes
1 answer
52 views

Adding bookmarks and subbookmarks manually in regular LaTeX file

I’m trying to add bookmarks manually. By writing, for instance \pdfbookmark{I.}{I.}, it works fine, but I want to add also manually subbookmarks (e.g. in book mark I. add a), b),...). All suggestions ...
user avatar
0 votes
0 answers
20 views

pdf bookmarks for proof environment

I want to create bookmarks for my proof environments. That is I want in the table of content displayed in my pdf viewer (skim), proofs be listed along with my subsections. I have the following set up: ...
user avatar
0 votes
1 answer
30 views

how to remove 'Appendix' prefixes from Bookmarks while keeping in ToC and Appendices?

In the test case: \documentclass{article} \usepackage{hyperref} \usepackage[title, titletoc]{appendix} \begin{document} \renewcommand*\contentsname{Table of Contents} \addtocontents{toc}{\protect{\...
user avatar
1 vote
0 answers
116 views

How to remove bookmarks?

I need to upload a paper (pdf) but the edas system tells me that the bookmarks are not allowed, although there are no bookmarks in my paper because i am using the command : \usepackage[ bookmarks=...
user avatar
  • 11
1 vote
1 answer
107 views

How to modify the \question command in exam class

I create math exams using \documentclass[legalpaper, 12pt]{exam} and \usepackage[bookmarks]{hyperref}. Each question is created by inserting \question[points] in the document and the enumeration of ...
user avatar
  • 189
0 votes
1 answer
49 views

Wrong Bookmark Depth

Consider the following non-MWE: \documentclass{article} \usepackage[ hmargin = 2.4cm, vmargin = 3cm ]{geometry} \usepackage{tocloft} \usepackage{pdfpages} \usepackage{hyperref} \hypersetup{ ...
user avatar
1 vote
1 answer
197 views

hyperref warning: token not allowed in pdf string (Math in section titles)

At the risk of being attacked for asking one of these questions again: Ways to avoid 'Package hyperref Warning: Token not allowed in a PDF string' warning Hyperref warning - Token not allowed ...
user avatar
  • 113
0 votes
0 answers
37 views

Table of contents with links to scanned pages [duplicate]

I have scanned documents (PDF) that are each several hundred pages long. I would like to create a table of contents for each one that has links and bookmarks to section titles. I have found two ...
user avatar
  • 1
0 votes
0 answers
35 views

Absence of spacing between the Figure name (number of the figure) and the Figure Caption

In the List of Figures, the space between the Figure name and the caption (with a dash in the middle) did not keep the same when the number of Figure name increase as following: Figure 6.9 - Original (...
user avatar
3 votes
3 answers
231 views

Automatically replace underscore with \textunderscore for PDF strings, e.g. with \pdfstringdefDisableCommands

Is it possible to mimic the output of \section{\texorpdfstring{$x_1$}{x\_1}} using \section{$x_1$} and \pdfstringdefDisableCommands{...} ? I've only seen this answer, which tries to do something ...
user avatar
  • 145
0 votes
0 answers
20 views

Change depth of bookmarks for appendix

I already achieved to increase the depth of TOC to subsubsection for the appendix. Now I want to change the bookmark depth the same way. The TOC and PDF bookmarks should have the same structure. Maybe ...
user avatar
1 vote
1 answer
43 views

texorpdfstring in addcontentsline - Using math mode in an unnumbered subsubsection

I have an issue to use the \texorpdfstring command in \addcontentsline. This is the minicode : \documentclass[a4paper, 11pt]{report} \usepackage{bookmark} \usepackage{hyperref} \begin{document} \...
user avatar
  • 47
0 votes
1 answer
51 views

Add bookmarks to included PDF and get ToC entry as clickable link

First: I'm not sure if this should be two separate questions but I've decided to post them as one. Consider the following MWE (follow-up to Error regarding \contentsline when compiling): \...
user avatar
0 votes
0 answers
30 views

bookmark structure for multifile latex file

I am working on a project in Latex .. the bookmark hierarchy in the pdf is not showing. I didnt write every thin in one file .. I used \input{...file.tex}. How can I make sure that latex count the ...
user avatar
0 votes
0 answers
34 views

makeindex is skipping some entries

When checking the PDF file of the document I'm currently working on, I've noticed that some of the Chapters and Parts are missing in the side-bar index. I've been using imakeidx as shown below: \...
user avatar
  • 1
0 votes
1 answer
62 views

Phantom section and bookmarks

\newcounter{entry}[chapter] \newcommand{\declarenewentry}[1]{\medskip\noindent\framebox[\textwidth][l]{\qquad Day \theentry : #1}\medskip} \newcommand{\newentry}[1]{\addtocounter{entry}{1}\...
user avatar
  • 285
2 votes
1 answer
46 views

How do I stop hyperref from putting PDF text enhancements in the bookmarks?

In my book I used a stylized font and background to indicate bits, like this: I do that with this macro: \newcommand{\bindigits}[1]{\colorbox{lightlightgray}{\tt{#1}\rm}\xspace} So I thought it ...
user avatar
  • 4,470
2 votes
1 answer
110 views

Wrong double quotes in PDF bookmarks

I just noticed something weird. Take the following example \documentclass{article} \usepackage{hyperref} \hypersetup{hidelinks} \begin{document} \tableofcontents \addcontentsline{toc}{section}{``...
user avatar
  • 51
3 votes
0 answers
40 views

Adding pdf bookmark entries to theorems from shadethm

Similarily to the same question asked for thmtools, I would like to automatically add pdfbookmark entries for each theorem. The issue is that I can't really re-write the whole preamble and move away ...
user avatar
  • 131
2 votes
0 answers
90 views

Problems with Umlaut in bookmark when using acrobat reader

I am using the class altacv which can be found here. I am also using the command \includepdf to include a pdf in my document and to the table of contents. Now my problem is that if I use an umlaut, ...
user avatar
  • 21
2 votes
1 answer
114 views

Capitalize Headings in TOC and capitalize headings (using KOMA) and not loosing references

I am struggling with the links/bookmarks together with capitalizing TOC and capital headings. First I struggled with making my capitalized TOC, as well as capitalized headings up to \subsections (yes ...
user avatar
  • 21
1 vote
0 answers
71 views

tex4ebook: \bookmarksetup{startatroot} does not reset bookmark level

I'm compiling a .tex document to .epub with tex4ebook and I would like the back matter of the book (additional chapters, glossary, index, references) to appear in the bookmarks at the top level (same ...
user avatar
  • 123
1 vote
1 answer
42 views

tex4ebook: bookmarks are duplicated when titlesec package is imported

I'm generating an .epub with tex4ebook and I need to use titlesec. When I compiled the document, I noticed that if I import titlesec and compile more than once, the bookmarks for sections and ...
user avatar
  • 123
0 votes
1 answer
103 views

Glossaries PDF bookmark contains equals sign before

I am writting a thesis with the scrreprt document class and the glossaries package. I have a problem with the PDF bookmarks of the glossaries. As you can see in the picture below there is a equal sign ...
user avatar
  • 101
0 votes
1 answer
89 views

Deactivate hyperref, keep bookmarks BUT have working hyperrefs in the toc

In this superb answer, @Ulrike Fischer gives an answer how to deactivate hyperref and keep the bookmarks bar working. MWE is there in the answer. I, however, want to keep hyperrefs working in the ...
user avatar
  • 89
5 votes
3 answers
203 views

Use accented characters in bookmarks

I am trying to generate my own recipe collection. I've got my inspiration from An Aesthetically Pleasing Recipe Book Template. It is really similar but I've tweaked a few things. So far, it's working ...
user avatar
  • 273
0 votes
1 answer
138 views

Set tcolorbox overlay bookmark to be above its parent

I added a new environment to my Cornell-styled notes: titlednote It allows adding a title to a note which should also generate a bookmark below its term. But since terms are implemented with a ...
user avatar
0 votes
0 answers
74 views

Title page bookmark suppressed by ghostscript

The MWE suggested below creates a pdf with two bookmarks, named "Title" [level 0] and below, "Section" [level 1]. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
user avatar
  • 16k
1 vote
1 answer
66 views

References in names and descriptions of embedded files with navigator

I want to attach several files to a document and name them according to the Figure, Table etc. they belong to. I use the navigator package to do this, but I am unable to get it to work properly. What ...
user avatar
  • 11
0 votes
1 answer
64 views

Why is the sequence of bookmark.sty and showlabel.sty important?

The MWE does not show labels. However when changing the \usepackage{bookmark} in front of \usepackage{showlabels}, it does. I have looked through all the questions about showlabels and did not find an ...
user avatar
  • 310

1
2 3 4 5
10