[texhax] Links in Document do not work anymore

Pascal Bernhard pascal.bernhard at belug.de
Wed Apr 2 18:24:36 CEST 2014


Hi Johannes,

as your minimal example didn't work for me either I realized that my PDF 
viewer
was/is the real culprit. I used 'Okular' so far, as I like its 
annotation
capabilities, but apparently the version it was updated to on Sunday
can't handle links anymore. Viewing my PDFs with 'Evince' or 'Atril' 
works
fine.

Without your minimal example I probably wouldn't have guessed what the 
real
problem was, so thank you very much. The link to the German forum was 
also
helpful, as I came upon the hyperxmp package I didn't know of.


Pascal


Am , schrieb Johannes Böttcher:
> Hi Pascal,
> 
> your example works for me. Try out the following more minimal
> example to test. Did you, by any chance made some update of
> your distribution? Or did you add the option »hidelinks« unconciously,
> and so all links are, well, hidden. Could have happened ;-)
> 
> %8<------------------------------
> \documentclass{scrreprt}
> 
> \usepackage[T1]{fontenc}
> \usepackage[bookmarks=true,pdftoolbar=true,
> pdfmenubar=true,pdfstartview={FitH},
> pdftitle={Gasmarktliberalisierung im Baltikum},
> pdfauthor={Pascal Bernhard},
> pdfproducer={Texlive-LaTeX 2013 on
> Sabayon GNU/Linu 3.12},citecolor=magenta,
> %hidelinks,%The link is not hidden anymore
> breaklinks=true]{hyperref}
> 
> \begin{document}
> 
> \section[Name of the section to be used by
> the reference]{Section 1}\label{sec:Section1}
> 
> As you can see in section \textsf{\nameref{sec:Section1}}
> 
> \end{document}
> %8<------------------------------
> 
> Btw: You should set the documents meta information
> via `\hypersetup`, not as option to hyperref. You can read
> more about it at TeXwelt.de [1]. Guessing from your pdftitle,
> you know the german language.
> 
> Best regards
> Johannes
> 
> [1]
> http://texwelt.de/wissen/fragen/2058/wie-kann-ich-metadaten-wie-titel-und-autor-im-pdf-angeben
> 
> 
> On 01.04.2014 21:30, Pascal Bernhard wrote:
>> Hi all,
>> 
>> today I realized that all of a sudden the hyperlinks (internal 
>> references as well as urls) aren't working anymore in my 
>> LaTeX-document. This must have happened over the past few days, it is 
>> only  today that I noticed that. Consequently I'm having trouble 
>> figuring out what has gone wrong. I have changed nothing the preamble 
>> or added any new packages, so it must something to do with the links I 
>> set.
>> 
>> 
>> Here I'm trying to construct a somewhat informative minimal example:
>> 
>> (I commented out the previous lines, since I wasn't sure whether 
>> '\ref' and '\nameref' can be used alongside, but that still didn't 
>> make my links work)
>> 
>> \documentclass[paper=4a,11pt,ngerman,BCOR=0pt,DIV=calc,headinclude,headsepline,numbers=noenddot,]{scrreprt} 
>> \usepackage[T1]{fontenc}
>> \usepackage{lmodern}
>> \usepackage[sc]{mathpazo}
>> 
>> \typearea[current]{calc}
>> 
>> \usepackage[ansinew]{inputenc}
>> 
>> \usepackage[bottom,flushmargin,hang,multiple]{footmisc}
>> 
>> \usepackage[bookmarks=true,pdftoolbar=true,pdfmenubar=true,pdfstartview={FitH},pdftitle={ 
>> Gasmarktliberalisierung im Baltikum},pdfauthor={Pascal 
>> Bernhard},pdfproducer={Texlive-LaTeX 2013 on
>> Sabayon GNU/Linu 
>> 3.12},citecolor=magenta,hidelinks,breaklinks=true]{hyperref}
>> 
>> \usepackage{xcolor}
>> \usepackage{titleref}
>> \usepackage{nameref}
>> 
>> \urlstyle{same}
>> 
>> 
>> \begin{document}
>> 
>> %Here is a label to a 
>> footnote\footnote{\label{foot:Ownership_Unbundling}}
>> 
>> 
>> %Here I'm talking abou Ownership Unbundling (for a definition
>> %see:\textsf{\textcolor{MidnightBlue}{\ref{foot:Ownership_Unbundling}}})
>> 
>> 
>> \section[Name of the section to be used by the reference]{Section 
>> 1}\label{sec:Section1}
>> 
>> As you can see in section \textsf{\nameref{sec:Section1}}
>> 
>> 
>> \end{document}
>> 
>> Thanks a lot for your suggestions,
>> 
>> Pascal
>> 
>> 
> 
> 
> 
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: 
> http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

-- 
--------------------------------
Pascal Bernhard

Berlin Linux User Group e.V.
Lehrter Str. 53
10557 Berlin
http://www.belug.de/

Amtsgericht Charlottenburg
VR 22706
1. Vorsitzender: Fred Brockstedt




More information about the texhax mailing list