Just a small progress report:
I'm able to generate the following font prelude
\directlua{
luaotfload.add_fallback ("fallback_sans",{
"Noto Color Emoji:mode=harf",
"Noto Sans CJK JP:",
})
luaotfload.add_fallback ("fallback_main",{
"Noto Color Emoji:mode=harf",
"Noto Serif CJK JP:",
})
Answers inlne
On Tue, 22 Apr 2025 at 18:55, Max Nikulin wrote:
> On 21/04/2025 18:07, Pedro Andres Aranda Gutierrez wrote:
> > I could try to go for something like:
> >
> > (defvar org-latex-font-fallback-alist
> >'(("main . '(("emoji" . "Noto Color Emoji:mode-harf")
> > ("ha
On 21/04/2025 18:07, Pedro Andres Aranda Gutierrez wrote:
I could try to go for something like:
(defvar org-latex-font-fallback-alist
'(("main . '(("emoji" . "Noto Color Emoji:mode-harf")
("han" . "Noto CJK JP:")
("kana" . "Noto CJK JP:")))
("sans". '((
Pedro Andres Aranda Gutierrez writes:
> Would you be more comfortable with fallbacks for the individual families in
> the font-mappings-alist?
> I could try to go for something like:
>
> (defvar org-latex-font-fallback-alist
> '(("main . '(("emoji" . "Noto Color Emoji:mode-harf")
>
HI,
After a lot of consideration, more testing and some reading (including
pandoc, thanks again for the inspirational source) I feel that this is the
best approach for a first generation of the patch. It would provide relief
for many situations and a starting point for further improvement.
This fu
Pedro Andres Aranda Gutierrez writes:
> The font configuration is done in two variables:
>
> (defvar org-latex-font-mapping-alist
> '(("main" . "Noto Serif")
> ("sans" . "Noto Sans")
> ("mono" . "Noto Sans Mono"))
> "Set this alist for your font preferences when exporting to
> LuaLaTe
I had forgotten the list... sorry. To add to the message, I scan the buffer
for charsets using a variant of the code proposed by Juan Manuel Macías
some time ago...
Sorry and Best, /PA
-- Forwarded message -
From: Pedro Andres Aranda Gutierrez
Date: Sun, 20 Apr 2025 at 15:34
Subj