[NTG-context] Yet another cornercase of ^^ handling in LuaMetaTeX

Hans Hagen j.hagen at xs4all.nl
Wed Jun 17 18:12:03 CEST 2020

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 Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl

More information about the ntg-context mailing list