Pedro Andres Aranda Gutierrez <[email protected]> writes: >> > That I'll keep it FTMB. This is not cast in stone and people may come up >> > with better solutions. Currently, it does what I need, which is to >> provide >> > explicit enough messages (we may want to detect and use in the future). >> >> Are we still talking about keeping \usepackage{fontspec} (not >> \tracinglostchars) in >> >> ;; Tracing lost chars: >> https://tex.stackexchange.com/questions/548901 >> ;; FIXME: do we really need fontspec?? >> (insert "\\tracinglostchars=2\n%%\\usepackage{fontspec}") >> >> ? >> > > Yes, we are.
Then I am still confused. AFAIU, the messages are generated by \tracinglostchars=2. I do not quite understand why fontspec is needed. (about pop) >> Also, you did not change it. At least, I do not see any commits to that >> effect on the branch. > > Fine. There seems to have been a major hiccup in savannah and, as I see, > this specific commit is part of what they haven't restored. So, can you push it again? >> https://emacs-china.org/t/help-implementing-better-out-of-the-box-xelatex-export-in-org/30405 > > Which introduced a lot of configurations to look at in the future. I'll > remove xpinyin stuff FTBM You also removed xeCJK. Why? Also, I just tried #+LANGUAGE: zh #+LATEX_HEADER: \usepackage[UTF8]{ctex} #+LATEX_COMPILER: xelatex * This is test 正好借楼问一下,用 ctex 包时,org当中的加粗转为中间文件*tex*时是 And I am getting ⛔ Warning (ox-latex): PDF file produced with warnings: [Missing character(s): please load an appropriate font with the fontspec package] Despite everything being rendered just fine. >> I would be OK if we _systematically_ added debug messages in a form of >> logs everywhere. But occasional lines of commented code are unlikely to >> be useful, IMHO. > > I have transformed the messages into proper comments. Otherwise, we will > systematically bloat the *Message* buffer. I meant something like (display-warning 'org "I will not be recorded or displayed unless `warning-minimum-log-level' is set to :debug" :debug "*Org logs*") -- 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>
