"Pedro A. Aranda" <[email protected]> writes:
> Thanks a ton to @RadioNoiseE for the examples: with your help we can
> now export org documents in Chinese or Japanese to PDF using XeLaTeX.
> The current implementation has the following constraints:
>
> 1. we use babel
> 2. the main document language has to be jp or zh
>
> It offers the possibility of having other secondary languages (I've
> tested with en-gb and es)
You still have an old
> ;; If the CJK font families have been included
> ;; Check for polyglossia and/or babel and warn?
> ;; Or advise for these packages to be added to
> `org-latex-package-alist' ??
> (when (and cjk-packages (equal compiler "xelatex"))
> (message "Adding the CJK packages")
> (goto-char (point-min))
> (forward-line 2)
> (insert "\\usepackage[CJKspace]{xeCJK}\n"))
in the code. Should it be removed?
Also, the new piece of code does not check for xelatex and will likely
make lualatex compilation fail. xeCJK only works with xelatex.
> @all: Please install or refresh the feature/all-tex-fonts to check the
> results. A short section in the manual has been added, documenting my
> current understanding of the state of the branch.
I think that the documentation should mention that things only work for
xelatex.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>