diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/emo/emo.sty.ltxml')
-rw-r--r-- | Master/texmf-dist/tex/latex/emo/emo.sty.ltxml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/emo/emo.sty.ltxml b/Master/texmf-dist/tex/latex/emo/emo.sty.ltxml new file mode 100644 index 00000000000..b540461c08c --- /dev/null +++ b/Master/texmf-dist/tex/latex/emo/emo.sty.ltxml @@ -0,0 +1,21 @@ +## emo's LaTeXML binding. +## (C) 2023 by Robert Grimm. +## Released under LPPL v1.3c or later. +use strict; +use warnings; +use LaTeXML::Package; +RawTeX(<<'EOTeX'); +\ProvidesPackage{emo} + [2023/03/21 v0.2a1 emo•ji for all (LaTeX engines)] +\newif\ifemo@extra\emo@extrafalse +EOTeX +DeclareOption('extra', '\emo@extratrue'); +DeclareOption('index', ''); +ProcessOptions(); +InputDefinitions('emo', type => 'def', noltxml => 1); +DefMacro('\emo{}', '\csname emo@emoji@#1\endcsname'); +if (IfCondition(T_CS('\ifemo@extra'))) { + RequirePackage('xspace'); + DefMacro('\lingchi', "\x{51cc}\x{9072}\\xspace"); + DefMacro('\YHWH', "\x{05D9}\x{05D4}\x{05D5}\x{05D4}\\xspace"); +} |