Viewers for PDF, PS, and DVI ⇒ How to suppess navigation pane in Acrobat Reader
How to suppess navigation pane in Acrobat Reader
I am using TexnicCenter to compile my tex files using pdflatex. On everything that I compile, Acrobat Reader's navigation panel appears on the left side of my compiled pdf (I do not have professional version). Currently, I need to use the mouse, or hit f4, to make it disappear, and it's, well, rather annoying.
I have searched and searched, but am unable to find a LaTeX command to suppress this navigation panel (with bookmarks, etc.) from appearing. Is there such a command, and if so, can someone tell me what it is? Thanks!
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
How to suppess navigation pane in Acrobat Reader
Code: Select all
\usepackage[bookmarks=false]{hyperref}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to suppess navigation pane in Acrobat Reader
Code: Select all
\usepackage[bookmarksopen=false]{hyperref}
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to suppess navigation pane in Acrobat Reader
Code: Select all
\usepackage[pdftex,a4paper,ps2pdf,linkbordercolor={0 0 0},pdfborder={0 0 0},bookmarks=false]{hyperref}
How to suppess navigation pane in Acrobat Reader
Now I'm getting the following error now when I try to compile: "option clash for package hyperref" (and I'm getting it whether I use
\usepackage[bookmarks=false]{hyperref}
or \usepackage[bookmarksopen=false]{hyperref}
)I get the same message on 2 separate tex files; while one of the document classes is for a PhD dissertation (proprietary?), the other is Beamer. In both cases I do not believe I have specified anything else for the hyperref package, so I'm not sure what's clashing here.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to suppess navigation pane in Acrobat Reader
My last reply was an assumption thus a random shot. If your solution works, I'm sure it will be useful for the OP.php1ic wrote:Perhaps it's the combination of packages and options I use, but "bookmarksopen=false" doesn't work for me. [...]
For the first case try inserting this option into the option list for the document class. The class will pass it to hyperref. For the beamer class you also have to add something to the option list.ralphey wrote:Now I'm getting the following error now when I try to compile: "option clash for package hyperref" (and I'm getting it whether I use \usepackage[bookmarks=false]{hyperref} or \usepackage[bookmarksopen=false]{hyperref} )
I get the same message on 2 separate tex files; while one of the document classes is for a PhD dissertation (proprietary?), the other is Beamer. In both cases I do not believe I have specified anything else for the hyperref package, so I'm not sure what's clashing here.
Code: Select all
\documentclass[...,hyperref={bookmarks=false},...]{beamer}
Code: Select all
\documentclass[...,hyperref={pdfpagemode=FullScreen},...]{beamer}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: How to suppess navigation pane in Acrobat Reader
\documentclass[...,bookmarks=false,...]{xyz}?
For the Beamer file, I got it to work great with the fullscreen command. With the hyperref={bookmarks=false} command in the \documentclass options, I also get the PDF to compile, and NO NAVIGATION PANEL!!!, but there are tons of errors, most read "Undefined control sequence <argument> \@outlinefile", or "Missing number, treated as zero. <to be read again>" -> it looks like they are mostly dealing with sections and subsections of my Beamer tex file. Any idea how to remedy this?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to suppess navigation pane in Acrobat Reader
Exactly. The class should pass the option to the hyperref package.ralphey wrote:Thanks for your excellent suggestions - so I understand correctly, for the non-Beamer tex file are you saying to pass just the option into the document class, like so:
\documentclass[...,bookmarks=false,...]{xyz}? [...]
Perhaps this contradicts some essential settings in beamer. To find that out, you have to build a minimal working example (MWE) which reproduces the misbehaviour. Follow exactly the instructions for building a MWE.ralphey wrote:[...] For the Beamer file, I got it to work great with the fullscreen command. With the hyperref={bookmarks=false} command in the \documentclass options, I also get the PDF to compile, and NO NAVIGATION PANEL!!!, but there are tons of errors, most read "Undefined control sequence <argument> \@outlinefile", or "Missing number, treated as zero. <to be read again>" -> it looks like they are mostly dealing with sections and subsections of my Beamer tex file. Any idea how to remedy this?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to suppess navigation pane in Acrobat Reader
Code: Select all
\usepackage[pdfpagemode=UseNone]{hyperref}
-
- Posts: 7
- Joined: Mon Apr 16, 2018 11:04 am