bug-texinfo
[Top][All Lists]
Advanced

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

Re: another serious `texi2dvi -E' bug


From: Patrice Dumas
Subject: Re: another serious `texi2dvi -E' bug
Date: Tue, 25 Nov 2008 11:49:24 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Tue, Nov 25, 2008 at 08:31:41AM +0100, Werner LEMBERG wrote:
> 
> > Well, is there a version of texi2dvi already which uses texi2html for
> > expanding macros?
> 
> I tried to set
> 
>   MAKEINFO="texi2html --iftex" texi2pdf -E ...

You should also pass --no-ifhtml.
 
> (the option `--iftex' is passed so that texi2html handles the @iftex
> blocks of all included files also), but this fails with
> 
>   missing file argument
> 
> Apparently, texi2html can't act as a filter.  Looks like a bug...

Indeed. What should be the syntax? When there is no file name in
argument and somethng in STDIN, use that something?
-o -
and 
-E -
send output to stdout.
 
> BTW, the output of `texi2html --help' is extremely strange and doesn't
> look like any other --help output of GNU programs.  Additionally,

Indeed, it is produced by the 'MySimple' perl module. However, it
shouldn't be hard to mimic makeinfo help output. In any case to process
options like GNU getopt, a GetOpt::Long option has to be set. The plan
is to set it in the default case (and also set the few incompatible
options, switches to the makeinfo meaning), and to use texi2html
defaults when called as texi2html.

> short options like `-I foo' or `-o foo' aren't documented.

-I is documented as --I. -o is as --output (since options may be
abbreviated). With the texi2html GetOpt::Long options, -output works 
as well as --output, and also as -out.

--
Pat




reply via email to

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