Re: [patch] ox.latex.el: Add missing character warnings

2024-02-14 Thread Ihor Radchenko
Juan Manuel Macías writes: > I have fixed the org-latex-known-warnings regexp in the attached patch. > I think it should work fine now... Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9eec4af62 -- Ihor Radchenko // yantar92, Org mode contributor, L

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-13 Thread Juan Manuel Macías
Ihor Radchenko writes: > Probably something to do with my Texlive technically having Chinese > support. > > I am getting > > ! Package inputenc Error: Unicode character 你 (U+4F60) > (inputenc)not set up for use with LaTeX. > > See the inputenc package documentation for explanation.

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-13 Thread Ihor Radchenko
Juan Manuel Macías writes: When I try the patch with a simple file like Hello. 你好。 I do not see any warnings or errors indicated. >> >> I did >> ... > > I have done the same, on a clean Emacs init. Warning appears. > > And in *Messages*: > > PDF file produced with warning

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-12 Thread Juan Manuel Macías
Ihor Radchenko writes: > Juan Manuel Macías writes: > >>> When I try the patch with a simple file like >>> >>> Hello. 你好。 >>> >>> I do not see any warnings or errors indicated. >> >> How weird... And don't they at least appear in the *Messages* buffer? >> With your example, they appear to me with

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-12 Thread Ihor Radchenko
Juan Manuel Macías writes: >> When I try the patch with a simple file like >> >> Hello. 你好。 >> >> I do not see any warnings or errors indicated. > > How weird... And don't they at least appear in the *Messages* buffer? > With your example, they appear to me with pdfLaTeX, lualatex and XelaTeX > (

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-12 Thread Ihor Radchenko
Juan Manuel Macías writes: > Sorry, the previous patch was incomplete. The attached patch is correct. When I try the patch with a simple file like Hello. 你好。 I do not see any warnings or errors indicated. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-12 Thread Juan Manuel Macías
Sorry, the previous patch was incomplete. The attached patch is correct. Best regards, Juan Manuel Juan Manuel Macías writes: > Rationale for the attached patch: It seems that a common problem that > users have with exporting to LaTeX is unicode characters that cannot be > represented in pdfLa

[patch] ox.latex.el: Add missing character warnings

2024-02-12 Thread Juan Manuel Macías
Rationale for the attached patch: It seems that a common problem that users have with exporting to LaTeX is unicode characters that cannot be represented in pdfLaTeX or LuaLaTeX/XelaTeX. In the Unicode TeX engines the warning is insidious, since the missing character warning is not preceded by a '