[texhax] hyperref problem

Heiko Oberdiek heiko.oberdiek at googlemail.com
Wed Aug 1 18:14:15 CEST 2012


On Wed, Aug 01, 2012 at 03:22:28PM +0000, Nitecki, Zbigniew H. wrote:

> \usepackage{makeidx}

> \renewcommand{\deffont}[1]{\textbf{#1}\index{#1}}

> \newcommand{\deffontcustom}[2]{\textbf{#1}\index{#2}}

> These are the \deffont{intercepts}.
> The intervals between the intercepts are called the \deffontcustom{axes}{axis|of ellipse} of this ellipse;
> the larger \resp{smaller}  is called the \deffontcustom{major axis}{axis|of ellipse|major}
> \resp{\deffontcustom{minor axis}{axis|minor|of ellipse}}; thus the larger of $a$ and $b$ is the
> \deffontcustom{semi-major axis}{axis  | semi-major | of ellipse} while the smaller is the \deffontcustom{semi-minor axis}{axis | semi-minor | of ellipse}.

> l.3   \item axis, \hyperindexformat{\minor}{1}
>                                               ,
> ?
> ./Hyperreftest.ind:4: Undefined control sequence.
> <argument> \of
>                ellipse
> l.4 \hyperindexformat{\of ellipse}{1}

> ./Hyperreftest.ind:5: Undefined control sequence.
> <argument> \semi
>                  -major
> l.5 ...m axis , \hyperindexformat{\semi-major }{1}

Please read the documentation of makeindex and learn about the
specials characters there. As default `|' is configured as
encap, therefore the name after it is treated as macro name.
The level char is available as '!':
  {axis!minor!of ellipse}
  {axis!semi-major!of ellipse}

Yours sincerely
  Heiko Oberdiek


More information about the texhax mailing list