[latex3-commits] [git/LaTeX3-latex3-pdfresources] develop: remove forcing unicode from the generic driver, see issue #18 (c08c64e)

Ulrike Fischer fischer at troubleshooting-tex.de
Mon Jun 14 16:32:35 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/c08c64e872ba3aeb040c20edebad7f48ef4b04b5

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

commit c08c64e872ba3aeb040c20edebad7f48ef4b04b5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Jun 14 16:32:35 2021 +0200

    remove forcing unicode from the generic driver, see issue #18


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

c08c64e872ba3aeb040c20edebad7f48ef4b04b5
 CHANGELOG.md         | 4 ++++
 hyperref-generic.dtx | 8 --------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index cd06a21..09e1749 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,10 @@ this project uses date-based 'snapshot' version identifiers.
  - option handling of pdflscape-ltx
  - distiller failed due to empty /PAGES
  
+### Changed
+ - no longer force unicode in the generic hyperref driver as
+   it is the default where sensible anyway 
+ 
 ## [2021-05-14]
 ### Fixed 
  - xcolor patch for [ps] type used in pstricks
diff --git a/hyperref-generic.dtx b/hyperref-generic.dtx
index f80e70c..a07af7e 100644
--- a/hyperref-generic.dtx
+++ b/hyperref-generic.dtx
@@ -1124,14 +1124,6 @@
 \def\Hy at numberline#1{#1\c_space_tl}   %needed by bookmark
 %    \end{macrocode}
 %
-% We force unicode as option. As bookmarks are still using \cs{pdfstringdef}
-% we also need to load puenc.def.
-%    \begin{macrocode}
-\HyPsd at LoadUnicode
-\Hy at unicodetrue
-\let\HyPsd at pdfencoding\HyPsd at pdfencoding@unicode
-\Hy at DisableOption{unicode}
-%    \end{macrocode}
 % The pdfversion should be set in \cs{DeclareDocumentMetadata} but we must
 % copy it to the \pkg{hyperref} command:
 %    \begin{macrocode}





More information about the latex3-commits mailing list.