bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi2html: command line option problems


From: Patrice Dumas
Subject: Re: texi2html: command line option problems
Date: Fri, 28 Nov 2008 15:30:35 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Nov 28, 2008 at 02:35:21PM +0100, Werner LEMBERG wrote:
> > > BTW: Does texi2html already support other output formats (besides
> > > HTML)?  If the answer is yes, how shall I call texi2hmtl?
> >
> > It is called with an init file, like
> > texi2html --init xml.init
> 
> Thanks.  What about the `info' format?

It is info.init, but it is a work in progress. It is very different from
the other xml based formats, it is not a free form format, requires byte
and line counting, and splitting according to those counts. The
formatting without counting is not an issue, but counting is more
complicated.

My current plan is to do a tree of the @-commands and paragraphs and go
through the tree to locate all the commands that need to be located
while doing the byte counting. This is quite complicated, but curently
texi2html only outputs the result when a command is closed, not as soon
as text arrives, so doing the count is not straightforward.

> > roff with roff.init
> 
> [Speaking as the groff maintainer] Aah, will test that as soon as time
> permits.

I made it some time ago, but it has not been updated for a long time. It
uses the me macros. I mimicked the output of another texi to groff
processor, and used the doc to figure out the output, but help from
somebody who knows what roff output should look like would really be
needed to have something right.

--
Pat




reply via email to

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