On Apr 23,  7:56pm, Steffen Klupsch wrote:
> Subject: latex2html: Static file names for specific html pages possible?
> I need to provide static file names for some entry points in my l2h
> documents. At the moment I "produce" this file names using the
> sectioning commands.

This isn't exactly what you're asking for, but it is probably a safer way to
get the same effect (I imagine that changing the output file names at random
points is likely to be problematic)

You _can_ have the filenames based on the section titles.  There's a couple of
ways built in:
 set $LONG_TITLES to the number of words from the section title that you
want to have in the name
  or
 set $CUSTOM_TITLES and define the sub custom_title_hook($title) to
derive the filename you want from the title.

For example, with section numbering on, the following code names the files
after the section numbers.
$SHOW_SECTION_NUMBERS = 1;
$CUSTOM_TITLES=1;
sub custom_title_hook {
    my($TITLE)=@_;
    $TITLE =~ /^([^\s]*)/;
    $1; }

-- 
--
[EMAIL PROTECTED]
http://math.nist.gov/~BMiller/

Reply via email to