> if I use
>
> \section{\htmladdnormallink{Internal pages}{/in-house/internal.html}}
>
> latex translates this into
>
> \contentsline {section}{\numberline {8} {\htmladdnormallink {Internal
> pages}{/in-house/internal.html}}}{7}
(in the table of contents)
> I presume the space after \htmladdnormallink breaks the command. Is
> there a way to avoid this, or a even better way to get a section as a
> link?
how would a following space (that tex's parser is going to gobble
anyway) affect any command?
do you have evidence of difficulty? (in fact, there's nothing you can
do about it anyway: the space is a consequence of \protect having been
set (ultimately) to \noexpand, and knuth in his wisdom made
\noexpand\controlseq come out as \controlseq<space> when written to
file.)
robin