bug-texinfo
[Top][All Lists]
Advanced

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

another serious `texi2dvi -E' bug


From: Werner LEMBERG
Subject: another serious `texi2dvi -E' bug
Date: Sun, 23 Nov 2008 12:38:26 +0100 (CET)

The bug description is simple: `texi2dvi -E' doesn't apply
$comment_iftex to included files.

However, a `natural' fix (which expands all @include'd files) within
texi2dvi is very hard to implement (and I doubt whether this is
desirable at all); I can thus imagine the following new texi2dvi
option:

  -P foo
  --preprocess-file=foo

    Preprocess file FOO before running TeX.  This is useful for large
    texinfo documents where @tex and @iftex blocks (which texi2dvi has
    to handle specially before calling `makeinfo -E') are not in the
    main file but @include'd.

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...

I'm willing to implement this (since we will need this for
lilypond :-).  Please comment which option is the preferred one.


    Werner




reply via email to

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