texlive[69881] branches/branch2023.final/Master/texmf-dist: emotion
commits+karl at tug.org
commits+karl at tug.org
Wed Feb 14 22:42:48 CET 2024
Revision: 69881
https://tug.org/svn/texlive?view=revision&revision=69881
Author: karl
Date: 2024-02-14 22:42:48 +0100 (Wed, 14 Feb 2024)
Log Message:
-----------
emotion (branch) (13feb24)
Modified Paths:
--------------
branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.pdf
branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.tex
branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.def
branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.sty
Removed Paths:
-------------
branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.lua
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.tex 2024-02-14 21:42:30 UTC (rev 69880)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/emotion/emotion-doc.tex 2024-02-14 21:42:48 UTC (rev 69881)
@@ -10,8 +10,9 @@
xcolor,
listings
}
-\setmainfont{KpMath Light}
+\setmainfont{KpMath}
+
\geometry{
a4paper,
top=25.4mm, bottom=25.4mm,
Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.def
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.def 2024-02-14 21:42:30 UTC (rev 69880)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.def 2024-02-14 21:42:48 UTC (rev 69881)
@@ -1,5 +1,5 @@
\ProvidesExplFile{emotion.def}
- {2024/02/06}{0.1}{LaTeX emoji}
+ {2024/02/13}{0.2}{LaTeX emoji}
\tl_const:cn{l__emotion_ 🇦}{^^^^^^01f1e6}
\tl_const:cn{l__emotion_ 🇧}{^^^^^^01f1e7}
Deleted: branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.lua
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.lua 2024-02-14 21:42:30 UTC (rev 69880)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.lua 2024-02-14 21:42:48 UTC (rev 69881)
@@ -1,21 +0,0 @@
-function unicodes(chs)
- local text = ""
- for _, c in utf8.codes(chs) do
- text = text .. unicode(c)
- end
- print(text)
-end
-
-function unicode(codepoint)
- local value = NULL
- if codepoint > 0xFFFF then
- value = string.format("^^^^^^%06x", codepoint)
- elseif codepoint > 0xFF then
- value = string.format("^^^^%04x", codepoint)
- else
- value = string.format("^^%02x", codepoint)
- end
- return value
-end
-
-unicodes("🀁♀")
\ No newline at end of file
Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.sty 2024-02-14 21:42:30 UTC (rev 69880)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/emotion/emotion.sty 2024-02-14 21:42:48 UTC (rev 69881)
@@ -1,5 +1,5 @@
\RequirePackage{expl3}
-\ProvidesExplPackage{emotion}{2024/02/06}{0.1}{LaTeX emoji}
+\ProvidesExplPackage{emotion}{2024/02/13}{0.2}{LaTeX emoji}
\RequirePackage { fontspec }
@@ -6,7 +6,7 @@
\ExplSyntaxOn
% add emotion command
-\newfontface \emotionfont: { Apple~Color~Emoji } [ Renderer = Harfbuzz ]
+\newfontface \emotionfont: { Twemoji~Mozilla } [ Renderer = Harfbuzz ]
% enable update emoji font
\newcommand{\emotionsetup}[1]{
@@ -23,17 +23,14 @@
% import pre-defined emotion
\file_input:n { emotion.def }
-\tl_set:Nn \l__emotion_tmp_tl {❓}
+\tl_set:Nn \l__emotion_nodef_tl {❓}
\newcommand{\emotion}[1]{
-\group_begin:
-\tl_set:Nn \l__emotion_tmp_tl {#1}
\ifcsname l__emotion_#1\endcsname
{\emotionfont:{\tl_use:c {l__emotion_ #1}}}
\else
- {\emotionfont:{\tl_use:N \l__emotion_tmp_tl}}
+ {\emotionfont:#1}
\fi
-\group_end:
}
\ExplSyntaxOff
More information about the tex-live-commits
mailing list.