[latex3-commits] [latex3/latex2e] develop: provide also \pdfgentounicode with lualatex (for newtx) (d24ad5ef)

github at latex-project.org github at latex-project.org
Wed Jun 7 23:17:18 CEST 2023


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

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

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

    provide also \pdfgentounicode with lualatex (for newtx)


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

d24ad5ef2624f4726cdc4058cfa1201c63ba86e5
 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.