[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: test if pdfglyphtounicode is defined to fix xetex compilation (897fbe78)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed Apr 19 12:03:26 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/897fbe787da122e43f8d6a2400bc25025121aa69

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

commit 897fbe787da122e43f8d6a2400bc25025121aa69
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Apr 19 12:03:26 2023 +0200

    test if pdfglyphtounicode is defined to fix xetex compilation


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

897fbe787da122e43f8d6a2400bc25025121aa69
 required/latex-lab/changes.txt               | 4 ++++
 required/latex-lab/latex-lab-sec-tagging.dtx | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/required/latex-lab/changes.txt b/required/latex-lab/changes.txt
index 518a2ffb..a1373966 100644
--- a/required/latex-lab/changes.txt
+++ b/required/latex-lab/changes.txt
@@ -1,3 +1,7 @@
+2023-04-09 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+	* latex-lab-sec-tagging.dtx:
+	don't load extra glyphtounicode if \pdfglyphtounicode is not defined.
+
 2023-04-09 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
 	* latex-lab-footnotes.dtx:
 	made \footnote and \footnotetext long
diff --git a/required/latex-lab/latex-lab-sec-tagging.dtx b/required/latex-lab/latex-lab-sec-tagging.dtx
index dc90c76e..f7f377dc 100644
--- a/required/latex-lab/latex-lab-sec-tagging.dtx
+++ b/required/latex-lab/latex-lab-sec-tagging.dtx
@@ -181,7 +181,9 @@
  \protected\def\pdfglyphtounicode {\pdfextension glyphtounicode } 
  \input{glyphtounicode}
 \fi
+\ifdefined\pdfglyphtounicode
  \input{glyphtounicode-cmex}
+\fi 
 %</kernelchange>
 %    \end{macrocode}
 %





More information about the latex3-commits mailing list.