From 030f06893cc45ed18c81a72ba2c515062434d2df Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 22 Jun 2019 21:22:25 +0000 Subject: pxjahyper (22jun19) git-svn-id: svn://tug.org/texlive/trunk@51421 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/platex/pxjahyper/LICENSE | 2 +- Master/texmf-dist/doc/platex/pxjahyper/README-ja.md | 3 +++ Master/texmf-dist/doc/platex/pxjahyper/README.md | 1 + .../texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf | Bin 96303 -> 96162 bytes .../texmf-dist/doc/platex/pxjahyper/pxjahyper.tex | 4 ++-- .../texmf-dist/tex/platex/pxjahyper/pxjahyper.sty | 17 +++++++++++++++-- 6 files changed, 22 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/platex/pxjahyper/LICENSE b/Master/texmf-dist/doc/platex/pxjahyper/LICENSE index fbe40a0146b..534324b7566 100644 --- a/Master/texmf-dist/doc/platex/pxjahyper/LICENSE +++ b/Master/texmf-dist/doc/platex/pxjahyper/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 2018 Takayuki YATO (aka. "ZR") +Copyright (c) 2019 Takayuki YATO (aka. "ZR") Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md b/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md index 0f948b7d2ab..dd708626871 100644 --- a/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md +++ b/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md @@ -35,6 +35,9 @@ pxjahyper パッケージ ー 本体 更新履歴 -------- + * Version 0.3e 〈2019/06/20〉 + - hyperref の `unicode` 指定が後から変更された場合はエラーを出す。 + * Version 0.3d 〈2018/07/15〉 - バグ修正。 diff --git a/Master/texmf-dist/doc/platex/pxjahyper/README.md b/Master/texmf-dist/doc/platex/pxjahyper/README.md index 3f372525ece..60c28b0e996 100644 --- a/Master/texmf-dist/doc/platex/pxjahyper/README.md +++ b/Master/texmf-dist/doc/platex/pxjahyper/README.md @@ -36,6 +36,7 @@ Please refer to the manual `pxjahyper.pdf` (in Japanese) for detail. Revision History ---------------- + * Version 0.3e 〈2019/06/20〉 * Version 0.3d 〈2018/07/15〉 * Version 0.3c 〈2018/01/25〉 * Version 0.3b 〈2018/01/13〉 diff --git a/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf b/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf index bd09ec3ec78..03ef9411852 100644 Binary files a/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf and b/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf differ diff --git a/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex b/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex index 67e4d7e8d15..41b1b1c7f53 100644 --- a/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex +++ b/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex @@ -3,8 +3,8 @@ \documentclass[a4paper]{jsarticle} \usepackage{shortvrb} \MakeShortVerb{\|} -\newcommand{\PkgVersion}{0.3d} -\newcommand{\PkgDate}{2018/07/15} +\newcommand{\PkgVersion}{0.3e} +\newcommand{\PkgDate}{2019/06/20} \newcommand{\Pkg}[1]{\textsf{#1}} \newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$} \newcommand{\Note}{\par\noindent ※} 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 -- cgit v1.2.3