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: Sun, 23 Nov 2008 15:15:58 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Sun, Nov 23, 2008 at 12:38:26PM +0100, Werner LEMBERG wrote:
> 
> The ideal fix of course is to get rid of the `sed' kludge in texi2dvi,
> perhaps by adding an option `--only-ifformat' to makeinfo, limiting
> the effect of any `--ifFORMAT' command line option so that only
> @ifFORMAT is handled and @FORMAT is ignored.
> 
> An alternative (and perhaps easier to implement) is to make option
> `-E' act as my proposed --only-ifformat option.  However, this is not
> backwards compatible...

Something along that is indeed required. But isn't it already the case?
My guess would be that with -E @FORMAT should be left as is, and it
should be ignored by the processor.

I may be missing something, but 
makeinfo --ifhtml --ifinfo --no-iftex -E t.texi cond.txi
leaves all the @ifnot @if sections?? 

texi2html removes the @if* as defined by the command line (except that
default is html and not info, but that's a detain that willl be changed 
soon), but also removes the @FORMAT.

My opinion is that @if* sections should be expanded, but the @FORMAT
sections kept as is (except if they were in a @ifnot or @if section that
was not expanded).

--
Pat




reply via email to

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