Re: hyperrefとchappg併用時の索引について

名前: 山口博之
日時: 2005-01-12 17:26:51
IPアドレス: 192.51.44.*

>>33683 Web上に気になる情報がありました。出典は以下です。 http://www.google.fr/groups?q=hyperref/index&hl=fr&lr=&selm=37c49d7f.8399693%40news.uni-freiburg.de&rnum=1 ↓<引用(ここから)>↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ De :Heiko Oberdiek (oberdiek@ruf.uni-freiburg.de) Objet :Re: Pd: hyperref/index View: Complete Thread (2 articles) Original Format Groupes de discussion :comp.text.tex, fr.comp.text.tex Date :1999/08/26 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> -------------------------------------------------------------------------------- ↑<引用(ここまで)>↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ 英語なので、よく理解できないのですが、本件と関係あるでしょうか?

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)