help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] texi2html Questions


From: Joel Sherrill
Subject: Re: [help-texinfo] texi2html Questions
Date: Mon, 5 Dec 2011 11:05:48 -0600
User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 12/02/2011 03:28 PM, Patrice Dumas wrote:
On Fri, Dec 02, 2011 at 09:36:26AM -0600, Joel Sherrill wrote:
I am glad to hear you think this isn't obvious. :)

I added that to an init file.  Invoked texi2html as follows
This init file is for the upcoming implementation to be released
soon, which is part of texinfo, in the tp directory, invoked as
texi2any.  So it is normal that it doesn't work with texi2html...

For texi2html, it would be

my $button_text = '<a href="../dir.html">Directory</a>';
push @SECTION_BUTTONS, \$button_text;
push @CHAPTER_BUTTONS, \$button_text;
push @MISC_BUTTONS, \$button_text;
push @TOP_BUTTONS, \$button_text;

$AFTER_BODY_OPEN =
'<A HREF="http://www.rtems.com";  target="Text Frame">
<IMG align=right BORDER=0 SRC="../images/rtems_logo.jpg" ALT="RTEMS
Logo">   </A>
<H1>RTEMS @VERSION@ On-Line Library</H1>
';

1;
Thank you very much!! I added PRE_BODY_CLOSE and the
document I am building by hand to try things out before
integrating into the build system now looks like we want it
to for web publication. :)

What does the "1;" do?
Thanks.  I really want to get in the mainstream.  The newer tools
are certainly more capable and consistent across the output
formats. I am hoping to remove some of our conditional magic. :)
texi2html is no longer maintained, in fact, the latest version released
will certainly not be used a lot since I couldn't make the announce.

The maintained version is texi2any from texinfo/tp.  It should be part
of the upcoming texinfo release, certainly to be done soon, and it has
a texi2html compatibility mode.  However, it is clear that it will pass
some time before it hits the distros.
Since you gave me the texi2any init style file, I am going to add it
to our tree as well as the texi2html one.  Hopefully autoconf
magic can be used to detect when to use each. Machines with
texi2html and not texi2any provided by the distro will likely be
around for years (e.g. RHEL 5 and 6 at least).

I have more questions but have a large patch to get ready
to merge to move us from texi2www to texi2www.

Thanks.


--
Joel Sherrill, Ph.D.             Director of Research&  Development
address@hidden        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





reply via email to

[Prev in Thread] Current Thread [Next in Thread]