[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-mode export to (latex) PDF
From: |
Juan Manuel Macías |
Subject: |
Re: org-mode export to (latex) PDF |
Date: |
Thu, 15 Jul 2021 19:40:11 +0000 |
Maxim Nikulin writes:
> In CSS it is possible to specify a list of fonts and a glyph is taken
> from the first font where it is present. Despite particular fonts have
> limited coverage, I see wide range of Unicode characters on web pages,
> that is why I am almost sure that system font libraries combine fonts.
In LuaTeX you can associate a font family to a range or a group of
characters. In a book I typesetted some time ago I used the Cardo font
to represent the characters for Private Use Area.
\newfontfamily\cardo{Cardo} % a fontspec command
\def\puatext#1{{\cardo #1}}
\begin{luacode*}
function my_pua (text)
texto = unicode.utf8.gsub ( text, "([\u{e000}-\u{f8ff}])", "\\puatext{%1}" )
return text
end
\end{luacode*}
\newcommand\activatepuatext{\directlua{luatexbase.add_to_callback
( "process_input_buffer" , my_pua , "my_pua" )}}
\AtBeginDocument{\activatepuatext}
(I add a simple substitution to the callback `process_imput_buffer'
[see: http://wiki.luatex.org/index.php/Callbacks], but these kinds of
overrides can also be do from Org using a custom filter).
Regards,
Juan Manuel
- Re: org-mode export to (latex) PDF, (continued)
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/10
- Re: org-mode export to (latex) PDF, Stefan Nobis, 2021/07/10
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/13
- Re: org-mode export to (latex) PDF, Juan Manuel Macías, 2021/07/13
- Re: org-mode export to (latex) PDF, Stefan Nobis, 2021/07/14
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/14
- Re: org-mode export to (latex) PDF, Stefan Nobis, 2021/07/14
- Re: org-mode export to (latex) PDF, Tim Cross, 2021/07/14
- Re: org-mode export to (latex) PDF, Juan Manuel Macías, 2021/07/15
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/15
- Re: org-mode export to (latex) PDF,
Juan Manuel Macías <=
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/16
- Re: org-mode export to (latex) PDF, Juan Manuel Macías, 2021/07/16
- Re: org-mode export to (latex) PDF, Maxim Nikulin, 2021/07/17
- Re: org-mode export to (latex) PDF, Juan Manuel Macías, 2021/07/17
- Re: org-mode export to (latex) PDF, Stefan Nobis, 2021/07/16
- Re: org-mode export to (latex) PDF, Jean-Christophe Helary, 2021/07/16
- Re: org-mode export to (latex) PDF, Stefan Nobis, 2021/07/16
- Re: org-mode export to (latex) PDF, Jean-Christophe Helary, 2021/07/16
- Re: org-mode export to (latex) PDF, Juan Manuel Macías, 2021/07/14
- Re: org-mode export to (latex) PDF, Jonathan McHugh, 2021/07/10