[luatex] Setting language inside nodelist

Patrick Gundlach patrick at gundla.ch
Mon Sep 21 10:27:09 CEST 2009


Am 21.09.2009 um 10:07 schrieb Taco Hoekwater:

> Patrick Gundlach wrote:
>> Hello again...
>> I try to set the language inside a nodelist. Let's say I have done  
>> something like
>> l=lang.new()
>> l:patterns([==[
>> ... for example german hyphenation patterns ..
>> ]==])
>> l:id()  -- returns 1
>> Now \language1 switches to the german hyphenation patterns.
>> But when I go thru the nodelist with the pre_linebreak_filter, it  
>> is not enough to set the lang fields in the glyph nodes to 1. I  
>> have to explicitly say \language1 in my TeX text. Why is this?  
>> There are no other nodes where I can set the lang field.
>
> Hm, this sounds a bit like a bug. Can you create a tracker.luatex.org
> item along with a full example file?

I will do so.

Patrick



More information about the luatex mailing list