[l2h] Add a custom footer

Shigeharu TAKENO shige at iee.niit.ac.jp
Wed Nov 4 01:19:41 CET 2020


shige 11/04 2020
----------------

"Jacques B. Siboni" wrote:
| 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)
| }

The function can put any html code. For example, 

  sub bot_navigation_panel {
    "<HR>\n" . "<!--Navigation Panel-->"
    . "\n<BR>"          # Line break
    . ($NEXT_TITLE ? "<B> $next_name:</B> $NEXT_TITLE\n" : undef)
    . ($UP_TITLE ? "<B> $up_name:</B> $UP_TITLE\n" : undef)
    . ($PREVIOUS_TITLE ? "<B> $prev_name:</B> $PREVIOUS_TITLE\n" : undef)
    . ($CONTENTS_LINK ? "   <B> $CONTENTS_LINK</B\n> " : undef)
    . ($INDEX_LINK ? "   <B> $INDEX_LINK</B\n> " : undef)
    # To add a image to the bottom 
    . "<BR><IMG SRC=\"/some/place/picture1.jpeg\" ALT=\"some image\">\n"
    # To add a link to top page
    . "<BR><A HREF=\"/index.html\">Back to my home page<A>\n"
  }

+========================================================+
 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige at iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161
+========================================================+


More information about the latex2html mailing list.