Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Jia Colin Zheng <to <at> jcolinzheng.org>
Subject: CJK inline markup problem and patch
Newsgroups: gmane.text.docutils.devel
Date: Thursday 13th August 2009 14:02:58 UTC (over 8 years ago)
(Tried to post at docutils-users but gmane didn't work)

Hello all,

In CJK reST texts (Docutils 0.6) it is cumbersome and ugly to use any
inline
markup: one always must use backslashes around a marked-up region, since
words
in CJK (ie CJK ideographs) are not space separated (by convention).

Here's a simple patch that attempts to make each CJK character behave like
a
word.  The UNICODE range for CJK is in CJK_range variable.  Let me know if
there
is any potential problem with this patch, or else we could put it in for
the
next release.

Regards,
Colin
 
CD: 2ms