[latex3-commits] [git/LaTeX3-latex3-hyperref] main: don't use unicode with platex, issue #171 (e56f601)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Feb 9 15:41:41 CET 2021


Repository : https://github.com/latex3/hyperref
On branch  : main
Link       : https://github.com/latex3/hyperref/commit/e56f601e5c5a2a6b4e1e77a956db1ec165623ce4

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

commit e56f601e5c5a2a6b4e1e77a956db1ec165623ce4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Feb 9 15:41:41 2021 +0100

    don't use unicode with platex, issue #171


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

e56f601e5c5a2a6b4e1e77a956db1ec165623ce4
 ChangeLog.txt | 1 +
 hyperref.dtx  | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index aaeef61..d617446 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -5,6 +5,7 @@
     * added \special{dvipdfmx:config C 0x10} to the xetex and
     dvipdfmx driver to avoid problems with links to external files.
       See issue 118.
+    * if platex is detected unicode is set to false, issue #171  
 
 
 2021-02-08 Ulrike Fischer/David Carlisle
diff --git a/hyperref.dtx b/hyperref.dtx
index bb850c7..d4fce6f 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -883,6 +883,12 @@
 \Hy at pdftoolbartrue
 \Hy at typexmlfalse
 \Hy at unicodetrue
+\ifx\kanjiskip\@undefined
+\else
+  \ifx\forcecjktoken\@undefined
+   \Hy at unicodefalse
+  \fi
+\fi
 \Hy at pdfusetitlefalse
 \Hy at verbosefalse
 \Hy at pdfwindowuitrue





More information about the latex3-commits mailing list.