summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/emo/emo.sty.ltxml
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-02 20:38:15 +0000
committerKarl Berry <karl@freefriends.org>2023-04-02 20:38:15 +0000
commit3d4a4fd9e5c142c0a00142d8c88b6fd1e0492117 (patch)
tree5f22fec3f033dac710ae99455f6ee238903b8059 /Master/texmf-dist/tex/latex/emo/emo.sty.ltxml
parentc33f6d2978cfd4321977ffde5d61bdde135b2554 (diff)
emo (2apr23)
git-svn-id: svn://tug.org/texlive/trunk@66744 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/emo/emo.sty.ltxml')
-rw-r--r--Master/texmf-dist/tex/latex/emo/emo.sty.ltxml21
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");
+}