[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: latest groff documentation is incompatible with latest GNU texinfo
From: |
Werner LEMBERG |
Subject: |
Re: latest groff documentation is incompatible with latest GNU texinfo |
Date: |
Mon, 19 Apr 2004 16:34:33 +0200 (CEST) |
> The problem is that the latest version of groff has a texinfo
> file that is rejected by the latest version of GNU texinfo.
> Here's the output of the above commands:
>
> groff.texinfo:846: Multiline command @group used improperly.
> groff.texinfo:852: Unmatched address@hidden'.
> groff.texinfo:852: Unmatched address@hidden'.
> groff.texinfo:856: Multiline command @group used improperly.
> groff.texinfo:861: Unmatched address@hidden'.
> groff.texinfo:861: Unmatched address@hidden'.
> groff.texinfo:1069: Multiline command @group used improperly.
> groff.texinfo:1071: address@hidden' expected `table', but saw `group'.
> groff.texinfo:1071: address@hidden' expected `table', but saw `example'.
> ...
> Too many errors! Gave up.
This is indeed a texinfo bug. I have
@macro Example
@example
@group
@end macro
@macro endExample
@end group
@end example
@end macro
@Example
groff -a -man -Tdvi troff.man | less
@endExample
and this now fails.
Nothing in the documentation prevents this -- it only talks about
incompletely nested macro definitions -- and up to 4.6 it has worked
flawlessly.
I strongly suggest to use groff.texinfo as a torture test for texinfo
(both the makeinfo and TeX part), as it has repeatedly shown bugs and
problems in texinfo. Had I known the release date of 4.7 in advance,
I would have been able to test it.
There are other problems also which I will try to investigate soon.
Werner