> Hi there,
> 
> 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}
> 
> 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?
 
This seems to be a similar request to one made recently,
for a command  \htmladdTOCentry {<heading>}{<URL>}

The intent seems to be to make a (set of) HTML pages appear as if
they are part of another document.

Is this what you want Uli ?

This would mean that any section-numbering or equation-numbering
in the *foreign* section could be out-of-sequence with the main document.
However this may not be relevant in some documents.

This seems like a reasonable sort of command of have available.
(provided anyone using it was aware of the implications for
numbering figures/tables/subsections/equations etc.)

Certainly it would be a usefull command for the interweaving of Web
documents, where there need not be a meaningful LaTeX version.

What about cross-references ?
Part of the expansion  of \htmladdTOCentry could be to do
an \externalref{<URL>} to load any file  labels.pl at the remote site.
Maybe that's not advisable; leave it up to the author to
include this explicitly, if desired ?


Comments please.

I'll prepare the required code for  html.perl and  html.sty .
But I'll only merge it if there are no serious objections
that cannot be overcome.


All the best,

        Ross Moore


Reply via email to