5

After a tlmgr update --self --all two days ago, I have had problems with xeCJK with XeLaTeX. Some documents won't compile at all, and others have strange problems. For simplicity, I tried the following MWE.

\documentclass{article}
\usepackage{xeCJK}
\setCJKmainfont{Hiragino Mincho Pro W3}
\usepackage{lipsum}
\begin{document}
\lipsum[1]

LATEX[1](ラテック、ラテフ、レイテック、レイテックス)とは、レスリー・ランポート( 英: Leslie Lamport)によって開発されたテキストベースの組版処理システムである。電子組版ソフトウェア TEX にマクロパッケージを組み込むことによって構築されており、単体の TEX に比べて、より手軽に組版を行うことができるようになっている。

\end{document}

Output from MWE

As you can see there are problems with punctuation and spacing. I'm not exactly sure what is going on. I looked in the tlmgr log, and I did see that there were updates to xetex, xelatex and fontspec. Could this be the cause of the problems?

If I comment out the xeCJK-related lines, then XeLaTeX typesets normally, without Japanese, of course.

  • 2
    Fixed in the latest xeCJK. – Akira Kakuto Feb 4 '16 at 13:57
  • Okay, got it installed into my local texmf folder for the time being. It works. Thanks for the info. Hopefully, it will be pushed to texlive for updating soon. – 星川冬夜 Feb 4 '16 at 16:17
  • @AkiraKakuto You can post that as an answer, I think. – Alenanno Feb 4 '16 at 16:47
4

As Akira Kakuto mentioned in his comment, an update to xeCJK has been released (3.3.2 -> 3.3.3). It hasn't been pushed to texlive yet, but I downloaded it from CTAN and installed it in my local texmf folder. The problem is fixed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.