1

I'm trying to print a pdf file which has Japanese letters on org-mode. I use macbook pro and I installed MacTex 2016 and updated all the programs after installation.

I typed "C-c C-e l o" to make a pdf file. I can export English letters, but I cannot export Japanese ones. Do you know how to embed Japanese letters in a pdf file?

I'd appreciate your advice.

  • Try to export to latex (C-c C-e l l) and then compiling the latex file to PDF, to see what latex has to say. – JeanPierre Aug 6 '16 at 12:45
  • 1
    This is out of ability of org-mode. You need to setup the LaTeX template to use the jpdflatex or xelatex to compile your file. – Leu_Grady Aug 6 '16 at 22:16
3

I don't use latex but Chinese users of my setup use latex.

They reported only XeLaTex supports unicode.

You'd better use org 8 (bundled with Emacs 24.4) instead of org 7 (Emacs 24.3)

Besides, you need specify the font in your setup. Check this setup https://kuanyui.github.io/2014/05/10/emacs-org-mode-xelatex-output-chinese-pdf/. Looks you need tweak org-latex-classes. Please note fixed width font is recommended.

Since East Asians share the same HanZi problem, this solution should also work for Japanese.

| improve this answer | |

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.