[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: |
Mike FABIAN |
Subject: |
Re: latest groff documentation is incompatible with latest GNU texinfo |
Date: |
Fri, 02 Jul 2004 16:21:24 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (celeriac, linux) |
address@hidden (Karl Berry) さんは書きました:
> Do you have any idea how to fix the bug in texinfo?
>
> I haven't looked into it yet. @macro problems are not a priority for
> me, and I guess Alper has not had any time to work on Texinfo recently.
>
> I expect you could trivially work around the bug by getting rid of the
> Example and endExample macros in groff.texinfo and just writing out the
> @example&@group, if some sort of fix is time-critical.
I already did that, but then similar problems show up with other
macros. Therefore I thought it might be nicer to fix makeinfo.
But I can probably just go on and expand the other problematic macros
as well.
> There won't be
> another Texinfo release any time soon.
>
> Best,
> karl
>
>
> P.S. I had to look up the old report in the archives to know what you
> were referring to. For the record, here it is again :).
Thank you.
> Date: Mon, 19 Apr 2004 16:34:33 +0200 (CEST)
> To: address@hidden
> From: Werner LEMBERG <address@hidden>
> Cc: address@hidden, address@hidden
> Subject: Re: latest groff documentation is incompatible with latest GNU
> texinfo
>
> eggert> 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.
>
--
Mike FABIAN <address@hidden> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。