<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I have been using XeLaTeX for a while now. Most of my materials are in English, or mixed Japanese and English. Until now, I have been using the following setup:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">- XeLaTeX + fontspec</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">- linebreaking in Japanese: <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">\XeTeXlinebreaklocale "ja"<br>\XeTeXlinebreakskip=0em plus 0.1em minus 0.01em</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">- Automatic switch between CJK and latin<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">\XeTeXinterchartokenstate = 1<br><br>% when going from not CJK to CJK<br>\XeTeXinterchartoks 0 1   = {\cjkfont}<br>\XeTeXinterchartoks 0 2   = {\cjkfont}<br>\XeTeXinterchartoks 0 3   = {\cjkfont}<br>\XeTeXinterchartoks 255 1 = {\cjkfont}<br>\XeTeXinterchartoks 255 2 = {\cjkfont}<br>\XeTeXinterchartoks 255 3 = {\cjkfont}<br><br>% when going from CJK to not CJK<br>\XeTeXinterchartoks 1 0   = {\latinfont}<br>\XeTeXinterchartoks 2 0   = {\latinfont}<br>\XeTeXinterchartoks 3 0   = {\latinfont}<br>\XeTeXinterchartoks 1 255 = {\latinfont}<br>\XeTeXinterchartoks 2 255 = {\latinfont}<br>\XeTeXinterchartoks 3 255 = {\latinfont}<br><br>\newfontfamily{\cjkfont}  [Mapping=tex-text]{Kozuka Mincho
 Pr6N}<br>\newfontfamily{\latinfont}[Mapping=tex-text]{TeX Gyre Termes} <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">This seems to work fine, but there are some minor nuisances (see later).</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Today I learnt about the xeCJK package. Unfortunately, the manual is only available in Chinese. So my question is:</div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Xelatex, fontspec, xeCJK, zhspacing..... what is the best way to go? Which of these packages can be considered "mature"? Also, polyglossia does not handle Japanese (yet), what is the status there? Or should we forget about XeLaTeX and go for luaLaTeX? Some general comments would be warmly appreciated.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Thanks,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Wilfred<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div></div></body></html>