···<date: 2012-06-25, Monday>···<from: Hans Hagen>···

> On 25-6-2012 15:39, Philipp Gesang wrote:
> 
> >   - Does the difference wrt node subtype matter assuming I only
> >     (a) copy glyph nodes and (b) manipulate their .char field?
>
> not that much, it's just a state signal for font processing

Good to know.

> >Any insights on this matter would be greatly appreciated. Regards
> >Philipp
> 
> it all depends on what you want to do

Traverse the node list of a paragraph before line break from head
to tail in sequential order, recursing into sublists where they
appear. The callback removes and inserts nodes: which ones
depends on the nodes already processed (has a state).

Using the previous example code,

  \startfoo
    a\hbox{b}c
  \stopfoo

should result in the traversal <glyph a>, <hlist ...>, <glyph c>.

Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgphTB6Av1bbl.pgp
Description: PGP signature

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to