bug-texinfo
[Top][All Lists]
Advanced

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

Re: texi2dvi outputs toc commands on stdout for @include files


From: Karl Berry
Subject: Re: texi2dvi outputs toc commands on stdout for @include files
Date: Sun, 5 Feb 2012 11:26:49 -0800

Hi Patrice,

    the line that should be writen in the .toc file is written to stdout
    ...
    @numchapentry{chap}{1}{}{2}

This happens because @contents occurs after @top.  That's never been
supported -- @contents has to be outside all of the other material,
either at the beginning or the end, not in the middle.  Reduced test case:

\input texinfo.tex
@setfilename t.info
@top top
@contents
@chapter chap
@bye

I suppose texinfo.tex could detect this and issue an error instead of
just weird output, but it doesn't seem too critical.  On the other hand,
it would be nice for makeinfo to output a warning :).

Thanks,
k



reply via email to

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