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
0 votes
0 answers
28 views

PDF bookmarks not leveled, while TOC is

I am using a document style. In terms of outline, i use chapters > sections > subsections. It compiles, and works fine. The table of contents is correctly indented like chapter1 ___section 1.1 ...
Jigeli's user avatar
  • 1
1 vote
0 answers
9 views

LyX: Fix bookmark to specific text (rather than line number)

I initially place a bookmark (Shift+F1) at the start of this line: Now when I hit "Ctrl+1", LyX moves me to the position just before the word "Bookmark", as desired. Great. After ...
user103496's user avatar
4 votes
1 answer
91 views

Can I use ltxdoc, makeidx, doc and bookmarks? If so, how?

Is it possible to use ltxdoc.cls with makeidx and bookmark? MNWE: \documentclass{ltxdoc} \usepackage{makeidx} \usepackage{bookmark} \makeindex \begin{document} \DescribeMacro{\mymacro}\marg{argument}\...
cfr's user avatar
  • 189k
0 votes
0 answers
28 views

Displaying PDF bookmarks with the document class of Preprint JHEP

I like to add PDF bookmarks in a document that is built with the class JHEP.cls 3.1.5 (The class is now DEPRECATED). I am trying with the option bookmarsnumbered of the package hyperref: \usepackage{...
raf's user avatar
  • 571
1 vote
1 answer
30 views

Combining several pdf files into a single pdf file. How can I include all of the bookmarks?

I have about ten pdf files, all of which have bookmarks. I want to combine all ten files into a single file. I also want all the bookmarks to be retained in the process. Here is my current method to ...
Astor Florida's user avatar
0 votes
0 answers
20 views

Wrong page numbers in pdf bookmarks in two-part document

I'm writing a two-part document, where the second part has roman page-numbering and its own table of contents. Unfortunately, some sections in the second part (starting with the section 'Second Part') ...
picky_porpoise's user avatar
6 votes
2 answers
412 views

Understanding `\pdfbookmark`

I am trying to understand the \pdfbookmark[level]{text}{name} macro. Here are my questions: Is it defined in the LaTeX core? Where can I see the code? Where do I find the documentation? I happen to ...
fishfin's user avatar
  • 181
0 votes
1 answer
32 views

Package hyperref Warning: Token not allowed in a PDF string. Using value from CSV in TOC

I am using datatool to read csv file and get values from it. I also want to use these values in a chapter names. I have no problems with TOC and pages. I can see values from my csv file. But bookmarks ...
Sergei Zinovyev's user avatar
0 votes
0 answers
130 views

Hyperref link jumps to top of document

I'm writing up my notes, and for a single theorem (in a document with almost 100 pages) it always jumps to the very top of the document. The theorem in question is roughly mid-way through the ...
Redcrazyguy's user avatar
0 votes
0 answers
28 views

Automatic creation and adapation of bookmark levels for figures and tables in PDF

I need to write reports that not only need bookmarks for content structuring (sections, subsections, etc.), but also consider those for tables and figures. See expected result here: Note that in the ...
tfran's user avatar
  • 131
0 votes
1 answer
32 views

SOLVED: Include (Sub-)Sectionnumber in pdf bookmark

I am writing my homework in latex just for fun and get better at it. Where my sections are exercises and my subsections I want to be parts of the exercise. The format for subsection should be SecNum.\...
Checker 8763's user avatar
0 votes
1 answer
59 views

How to fix: "deeper" PDF bookmarks disappear when \addtocontents{toc}{\protect\setcounter{tocdepth}{1}} is added

My book class-based document normally has structure Chapter -> Section -> Subsection -> Subsubsection. And usually, PDF bookmarks in a PDF viewer (e.g. Adobe Reader) reflect just that. Here ...
Linear Christmas's user avatar
0 votes
0 answers
42 views

Issues with bookmarks (showing twice in PDF)

I am using Overleaf for LaTeX editing and am creating a rendition of a tabletop miniature wargaming rulebook (Grimdark Future, if you know it). I always wanted to learn the LaTeX typesetting and this (...
Joe Kundlak's user avatar
0 votes
0 answers
58 views

Appendix and Bookmark

My goals are as follows: Show the appendix as a section without numbering in the main text. Show an item named "Appendix" in the bookmark. When clicking the "Appendix" in the ...
Ypbor's user avatar
  • 347
1 vote
1 answer
64 views

Remove space in row caused by \cmidrule in table

I would like to either remove the extra space around "entry with space" in the table below or to extend the spacing between the entries overall. My goal is that the spacing throughout the ...
TeXlearner's user avatar
0 votes
1 answer
63 views

How can I add to bookmarks without using section or chapter?

This is what I'm trying to fix on bookmarks, I want to add the TEST on my bookmarks and under the TEST I want to add LOREM TEST >LOREM \documentclass{article} \usepackage[utf8]{inputenc} ...
Udot's user avatar
  • 45
0 votes
0 answers
279 views

{Align} keeps showing error messages and error "File ended while scanning use of \@@BOOKMARK" as well

I am trying to write a list of formulas below but this error message keeps appearing ! Missing $ inserted. <inserted text> $ l.614 \end{align} This is what I have: \begin{align}...
Kateřina's user avatar
0 votes
0 answers
29 views

How to remove Bookmarks have other details

How to remove the bookmarks other details ? \usepackage[explicit]{titlesec} \titleformat{name=\chapter}[display] {\fontfamily{phv}} {} {0pt} {\filleft #1} \titlespacing{\...
Udot's user avatar
  • 45
2 votes
1 answer
133 views

Add PDF bookmarks to list of figures, list of tables, and figure and table captions

I want to bookmark my LaTeX-created .pdf file in two ways: in the \listoffigures and \listoftables and at the figures and tables themselves. I started trying to apply Bookmarks under List of Figures, ...
Bill Denney's user avatar
1 vote
1 answer
35 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 \...
antshar's user avatar
  • 4,116
0 votes
1 answer
34 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 ...
user2894356's user avatar
1 vote
1 answer
56 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, ...
PinkRabbit's user avatar
0 votes
0 answers
150 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 ...
Matthias Pospiech's user avatar
1 vote
1 answer
115 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 ...
Jinwen's user avatar
  • 7,818
0 votes
1 answer
60 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,...
MadyYuvi's user avatar
  • 13.2k
0 votes
1 answer
78 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 ...
Stephen's user avatar
  • 14.7k
3 votes
1 answer
173 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 ...
VV2022's user avatar
  • 51
2 votes
1 answer
136 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{ ...
Denis Bitouzé's user avatar
0 votes
1 answer
44 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 ...
Craie's user avatar
  • 37
0 votes
1 answer
110 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
298 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 ...
Parvana's user avatar
  • 87
2 votes
1 answer
111 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: \...
Parvana's user avatar
  • 87
0 votes
0 answers
34 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 ...
A. Kriegman's user avatar
0 votes
2 answers
314 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 ...
gorsedh's user avatar
  • 15
0 votes
1 answer
131 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 ...
Jakob's user avatar
  • 855
0 votes
1 answer
15 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 ...
Albin M's user avatar
  • 171
2 votes
1 answer
106 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 ...
Albin M's user avatar
  • 171
0 votes
1 answer
106 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 ...
mdpugh's user avatar
  • 1
2 votes
1 answer
646 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 ...
André Nunes's user avatar
0 votes
0 answers
28 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: ...
user259826's user avatar
0 votes
1 answer
55 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{\...
Alex Shevchenko's user avatar
1 vote
0 answers
338 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=...
samir16's user avatar
  • 11
1 vote
1 answer
329 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 ...
Chilote's user avatar
  • 189
0 votes
1 answer
69 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{ ...
Svend Tveskæg's user avatar
2 votes
1 answer
629 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 ...
Keshav's user avatar
  • 123
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 ...
JHBWI's user avatar
  • 1
0 votes
0 answers
57 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 (...
Dirceu Soares Junior's user avatar
3 votes
3 answers
441 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 ...
llf's user avatar
  • 175
0 votes
0 answers
60 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 ...
Daniel Stich's user avatar
1 vote
1 answer
84 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} \...
Cla-Jan's user avatar
  • 57

1
2 3 4 5
11