[l2h] Add a custom footer

Jacques B. Siboni jacsib at lutecium.org
Tue Nov 3 16:59:49 CET 2020


Thanks for your answer Shigeharu

But this does not solve my problem. What I need to add is regular html code as
for inserting some images at the bottom of the pages, actually after the
standard buttons

Here is the bot navigation panel I use:

sub bot_navigation_panel {
    #  Start with a horizontal rule (3-d dividing line)
    "<HR>\n" . "<!--Navigation Panel-->"
    # Now add a few buttons with a space between them
    #. "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS"
    . "\n<BR>"		# Line break
    # If ``next'' section exists, add its title to the navigation panel
    . ($NEXT_TITLE ? "<B> $next_name:</B> $NEXT_TITLE\n" : undef)
    # Similarly with the ``up'' title ...
    . ($UP_TITLE ? "<B> $up_name:</B> $UP_TITLE\n" : undef)
    # ... and the ``previous'' title
    . ($PREVIOUS_TITLE ? "<B> $prev_name:</B> $PREVIOUS_TITLE\n" : undef)
    # ... and the ``contents'' title
    . ($CONTENTS_LINK ? "   <B> $CONTENTS_LINK</B\n> " : undef)
    # ... and the ``index'' title
    . ($INDEX_LINK ? "   <B> $INDEX_LINK</B\n> " : undef)
}

which is pretty standard, I want to insert some images after the index entry.

Thanks for your help

Jacques




On Mon, 2020-10-19 at 14:47 +0900, Shigeharu TAKENO wrote:
> shige 10/19 2020
> ----------------
> 
> Jacques B. Siboni wrote:
> > Is there a way to insert a custom footer at the bottom of each page? It has
> > to
> > be added to the automatically generated one. 
> > 
> > BTW I don't really get how the default one is generated.
> 
> To modify your footer, to insert customized bot_navigation_panel()
> in your ini file (.latex2html-init). For example,
> 
>   sub bot_navigation_panel {
>     "<HR>".
>     ($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) .
>     ($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) .
>     ($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) . 
>     "<HR>\n"
>   }
> 
> If you want to show the bottom navigation always, please put
> 
>   $AUTO_NAVIGATION = 0;
>   $BOTTOM_NAVIGATION = 1;
> 
> into the ini file.
> 
> +========================================================+
>  Shigeharu TAKENO     NIigata Institute of Technology
>                        kashiwazaki,Niigata 945-1195 JAPAN
>  
> shige at iee.niit.ac.jp
>    TEL(&FAX): +81-257-22-8161
> +========================================================+
-- 
Jacques B. Siboni mailto:jacsib at Lutecium.org
8 pass. Charles Albert, F75018 Paris, France
Tel: +33 142 287 678 Port: +33 612 536 959
Home Page: http://jacsib.lutecium.org/  
Lutecium pages: http://www.lutecium.org




More information about the latex2html mailing list.