Re: [NTG-context] Problem with the 'scrp-cjk.lua'
Yanrui Li wrote: Oh, sorry for my attachment file is too big. I deleted the 'no-patched-test.pdf'. Please see this attachment. ok. patched in next beta - 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 - ___ 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 ___
Re: [NTG-context] Problem with the 'scrp-cjk.lua'
Yanrui Li wrote: Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be broken after some Chinese punctuations in 'full_width_close' category. I think it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... The same problem also arises here: local injectors = { -- [previous] [current] ... ... ... half_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... It seems like it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... i have no problem patching that but can you also make a test file then so that we have some benchmark / reference? 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 - ___ 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 ___
[NTG-context] Problem with the 'scrp-cjk.lua'
Hi Hans, In the *hanzi* part of scrp-cjk.lua, there is: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... This causes that lines can not be broken after some Chinese punctuations in 'full_width_close' category. I think it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... The same problem also arises here: local injectors = { -- [previous] [current] ... ... ... half_width_close = { ... ... ... chinese = nobreak_shrink_break_stretch, ... ... ... It seems like it should be: local injectors = { -- [previous] [current] ... ... ... full_width_close = { ... ... ... chinese = stretch_break, ... ... ... -- Best regards, Li Yanrui ___ 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 ___