From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Yet another cornercase of ^^ handling in LuaMetaTeX
Date: Wed, 17 Jun 2020 18:12:03 +0200 [thread overview]
Message-ID: <0a70f360-b941-c447-ea74-65bb2f0e49cf@xs4all.nl> (raw)
In-Reply-To: <20200617142403.iop5zzo3kbd433o3@yoga>
On 6/17/2020 4:24 PM, Marcel Fabian Krüger wrote:
> How does this work with mark nodes? Their mark field has a table
> containing triples of command, character and "cs" value. How can the
> actual csname of a controlsequence be extracted from this in LuaMetaTeX?
at the token ends marks are stored as token lists but not directly
accessible by a token itself as they get resolved during a split; a
topmarks token is a cmd/chr combination that indicates that token
(\topmarks) which then picks up a number (i noticed that i somehow lost
picking up the number at the tex end but i'll fix that)
i'll add a tex.getmarks("top|bottom|...",<class number>) for whatveer
use it might have and probably also backport that to luatex then
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2020-06-17 16:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-11 2:06 Changed behavior of ^^ in csname 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
[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 [this message]
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=0a70f360-b941-c447-ea74-65bb2f0e49cf@xs4all.nl \
--to=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).