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
