ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with the 'scrp-cjk.lua'
@ 2009-11-29  8:14 Yanrui Li
  2009-11-29 12:20 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Yanrui Li @ 2009-11-29  8:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 983 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1300 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-29 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-29  8:14 Problem with the 'scrp-cjk.lua' Yanrui Li
2009-11-29 12:20 ` Hans Hagen
     [not found]   ` <c3f901470911290453n7275fe68o7cb4277a23b85293@mail.gmail.com>
2009-11-29 13:02     ` Yanrui Li
2009-11-29 14:49       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).