🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #11803

Re: Pd: hyperref/index

#11803
From: Heiko Oberdiek
Date: Thu, 26 Aug 1999 00:00
28 lines
1682 bytes
On Wed, 25 Aug 1999 17:50:49 +0200, Jorn Migge <Jorn.Migge@loria.fr>
wrote:

>the hyperref package creates hyperlinks for equations, sections, ...
>that work in Xdvi and Acroread4 (using pdflatex). I tried
>"hyperindex=true" but no links appeared in the index. In the manual one
>can read "Easily broken ..." about hyperindex, but it does not say why. 

hyperref adds "|hyperpage" at the end of the index entry, so the page
numbers become links.
But makeindex understand only _one_ |-feature, e.g.:
  \index{Hello} ==> Hallo|hyperpage ==> this should be ok.
  \index{World|textbf} ==> Hallo|textbf|hyperpage
     ==> makeindex does not accept this entry.
Therefore hyperref checks if a |-entry is present and
does not add "|hyperpage" to avoid conflicts with makeindex.

The solution is to create your own macros that add the hyperlink
support and disable hyperindex, e.g.:
  \usepackage[hyperindex=false]{hyperref}
  \newcommand*{\normal}[1]{\hyperpage{#1}}
  \newcommand*{\important}[1]{\textbf{\hyperpage{#1}}}
  ...
  \index{Hello|normal}
  \index{World|important}

Yours sincerely
  Heiko <oberdiek@ruf.uni-freiburg.de>
Technical Details
Message-ID: <37c49d7f.8399693@news.uni-freiburg.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37C410D9.F2185F5F@loria.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,a4d14dbc5394d20
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 10ee61,a4d14dbc5394d20
X-Google-Attributes: gid10ee61,public
From: oberdiek@ruf.uni-freiburg.de (Heiko Oberdiek)
Subject: Re: Pd: hyperref/index
Date: 1999/08/26
Message-ID: <37c49d7f.8399693@news.uni-freiburg.de>
X-Deja-AN: 517282093
References: <37C410D9.F2185F5F@loria.fr>
Organization: Rechenzentrum der Universitaet Freiburg, Germany
Newsgroups: comp.text.tex,fr.comp.text.tex