[latex3-commits] [git/LaTeX3-latex3-latex2e] math-tagging-experiments-fmi1: add glyphtounicode to tree (359aac30)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Feb 15 23:22:02 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : math-tagging-experiments-fmi1
Link       : https://github.com/latex3/latex2e/commit/359aac308be05dd889ab9b26102d6cd948163016

>---------------------------------------------------------------

commit 359aac308be05dd889ab9b26102d6cd948163016
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Feb 15 23:22:02 2023 +0100

    add glyphtounicode to tree


>---------------------------------------------------------------

359aac308be05dd889ab9b26102d6cd948163016
 required/latex-lab/build.lua                       |   1 +
 .../latex-lab/testfiles-mathtagging/mtag-tlc3.lvt  |   5 +-
 .../latex-lab/testfiles-mathtagging/mtag-tlc3.tlg  |   2 +-
 texmf/tex/latex/glyphtounicode-cmex.tex            | 141 +++++++++++++++++++++
 4 files changed, 147 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/build.lua b/required/latex-lab/build.lua
index a1ac1476..e45b6384 100644
--- a/required/latex-lab/build.lua
+++ b/required/latex-lab/build.lua
@@ -27,6 +27,7 @@ sourcefiles  = {"*.dtx", "*.ins", "*-????-??-??.sty",
     "l3lists2.sty",       -- tmp while not yet installed
 }
 
+
 -- not testing xetex in the lab, we may want to switch to pdftex instead of etex though
 
 checkengines = { "pdftex", "luatex" }
diff --git a/required/latex-lab/testfiles-mathtagging/mtag-tlc3.lvt b/required/latex-lab/testfiles-mathtagging/mtag-tlc3.lvt
index ca6c5e1c..4396e5e8 100644
--- a/required/latex-lab/testfiles-mathtagging/mtag-tlc3.lvt
+++ b/required/latex-lab/testfiles-mathtagging/mtag-tlc3.lvt
@@ -478,7 +478,7 @@ $ \dot{S} \quad \ddot{P} \quad \dddot{Q} \quad \ddddot{R} $
 \ExplSyntaxOff
 
 % get a few glyphs better represented
-\input{glyphtounicode-cmr.tex}
+\input{glyphtounicode-cmex.tex}
 
 
 \usepackage{fancyvrb,mathtools,extarrows,cases}
@@ -529,6 +529,9 @@ The used math packages are:
 
 The listing above is not properly tagged because \texttt{fancyvrb} is not yet tagging aware.
 
+\newpage
+\OMIT
+
 \end{document}
 
 
diff --git a/required/latex-lab/testfiles-mathtagging/mtag-tlc3.tlg b/required/latex-lab/testfiles-mathtagging/mtag-tlc3.tlg
index 687946d3..6d555d39 100644
--- a/required/latex-lab/testfiles-mathtagging/mtag-tlc3.tlg
+++ b/required/latex-lab/testfiles-mathtagging/mtag-tlc3.tlg
@@ -574,4 +574,4 @@ Overfull \hbox (9.05542pt too wide) detected at line 434
 .\marks4{b+,297,280,Formula,,,}
 .\mathoff
 .\glue 0.0 plus 1.0fil
-) [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] (mtag-tlc3.aux)
+) [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17]
diff --git a/texmf/tex/latex/glyphtounicode-cmex.tex b/texmf/tex/latex/glyphtounicode-cmex.tex
new file mode 100644
index 00000000..2b5c1d97
--- /dev/null
+++ b/texmf/tex/latex/glyphtounicode-cmex.tex
@@ -0,0 +1,141 @@
+% A subset of glyhtounicode-cmr.tex
+%
+% Copyright (c) 2008,  Han The Thanh <thanh at river-valley.org>
+% Copyright (c) 2014,  Peter Selinger <selinger at mathstat.dal.ca>
+% Copyright (c) 2018,  Ross Moore <ross.moore at mq.edu.au>
+%                      
+
+%% Glyphs from the cmex fonts:
+
+\pdfglyphtounicode{angbracketleftBig}{27E8 FE02}
+\pdfglyphtounicode{angbracketleftBigg}{27E8 FE04}
+\pdfglyphtounicode{angbracketleftbig}{27E8 FE01}
+\pdfglyphtounicode{angbracketleftbigg}{27E8 FE03}
+\pdfglyphtounicode{angbracketrightBig}{27E9 FE02}
+\pdfglyphtounicode{angbracketrightBigg}{27E9 FE04}
+\pdfglyphtounicode{angbracketrightbig}{27E9 FE01}
+\pdfglyphtounicode{angbracketrightbigg}{27E9 FE03}
+\pdfglyphtounicode{arrowbt}{2193}
+\pdfglyphtounicode{arrowdblbt}{21D3}
+\pdfglyphtounicode{arrowdbltp}{21D1}
+\pdfglyphtounicode{arrowhookleft}{21AA}
+\pdfglyphtounicode{arrowhookright}{21A9}
+\pdfglyphtounicode{arrowtp}{2191}
+\pdfglyphtounicode{arrowvertex}{23D0}
+\pdfglyphtounicode{arrowvertexdbl}{20E6}%  was {ED12}% PUA
+\pdfglyphtounicode{backslashBig}{005C FE02}
+\pdfglyphtounicode{backslashBigg}{005C FE04}
+\pdfglyphtounicode{backslashbig}{005C FE01}
+\pdfglyphtounicode{backslashbigg}{005C FE03}
+\pdfglyphtounicode{braceex}{23AA}
+\pdfglyphtounicode{bracehtipdownleft}{23DF}% was {ED17}% PUA
+\pdfglyphtounicode{bracehtipdownright}{23DF}%  was {ED18}% PUA
+\pdfglyphtounicode{bracehtipupleft}{23DE}%  was {ED19}% PUA
+\pdfglyphtounicode{bracehtipupright}{23DE}%  was {ED1A}% PUA
+\pdfglyphtounicode{braceleftBig}{007B FE02}
+\pdfglyphtounicode{braceleftBigg}{007B FE04}
+\pdfglyphtounicode{braceleftbig}{007B FE01}
+\pdfglyphtounicode{braceleftbigg}{007B FE03}
+\pdfglyphtounicode{braceleftbt}{23A9}
+\pdfglyphtounicode{braceleftmid}{23A8}
+\pdfglyphtounicode{bracelefttp}{23A7}
+\pdfglyphtounicode{bracerightBig}{007D FE02}
+\pdfglyphtounicode{bracerightBigg}{007D FE04}
+\pdfglyphtounicode{bracerightbig}{007D FE01}
+\pdfglyphtounicode{bracerightbigg}{007D FE03}
+\pdfglyphtounicode{bracerightbt}{23AD}
+\pdfglyphtounicode{bracerightmid}{23AC}
+\pdfglyphtounicode{bracerighttp}{23AB}
+\pdfglyphtounicode{bracketleftBig}{005B FE02}
+\pdfglyphtounicode{bracketleftBigg}{005B FE04}
+\pdfglyphtounicode{bracketleftbig}{005B FE01}
+\pdfglyphtounicode{bracketleftbigg}{005B FE03}
+\pdfglyphtounicode{bracketleftbt}{23A3}
+\pdfglyphtounicode{bracketleftex}{23A2}
+\pdfglyphtounicode{bracketlefttp}{23A1}
+\pdfglyphtounicode{bracketrightBig}{005D FE02}
+\pdfglyphtounicode{bracketrightBigg}{005D FE04}
+\pdfglyphtounicode{bracketrightbig}{005D FE01}
+\pdfglyphtounicode{bracketrightbigg}{005D FE03}
+\pdfglyphtounicode{bracketrightbt}{23A6}
+\pdfglyphtounicode{bracketrightex}{23A5}
+\pdfglyphtounicode{bracketrighttp}{23A4}
+\pdfglyphtounicode{ceilingleftBig}{2308 FE02}
+\pdfglyphtounicode{ceilingleftBigg}{2308 FE04}
+\pdfglyphtounicode{ceilingleftbig}{2308 FE01}
+\pdfglyphtounicode{ceilingleftbigg}{2308 FE03}
+\pdfglyphtounicode{ceilingrightBig}{2309 FE02}
+\pdfglyphtounicode{ceilingrightBigg}{2309 FE04}
+\pdfglyphtounicode{ceilingrightbig}{2309 FE01}
+\pdfglyphtounicode{ceilingrightbigg}{2309 FE03}
+\pdfglyphtounicode{circledotdisplay}{2A00 FE02}
+\pdfglyphtounicode{circledottext}{2A00 FE01}
+\pdfglyphtounicode{circlemultiplydisplay}{2A02 FE02}
+\pdfglyphtounicode{circlemultiplytext}{2A02 FE01}
+\pdfglyphtounicode{circleplusdisplay}{2A01 FE02}
+\pdfglyphtounicode{circleplustext}{2A01 FE01}
+\pdfglyphtounicode{contintegraldisplay}{222E FE02}
+\pdfglyphtounicode{contintegraltext}{222E FE01}
+\pdfglyphtounicode{coproductdisplay}{2210 FE02}
+\pdfglyphtounicode{coproducttext}{2210 FE01}
+\pdfglyphtounicode{floorleftBig}{230A FE02}
+\pdfglyphtounicode{floorleftBigg}{230A FE04}
+\pdfglyphtounicode{floorleftbig}{230A FE01}
+\pdfglyphtounicode{floorleftbigg}{230A FE03}
+\pdfglyphtounicode{floorrightBig}{230B FE02}
+\pdfglyphtounicode{floorrightBigg}{230B FE04}
+\pdfglyphtounicode{floorrightbig}{230B FE01}
+\pdfglyphtounicode{floorrightbigg}{230B FE03}
+\pdfglyphtounicode{hatwide}{02C6 FE01}
+\pdfglyphtounicode{hatwider}{02C6 FE02}
+\pdfglyphtounicode{hatwidest}{02C6 FE03}
+\pdfglyphtounicode{integraldisplay}{222B FE02}
+\pdfglyphtounicode{integraltext}{222B FE01}
+\pdfglyphtounicode{intersectiondisplay}{22C2 FE02}
+\pdfglyphtounicode{intersectiontext}{22C2 FE01}
+\pdfglyphtounicode{logicalanddisplay}{22C0 FE02}
+\pdfglyphtounicode{logicalandtext}{22C0 FE01}
+\pdfglyphtounicode{logicalordisplay}{22C1 FE02}
+\pdfglyphtounicode{logicalortext}{22C1 FE01}
+\pdfglyphtounicode{mapsto}{21A6}
+\pdfglyphtounicode{parenleftBig}{0028 FE02}
+\pdfglyphtounicode{parenleftBigg}{0028 FE04}
+\pdfglyphtounicode{parenleftbig}{0028 FE01}
+\pdfglyphtounicode{parenleftbigg}{0028 FE03}
+\pdfglyphtounicode{parenleftbt}{239D}
+\pdfglyphtounicode{parenleftex}{239C}
+\pdfglyphtounicode{parenlefttp}{239B}
+\pdfglyphtounicode{parenrightBig}{0029 FE02}
+\pdfglyphtounicode{parenrightBigg}{0029 FE04}
+\pdfglyphtounicode{parenrightbig}{0029 FE01}
+\pdfglyphtounicode{parenrightbigg}{0029 FE03}
+\pdfglyphtounicode{parenrightbt}{23A0}
+\pdfglyphtounicode{parenrightex}{239F}
+\pdfglyphtounicode{parenrighttp}{239E}
+\pdfglyphtounicode{productdisplay}{220F FE02}
+\pdfglyphtounicode{producttext}{220F FE01}
+\pdfglyphtounicode{radicalBig}{221A FE02}
+\pdfglyphtounicode{radicalBigg}{221A FE04}
+\pdfglyphtounicode{radicalbig}{221A FE01}
+\pdfglyphtounicode{radicalbigg}{221A FE03}
+\pdfglyphtounicode{radicalbt}{23B7}%  was {221A}
+\pdfglyphtounicode{radicaltp}{231C}%  was {ED6A}% PUA
+\pdfglyphtounicode{radicalvertex}{20D3}%  was {ED6B}% PUA
+\pdfglyphtounicode{slashBig}{002F FE02}
+\pdfglyphtounicode{slashBigg}{002F FE04}
+\pdfglyphtounicode{slashbig}{002F FE01}
+\pdfglyphtounicode{slashbigg}{002F FE03}
+\pdfglyphtounicode{summationdisplay}{2211 FE02}
+\pdfglyphtounicode{summationtext}{2211 FE01}
+\pdfglyphtounicode{tie}{2040}
+\pdfglyphtounicode{tildewide}{02DC FE01}
+\pdfglyphtounicode{tildewider}{02DC FE02}
+\pdfglyphtounicode{tildewidest}{02DC FE03}
+\pdfglyphtounicode{uniondisplay}{22C3 FE02}
+\pdfglyphtounicode{unionmultidisplay}{2A04 FE02}
+\pdfglyphtounicode{unionmultitext}{2A04 FE01}
+\pdfglyphtounicode{unionsqdisplay}{2A06 FE02}
+\pdfglyphtounicode{unionsqtext}{2A06 FE01}
+\pdfglyphtounicode{uniontext}{22C3 FE01}
+\pdfglyphtounicode{vextenddouble}{20E6}%  was {ED79}% PUA
+\pdfglyphtounicode{vextendsingle}{20D3}%%% was {23D0}





More information about the latex3-commits mailing list.