[Top][All Lists]

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

Re: Math styles

From: Gavin Smith
Subject: Re: Math styles
Date: Fri, 26 May 2017 18:42:11 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Thu, May 25, 2017 at 11:11:39PM +0200, Hans Åberg wrote:
> >> It results in the error:
> >>  String contains an invalid utf-8 sequence
> >> There are some character translations causing this, it seems.
> > 
> > I'd have to see the input file to know for sure, but one thing to check 
> > is that your input is properly formed UTF-8.
> > <sample.texi><sample-fixed.texi>
> When I run another .texi file with
>   @cindex ⇒
>   @cindex ¬
> luatex writes in the .cp file
>   \entry{⇒}{18}{⇒}
>   \entry{¬}{18}{¬}
> Then texindex writes, last, perhaps it should be first, in the .cps file
>   \initial {¬}
>   \entry {¬}{18}
>   \initial {‚}
>   \entry {‚áí}{18}
> Apparently, these contains malformed UTF-8, with the error below.

I couldn't reproduce this error. With the input

\input texinfo
@documentencoding UTF-8

@cindex ⇒
@cindex ¬
@cindex aaa

@printindex cp


I get the following in sample-utf8:

\initial {⇒}
\entry {⇒}{1}
\initial {¬}
\entry {¬}{1}
\initial {A}
\entry {aaa}{1}

(this is with texindex in awk, the version of texindex distributed with 
Texinfo 6.0 and later), which is all valid UTF-8.  The resulting
index looks fine too, with glyphs for all the characters that were used.
Does this input file not work for you?

Attachment: sample-utf8.pdf
Description: Adobe PDF document

Attachment: sample-utf8.texi
Description: TeXInfo document

reply via email to

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