[l2h] How can I linke a single page to cgi?

Ross Moore Ross Moore <ross@ics.mq.edu.au>
Thu, 20 Jan 2000 18:07:44 +1100 (EST)


> Horst,
> 
> I'm still not sure what you want.  Do you want an html page to show up
> that has a reference to a cgi where that cgi lists the other pages that
> can be downloaded?  You'd make the html page as normal using l2h with
> the reference to the cgi.

I think what he wants is to include a link to a remote place
(whether it be an HTML page or a cgi script is not really relevant)
as if it were a section in a LaTeX2HTML-generated document.



In terms of Perl programming, it means creating an entry for the
 %section_info  hash  and  %toc_section_info  hash,
without there being a local page corresponding to these entries.

In a sense this is what happens when using the Segmentation strategy,
by reading from the sections.pl  and  contents.pl  files of the
document segments.
Thus you could obtain what you need by constructing these .pl files
in some external editor, and using \internal commands to read them.

You'll also need to  \setcounter{section}{....} or {subsection} etc.
to keep the (internal) numbering consistent for the whole document.
Maybe you'll need a .ptr file as well.

Read about the Segmentation feature in the LaTeX2HTML documentation,
or in The LaTeX Web Companion, \S 3.5.7.2 (pp.145+)



Others have asked for this sort of feature,
so maybe I'll try to devise a simpler way to achieve it.
(But don't hold your breath waiting for it.  ;-)


Hope this helps,

	Ross Moore