| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 5 months |
| seen | Dec 3 '11 at 14:38 | |
| stats | profile views | 6 |
|
Dec 2 |
awarded | Scholar |
|
Dec 2 |
accepted | xeCJK messes with punctuation |
|
Dec 2 |
comment |
xeCJK messes with punctuation It was all too good to be true, then. I was working on a document with long sections in both Chinese and western languages, and thought I could just mix them freely and let XeLaTeX take care of it all for me. I also thought that the Unicode standard provided for distinct CJK punctuation, so that an ellipsis would be encoded differently in the ambit of Chinese text than it would using English, for instance. Too bad. Thanks, Leo. |
|
Dec 2 |
comment |
xeCJK messes with punctuation Thanks both for the much needed editing and the solution, @Alan. I have personally resorted to using \newfontfamily\CJK{STSong}, to similar effect. But just as you state, both your solution and mine are mere workarounds and the intended behavior of xeCJK is much nicer. My "question" was actually a sort of bug report that might not have belonged on this site, but I did see some posts by the author of xeCJK, and it seemed a way to reach him. |
|
Dec 2 |
awarded | Student |
|
Dec 2 |
comment |
xeCJK messes with punctuation Please forgive the appearance of the code… The "this , that" problem appears strictly when I set the main language to French, not if I set it to English. The "this…that" problem appears irrespective of whether the main language is French or English. |
|
Dec 2 |
comment |
xeCJK messes with punctuation\documentclass {memoir}
\usepackage{polyglossia}
\usepackage{xeCJK}
\setmainlanguage{french}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
%\setCJKmainfont {STSong}
\begin{document}
This… that
This, that
\end{document}
|
|
Dec 2 |
asked | xeCJK messes with punctuation |