Hi there,

The following is the message from Werner.

BTW, it works. Thanks, Werner!

Regards,
Jinsong


-------- Original Message --------
Subject: Re: [Cjk] \CJKchar[UTF8] or \Unicode cannot break line totally
Date: Sun, 26 Aug 2012 12:45:33 +0200 (CEST)
From: Werner LEMBERG <w...@gnu.org>
To: jsz...@yeah.net


[Please forward this my answer to cjk@ffii.org, since I can't post to
this list any more.]

> The following code can not break line totally. Using \Unicode to
> replace \CJKchar[UTF8] have the same problem.  [...]

Thanks for the report.  This is a very old error, probably since the
very beginning, which has escaped my tests.  Below is a patch, now in
the git repository.  Please test!


     Werner


======================================================================


diff --git a/texinput/CJK.sty b/texinput/CJK.sty
index 3fa8362..ac3563a 100644
--- a/texinput/CJK.sty
+++ b/texinput/CJK.sty
@@ -255,7 +255,7 @@
       \def\CJKtemp{\csname\CJK@tempa\endcsname}
     \fi

-   \ifCJK@CJK@
+   \ifCJK@latin@
       \CJKtemp
     \else
       \expandafter\CJK@testInList\expandafter\CJK@uniPunct




_______________________________________________
Cjk maillist  -  Cjk@ffii.org
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to