0

Is there a working example of how to use Chinese, Japanese and Korean text in german/english text with xelatex on Debian 11?

I am aware of the different posts on parts of this question (E.g. this one, this one, this one, this one or this one). But they are all either for luatex, work only on ubuntu or windows, use some language package or font that are not available/compatible or are to old and not working with new versions.

Our documents are written in German and/or English and have examples and citations in Chinese, Japanese and Korean. Some times in tables.

We are using XeTeX 3.14159265-2.6-0.999992 (TeX Live 2020/Debian) on Debian 11.

wolfrevo
  • 513
  • This answer to one of the questions you listed should work, though you should remove the [Renderer=HarfBuzz] options as this is luatex only. Of course be sure to change the fonts to something installed on your system as well – mbert Jan 10 '23 at 00:19
  • @mbert: As I mentioned I'm aware of this answer. In this answer not only [Renderer=HarfBuzz] is not working. Also import=zh-hant in \babelprovide[import=zh-hant]{chinese} shows problems due to not available package zh-hant. HarfBuzz can be replaced with OpenType. But how to workaround the package zh-hant? – wolfrevo Jan 10 '23 at 01:00
  • 1
    It works on my system, can you post an example file and the log containing the error you get? You might also try replacing import=zh-hant with simply import – mbert Jan 10 '23 at 01:09
  • If you need Traditional Chinese, try import=zh-Hant. – Javier Bezos Jan 10 '23 at 11:52

0 Answers0