On Mon, 01 Dec 2025 23:03:38 +0800, Pedro Andres Aranda Gutierrez wrote: > > Hi! > > Thanks for the try… Answers inline… > > Enviado desde mi iPad > > > El 1 dic 2025, a las 15:31, Huang Jing <[email protected]> escribió: > > > > Hi! > > > > This is my initial attempt at supporting LuaTeX for current CJK code. > > > > However looking through the code I think we should separate CJK > > related code in a function, so we can reuse the code. > > Yes, please. > > > Seems like > > currently only the babel backend has peoper CJK support? > > Exactly… I was waiting for you to provide insight for other configurations. > > > Plain > > fontspec and polyglossia both seem to only call > > `org-latex--insert-fontspec' which loads only xeCJK or luatexja. > > Yes… > > > > > > > <0001-lisp-ox-latex.el-initial-lualatex-based-cjk-support.patch> > I’m in the midst of a try at a rewrite. Please update your local copy > frequently. > And of course wait for Ihor’s blessings…
Sure! Please notify me if you think the code is settled so I can work on adapting the patch to the new version. And then I will probably try to abstract the CJK logic, etc. BTW, I'm a bit confused about the Org font related part, that is, how is the `main', `sans' and `mono' fonts named in `fprops' from `doc-fontspec'. Seems like they are `CJKxxxx' now. Is it a convention in Org or it is just for making xeCJK font selection easier? > Best, /PA Jing
