Matthias Wächter wrote:
On 8/5/2008 6:48 PM, Hans Hagen wrote:
Matthias Wächter wrote:
On 8/5/2008 6:37 PM, Hans Hagen wrote:
Matthias Wächter wrote:
Do you know how this can be fixed? Is the descripion descriptive enough? will be fixed in the next release (tomorrow we plan to do a formal release) Thanks! I am looking forward to the change as I am curious what’s the proper way of doing it. you mean in lua code?
Yeah. While I survived a journey into changing some ConTeXt (MKII) functionality recently and found everything clear (texbook is your friend), I am really puzzled about attribute handling in Lua. But it’s just a couple of lines I have investigated, maybe I’ll be a wizz as soon I roll things up from bottom to top … ;-)
attributes are just a property of nodes, and characters in the input become nodes in this case there is a specific attribute for casing with a value that tells to do Words the tricky thing here is that when i process Word, i need to erase following casing attributes at some time in the future, context mkiv will provide a mechanism for user attributes (attribute processing can take place at several moments by intercepting the node list) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------