help-texinfo
[Top][All Lists]
Advanced

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

Re: [help-texinfo] File no longer builds after upgrade to Texinfo 5.0


From: Mat Booth
Subject: Re: [help-texinfo] File no longer builds after upgrade to Texinfo 5.0
Date: Tue, 5 Mar 2013 08:34:47 +0000

On 5 March 2013 01:33, Patrice Dumas <address@hidden> wrote:
> On Mon, Mar 04, 2013 at 04:37:12PM +0000, Mat Booth wrote:
>> Hi all,
>>
>> [[[
>> You found a bug: context rawpreformatted instead of line or def
>>
>> Additional informations:
>> last location: pp3.texi:537
>> context_stack: (_root rawpreformatted rawpreformatted line rawpreformatted)
>> current: (misc_line_arg) :   contents(3)
>>  <- @cindex
>> Died at /usr/share/texinfo/Texinfo/Parser.pm line 1667.
>> ]]]
>>
>>
>> This is my first exposure to Texinfo so I am afraid I am unable to
>> make a smaller reproduction case.
>
> The smallest reproduction case was
>
> @cindex @tex
>
>> The error message "You found a bug:
>> context rawpreformatted instead of line or def" means absolutely
>> nothing to me and I cannot find any reference to this error message in
>> the manual at http://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html
>> Even Googling for it finds nothing relevant, only messages from the
>> texinfo commits mailing list.
>
> Indeed, that's a bug message that is not meant to happen at all.  You
> need to read (and understand...) the code to really understand what that
> means.  But reporting here is the way to go!
>
>> I would very much appreciate any hints on how to get this working with
>> Texinfo 5.
>
> The bug should be fixed in svn.

That's great, thanks for investigating so quickly!

>
> There are quite a bit of issues in your manual with texinfo 5.  I attach a
> diff for it too.  There are ugly conditionals to make it work with
> previous releases too.  If you can only use texinfo >= 5, you can only
> define the @macro s with @inlineraw.
>
> Even with this diff, there is still an error like
> pp3.texi:2614: unknown command `kern0' (possibly involving @s)
>
> The reason why this leads to an error now is documented as:
>
>   . @-commands are now recognized in raw format blocks.  Therefore, for
>     example, lone @, { and } characters in @tex, @html and similar
>     environments must be converted to the normal @@, @{, and @}
>     commands.
>
> My first guess is that you need to replace @kern0 by \kern0, but I am not
> very knowledgable in TeX.
>

Thanks for the explanation and for providing a patch for the manual
too. That's good, useful information - I'm sure I will be able to make
it work now.

As I encountered this problem in Fedora Rawhide, I have linked to this
discussion from https://bugzilla.redhat.com/show_bug.cgi?id=917974

Hopefully it's not too much trouble to have this patch in Fedora and
fixed for F19. :-)

Thanks again,
Mat

-- 
Mat Booth
http://fedoraproject.org/get-fedora



reply via email to

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