Search found 3 matches

by DavidSagan
Thu Oct 30, 2008 3:42 pm
Forum: Document Classes
Topic: Hyperref with index problem
Replies: 4
Views: 5194

Hyperref with index problem

Thanks for the tip. This does not quite do it. What is needed is:
\newcommand{\bb}[1]{\textbf{\hyperpage{#1}}}
Is this a bug that needs to be reported?

Cheers David

Try the following. At first define a new command.
\newcommand{\bb}[1]{\textbf{#1}}
Then use this when marking an index entry ...
by DavidSagan
Thu Oct 30, 2008 4:43 am
Forum: Document Classes
Topic: Hyperref with index problem
Replies: 4
Views: 5194

Re: Hyperref with index problem

Here is a simple example that can be run.

\documentclass{book}
\usepackage{makeidx}
\usepackage{hyperref}
\makeindex
\begin{document}
\chapter{A}
\index{this}
\chapter{B}
\index{this|textbf}
\printindex
\end{document}

Assuming that the above are in a file test.tex here are the commands to ...
by DavidSagan
Thu Oct 30, 2008 4:22 am
Forum: Document Classes
Topic: Hyperref with index problem
Replies: 4
Views: 5194

Hyperref with index problem

Hello:

I have the following problem: I am using the makeidx and hyperref packages
\usepackage{makeidx}
\usepackage[dvips,colorlinks=true]{hyperref}

In the text I have stuff like:
\index{AB_Multipole}
\index{AB_Multipole|textbf}

The .ind file that is created then looks like:
\item AB ...