[latex3-commits] [latex3/latex2e] lab-review-01: provide also \pdfgentounicode with lualatex (for newtx) (94df5a0e)

github at latex-project.org github at latex-project.org
Wed Jun 7 14:53:43 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : lab-review-01
Link       : https://github.com/latex3/latex2e/commit/94df5a0e7bae3382bdd71feaf726401ae8197919

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

commit 94df5a0e7bae3382bdd71feaf726401ae8197919
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Jun 7 14:53:43 2023 +0200

    provide also \pdfgentounicode with lualatex (for newtx)


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

94df5a0e7bae3382bdd71feaf726401ae8197919
 required/latex-lab/latex-lab-sec.dtx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/required/latex-lab/latex-lab-sec.dtx b/required/latex-lab/latex-lab-sec.dtx
index f34fbd89..a29edbe2 100644
--- a/required/latex-lab/latex-lab-sec.dtx
+++ b/required/latex-lab/latex-lab-sec.dtx
@@ -179,6 +179,7 @@
 \ifdefined\directlua
  \pdfvariable gentounicode =1
  \protected\def\pdfglyphtounicode {\pdfextension glyphtounicode }
+ \protected\edef\pdfgentounicode  {\pdfvariable gentounicode} 
  \input{glyphtounicode}
 \fi
 \ifdefined\pdfglyphtounicode





More information about the latex3-commits mailing list.