ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Marcel Fabian Krüger" <tex@2krueger.de>
To: Hans Hagen <j.hagen@xs4all.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Changed behavior of ^^ in csname
Date: Fri, 12 Jun 2020 20:05:20 +0200	[thread overview]
Message-ID: <20200612180520.bnmjn4uobsjtie73@yoga> (raw)
In-Reply-To: <de06a8d1-b911-4059-36ae-869e6d722c18@xs4all.nl>

Hi,

thank you for fixing this in the latest version.
I found another problem with ^^, this time when followed by hexadecimal
digits:

\starttext
\normalsupmarkmode\zerocount
\catcode\circumflexasciicode=\superscriptcatcode% Ensure correct catcodes

\let\ß\relax
\show\ß % Shows "> \ß=\relax", no surprise here
\show\^^df % Should be the same, but actually shows "> \� %=undefined"
\show ß % Shows "> the letter ß"
\show ^^df % Should be the same, but actually shows "> the character "
           % and "luatex warning  > print: bad string offset"
\showthe\numexpr`\ß % Shows "> 223"
\showthe\numexpr`\^^df % Gives an error "! Improper alphabetic constant"

\stoptext


Best regards,
Marcel
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2020-06-12 18:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11  2:06 Marcel Fabian Krüger
2020-06-11  8:07 ` Hans Hagen
2020-06-11 10:24   ` Marcel Fabian Krüger
2020-06-11 17:51     ` Hans Hagen
2020-06-11 20:47       ` Marcel Fabian Krüger
2020-06-12  6:04         ` Hans Hagen
2020-06-12 18:05       ` Marcel Fabian Krüger [this message]
     [not found]       ` <20200615121737.ytepj47mtvmcujy4@yoga>
     [not found]         ` <98372899-4f2e-447b-c9f1-29c80fcec13d@xs4all.nl>
     [not found]           ` <20200617101059.3zvwgt5qltufl64v@yoga>
2020-06-17 13:43             ` Yet another cornercase of ^^ handling in LuaMetaTeX Hans Hagen
2020-06-17 14:24               ` Marcel Fabian Krüger
2020-06-17 16:12                 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200612180520.bnmjn4uobsjtie73@yoga \
    --to=tex@2krueger.de \
    --cc=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).