Re: [l2h] Navigation Panel!!!! Please

2020-02-15 Thread Jacques B. Siboni
Hi Sébastien,

Thanks a lot, it works now.

Actually the main impossibility I met was due to the fact that somewhere were
still written $HTML_VERSION = '4.0' !!
Since I put 5, what happens is much more understandable for me!

Thanks to Julius too and
Merci Sébastien

Jacques


On Fri, 2020-02-14 at 14:14 +0100, Seb wrote:
> Hi Jacques,
> 
> 
> > I need to add a new button, always active, to the standard Next, Up, 
> > etc. Can someone be kind enough as to provide an example as exhaustive 
> > as possible to install this new button.
> 
> The thing to know is that you can insert any HTML code in the function 
> top_navigation_panel(), which you can place in .latex2html-init . Here is 
> a working example:
> 
> sub top_navigation_panel {
>  qq[
>  
>  .nav_top {
>  display:flex; justify-content:space-between;
>  background-color:black;
>  border-radius:3px;
>  padding:0.25em 0.75em;
>  font-family: sans-serif;
>  }
>  .nav_top a {color:white;}
>  
>  
>  Sommaire
>  Index
>  Retour à la page des auteurs
>  
>  \n].
> 
>  ($UP_TITLE
>  ? qq[ $UP_TITLE\n]
>  : undef) .
> 
>  ($PREVIOUS_TITLE
>  ? qq[
> $PREVIOUS_TITLE\n]
>  : undef) .
> 
>  ($NEXT_TITLE
>  ? qq[ $NEXT_TITLE\n]
>  : undef) .
> 
>  " \n"
> }
> 
> 
> Kind regards,
> Sébastien.
> 
> 
-- 
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] Navigation Panel!!!! Please

2020-02-14 Thread Julius Smith
You can define subs top_navigation_panel and/or bot_navigation_panel
in your .latex2html-init file.  Search in /usr/local/bin/latex2html
for the following et al. to see how it works (perl is easy to learn on
demand):

$top_navigation = (defined(_navigation_panel) ?
   _navigation_panel : _panel)
unless $NO_NAVIGATION;
$bot_navigation = (defined(_navigation_panel) ?
   _navigation_panel : _panel)
unless $NO_NAVIGATION;

On Fri, Feb 14, 2020 at 2:57 AM Jacques B. Siboni  wrote:
>
> Dear L2H lovers
>
> Being not very efficient in perl (I use Lisp!) I am totally unable to do
> something certainly very simple for most of you.
>
> I need to add a new button, always active, to the standard Next, Up, etc.
> Can someone be kind enough as to provide an example as exhaustive as possible 
> to
> install this new button.
>
> Actually it will be a search button opening, in a new frame, an URL.
> I have drawn the button somewhere, I have the URL.
>
> This seems to be very straightforward but I can't do it by reading the doc.
> The examples provided ($CUSTOM_BUTTONS ...) are too generic, and formal for my
> know how.
> What about the use of \htmladdtonavigation ...?
> I even had a look among the 3000 emails archive I have, with no success.
>
> This can be generalized to an actual howto method to add any button needed i.e
> home button, info, ...
>
>
> I'd be very grateful to get an enlightenment about this.
>
> Thanks in advance
>
> Jacques
>
>
> --
> 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



-- 
"Anybody who knows all about nothing knows everything" -- Leonard Susskind
___
latex2html mailing list
latex2html@tug.org
https://tug.org/mailman/listinfo/latex2html


[l2h] Navigation Panel!!!! Please

2020-02-14 Thread Jacques B. Siboni
Dear L2H lovers

Being not very efficient in perl (I use Lisp!) I am totally unable to do
something certainly very simple for most of you.

I need to add a new button, always active, to the standard Next, Up, etc.
Can someone be kind enough as to provide an example as exhaustive as possible to
install this new button.

Actually it will be a search button opening, in a new frame, an URL.
I have drawn the button somewhere, I have the URL.

This seems to be very straightforward but I can't do it by reading the doc.
The examples provided ($CUSTOM_BUTTONS ...) are too generic, and formal for my
know how.
What about the use of \htmladdtonavigation ...?
I even had a look among the 3000 emails archive I have, with no success.

This can be generalized to an actual howto method to add any button needed i.e
home button, info, ...


I'd be very grateful to get an enlightenment about this.

Thanks in advance

Jacques


-- 
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