Lua for detecting emoji fonts in LaTeX #10011
Unanswered
avidseeker
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Another solution is described here: ***@***.***/T/#m8a94f188b30caecdf834c39f6427badb5bf2901d
(where \usepackage{newunicodefont} is to be replaced with \usepackage{newunicodechar})
|
Beta Was this translation helpful? Give feedback.
2 replies
-
If the emoji extension is enabled, then e.g.
But plain unicode emojis will just be regular text. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Until automatic fallback handling by luatex (latex3/fontspec#526, latex3/fontspec#428) is implemented, I'm considering using pandoc as a workaround for specifying the Emoji font. Does pandoc have a representation for emojis in its AST? I expect it so since it has
emoji
markdown extension.I'm aware of
*fontfallback
metadata keys in pandoc, but the mention of "Font fallbacks only work with lualatex", but that didn't make a change (I'm converting markdown --> latex).The workaround I'm thinking of is: for every emoji
🤔
in markdown, it needs to be replaced with\emoji{🤔}
. Where\emoji
is a LaTeX macro for using the right font for emojis (see: TeX SE)Beta Was this translation helpful? Give feedback.
All reactions