Re: [l2h] Add a custom footer

2020-11-04 Thread Jacques B. Siboni
thank you so much I'm gonna experiment ...

Jacques


On Wed, 2020-11-04 at 09:19 +0900, Shigeharu TAKENO wrote:
> 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)
> > "\n" . ""
> > # Now add a few buttons with a space between them
> > #. "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS"
> > . "\n"  # Line break
> > # If ``next'' section exists, add its title to the navigation panel
> > . ($NEXT_TITLE ? " $next_name: $NEXT_TITLE\n" : undef)
> > # Similarly with the ``up'' title ...
> > . ($UP_TITLE ? " $up_name: $UP_TITLE\n" : undef)
> > # ... and the ``previous'' title
> > . ($PREVIOUS_TITLE ? " $prev_name: $PREVIOUS_TITLE\n" : undef)
> > # ... and the ``contents'' title
> > . ($CONTENTS_LINK ? "   $CONTENTS_LINK " : undef)
> > # ... and the ``index'' title
> > . ($INDEX_LINK ? "   $INDEX_LINK " : undef)
> > }
> 
> The function can put any html code. For example, 
> 
>   sub bot_navigation_panel {
> "\n" . ""
> . "\n"  # Line break
> . ($NEXT_TITLE ? " $next_name: $NEXT_TITLE\n" : undef)
> . ($UP_TITLE ? " $up_name: $UP_TITLE\n" : undef)
> . ($PREVIOUS_TITLE ? " $prev_name: $PREVIOUS_TITLE\n" : undef)
> . ($CONTENTS_LINK ? "   $CONTENTS_LINK " : undef)
> . ($INDEX_LINK ? "   $INDEX_LINK " : undef)
> # To add a image to the bottom 
> . "\n"
> # To add a link to top page
> . "Back to my home page\n"
>   }
> 
> ++
>  Shigeharu TAKENO NIigata Institute of Technology
>kashiwazaki,Niigata 945-1195 JAPAN
>  
> sh...@iee.niit.ac.jp
>TEL(): +81-257-22-8161
> ++
> 
-- 
Jacques B. Siboni mailto:jac...@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


___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


Re: [l2h] Add a custom footer

2020-11-03 Thread Shigeharu TAKENO
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)
| "\n" . ""
| # Now add a few buttons with a space between them
| #. "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS"
| . "\n"  # Line break
| # If ``next'' section exists, add its title to the navigation panel
| . ($NEXT_TITLE ? " $next_name: $NEXT_TITLE\n" : undef)
| # Similarly with the ``up'' title ...
| . ($UP_TITLE ? " $up_name: $UP_TITLE\n" : undef)
| # ... and the ``previous'' title
| . ($PREVIOUS_TITLE ? " $prev_name: $PREVIOUS_TITLE\n" : undef)
| # ... and the ``contents'' title
| . ($CONTENTS_LINK ? "   $CONTENTS_LINK " : undef)
| # ... and the ``index'' title
| . ($INDEX_LINK ? "   $INDEX_LINK " : undef)
| }

The function can put any html code. For example, 

  sub bot_navigation_panel {
"\n" . ""
. "\n"  # Line break
. ($NEXT_TITLE ? " $next_name: $NEXT_TITLE\n" : undef)
. ($UP_TITLE ? " $up_name: $UP_TITLE\n" : undef)
. ($PREVIOUS_TITLE ? " $prev_name: $PREVIOUS_TITLE\n" : undef)
. ($CONTENTS_LINK ? "   $CONTENTS_LINK " : undef)
. ($INDEX_LINK ? "   $INDEX_LINK " : undef)
# To add a image to the bottom 
. "\n"
# To add a link to top page
. "Back to my home page\n"
  }

++
 Shigeharu TAKENO NIigata Institute of Technology
   kashiwazaki,Niigata 945-1195 JAPAN
 sh...@iee.niit.ac.jp   TEL(): +81-257-22-8161
++
___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


Re: [l2h] Add a custom footer

2020-11-03 Thread Jacques B. Siboni
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)
"\n" . ""
# Now add a few buttons with a space between them
#. "$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS"
. "\n"  # Line break
# If ``next'' section exists, add its title to the navigation panel
. ($NEXT_TITLE ? " $next_name: $NEXT_TITLE\n" : undef)
# Similarly with the ``up'' title ...
. ($UP_TITLE ? " $up_name: $UP_TITLE\n" : undef)
# ... and the ``previous'' title
. ($PREVIOUS_TITLE ? " $prev_name: $PREVIOUS_TITLE\n" : undef)
# ... and the ``contents'' title
. ($CONTENTS_LINK ? "   $CONTENTS_LINK " : undef)
# ... and the ``index'' title
. ($INDEX_LINK ? "   $INDEX_LINK " : 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 {
> "".
> ($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef) .
> ($NEXT_TITLE ? " Next: $NEXT_TITLE\n" : undef) .
> ($UP_TITLE ? "Up: $UP_TITLE\n" : undef) . 
> "\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
>  
> sh...@iee.niit.ac.jp
>TEL(): +81-257-22-8161
> ++
-- 
Jacques B. Siboni mailto:jac...@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


___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


Re: [l2h] Add a custom footer

2020-10-18 Thread Shigeharu TAKENO
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 {
"".
($PREVIOUS_TITLE ? " Previous: $PREVIOUS_TITLE\n" : undef) .
($NEXT_TITLE ? " Next: $NEXT_TITLE\n" : undef) .
($UP_TITLE ? "Up: $UP_TITLE\n" : undef) . 
"\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
 sh...@iee.niit.ac.jp   TEL(): +81-257-22-8161
++
___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html