diff options
author | Karl Berry <karl@freefriends.org> | 2019-06-22 21:22:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-06-22 21:22:25 +0000 |
commit | 030f06893cc45ed18c81a72ba2c515062434d2df (patch) | |
tree | 3a68bbbc08ec159147f0a59aaeb1bbd8df2c9ecd /Master/texmf-dist/tex/platex | |
parent | 07cd2920c385685a67c988d4babd2a230937d738 (diff) |
pxjahyper (22jun19)
git-svn-id: svn://tug.org/texlive/trunk@51421 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r-- | Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty index 6665b45055b..68166215ecd 100644 --- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty +++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty @@ -1,7 +1,7 @@ %% %% This is file 'pxjahyper.sty'. %% -%% Copyright (c) 2018 Takayuki YATO (aka. "ZR") +%% Copyright (c) 2019 Takayuki YATO (aka. "ZR") %% GitHub: https://github.com/zr-tex8r %% Twitter: @zr_tex8r %% @@ -10,7 +10,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{pxjahyper}[2018/07/15 v0.3d] +\ProvidesPackage{pxjahyper}[2019/06/20 v0.3e] %% error messages \def\pxhy@pkgname{pxjahyper} @@ -100,6 +100,19 @@ \csname iftrue\endcsname \pxhy@hy@unicodetrue \fi +\AtBeginDocument{% + \@tempswafalse + \expandafter\ifx\csname ifHy@unicode\expandafter\endcsname + \csname iftrue\endcsname + \@tempswatrue + \fi + \ifnum0\ifpxhy@hy@unicode1\fi\if@tempswa1\fi=1 + \PackageError\pxhy@pkgname + {You must not change the encoding setting (e.g.\MessageBreak + 'unicode) of hyperref after pxjahyper is loaded}% + {\@ehc}% + \fi +} %% Check hyperref driver. \ifx\pxhy@driver\@undefined |