GeneralHow to get bookmarks in the PDF

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Medova
Posts: 28
Joined: Thu Nov 06, 2008 4:20 pm

How to get bookmarks in the PDF

Post by Medova »

Does anyone know what determines of you get bookmarks and hyperlinks in the PDF-file created from LaTeX to PS to PDF...?
I suppose that it's not a preamble related problem, since my friend borrowed my preamble but still get no bookmarks or hyperlinks in his PDFs - is it a package? And in that case, which package?

Thx...

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to get bookmarks in the PDF

Post by localghost »

It's simply the hyperref package which is responsible for bookmarks and similar things. Refer to its documentation to get things work.


Best regards
Thorsten¹
Medova
Posts: 28
Joined: Thu Nov 06, 2008 4:20 pm

Re: How to get bookmarks in the PDF

Post by Medova »

Thx, that was what I've read earlier on this and other fora, but there seems to be more to it. He is using {hyperref}, but still gets no bookmarks. Is there styles or packages that {hyperref} is not compatible with? Ex. the package {pslatex}

When I turn my {hyperref} on and off it acts as it should, but I'm not using {pslatex}
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to get bookmarks in the PDF

Post by localghost »

In this case we need to see the (complete) preamble to comprehend the problem. But the best would be if there's a minimal working example (MWE) provided that shows the undesired behavior. Sometimes during the process of creation the problem already can be fixed and so gets solved this way.
curiouslearn
Posts: 105
Joined: Fri Nov 30, 2007 11:32 pm

Re: How to get bookmarks in the PDF

Post by curiouslearn »

I am not entirely sure, but, don't you have to use PDFLatex directly to get hyperlinks? Your friend's problem might be that he is first getting the ps output. Maybe I am wrong...because, otherwise localghost would have pointed this out
Medova
Posts: 28
Joined: Thu Nov 06, 2008 4:20 pm

Re: How to get bookmarks in the PDF

Post by Medova »

To generate this problem, all I needed was to make a preable containing:

\documentclass[a4paper,11pt,twoside,openright,english]{report}
\usepackage{hyperref}

This generates bookmarks for me but not for my friend - so this is not a preamble/package-problem I guess... could it be some setting in TeXnic Center, Adope distiller or elsewere?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to get bookmarks in the PDF

Post by localghost »

Compile exactly the same minimal working example (MWE) on both machines to compare the log files. It is very important that you use the same compiler to get the same output format. Insert as very first line the \listfiles command into the code. Post the two log files here as attachment.
Post Reply