bug-texinfo
[Top][All Lists]
Advanced

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

Re: xetex (TeXLive 2015) doesn't like @node with ß


From: Jonas Hahnfeld
Subject: Re: xetex (TeXLive 2015) doesn't like @node with ß
Date: Tue, 23 Mar 2021 20:58:54 +0100
User-agent: Evolution 3.38.4

Am Montag, dem 22.03.2021 um 21:24 +0000 schrieb Gavin Smith:
> On Mon, Mar 22, 2021 at 08:24:20PM +0100, Werner LEMBERG wrote:
> > 
> > Compiling
> > 
> >   \input texinfo.tex
> > 
> >   @documentencoding UTF-8
> > 
> >   @node ß
> >   @unnumberedsubsec ß
> > 
> >   @bye
> > 
> > makes xetex from TeXLive 2015 abort with
> > 
> >   ! Extra @else.
> >   @txiescapepdf ...hisisundefined @xdef #1{#1}@else 
> >                                                     @xdef 
> > #1{@pdfescapestring ...
> 
> I don't know if it is the same problem but I found with regular pdfetex
> (pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)) there was also
> an error with the input.
> 
> ! Argument of @ss has an extra }.
> <inserted text> 
>                 @par 
> <to be read again> 
>                    }
> @txiescapepdf ...se @xdef #1{@pdfescapestring {#1}
>                                                   }@fi 

Indeed, with this simplified example even pdfetex errors out, but
curiously xetex from TeXLive 2020 works. Of course the real file didn't
have the special character at the end, and when appending an ASCII
character it works with both from TeXLive 2020 (but is probably still
incorrect).


> I fixed it with the following as the change that you refer to required
> @ss to be followed with a pair of empty braces.  Does this fix the problem
> for that version of XeTeX too?
> 
> If so I can go through and add the {} everywhere they should be in
> the character definitions.
> 
> diff --git a/doc/texinfo.tex b/doc/texinfo.tex
> index 9fd5332dd1..f80ca6cf44 100644
> --- a/doc/texinfo.tex
> +++ b/doc/texinfo.tex
> @@ -10455,7 +10455,7 @@ directory should work if nowhere else does.}
>    \DeclareUnicodeCharacter{00DC}{\"U}%
>    \DeclareUnicodeCharacter{00DD}{\'Y}%
>    \DeclareUnicodeCharacter{00DE}{\TH}%
> -  \DeclareUnicodeCharacter{00DF}{\ss}%
> +  \DeclareUnicodeCharacter{00DF}{\ss{}}%
>    %
>    \DeclareUnicodeCharacter{00E0}{\`a}%
>    \DeclareUnicodeCharacter{00E1}{\'a}%
> 
> 

I can confirm this works for "@unnumberedsubsec ßa" with XeTeX on
Ubuntu 16.04.

However, would it be valid input from the user to do @ss in the texi
file? That would still choke, right?

Thanks!
Jonas

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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