diff options
Diffstat (limited to 'language/japanese/pxjahyper/pxjahyper-ajm.def')
-rw-r--r-- | language/japanese/pxjahyper/pxjahyper-ajm.def | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/language/japanese/pxjahyper/pxjahyper-ajm.def b/language/japanese/pxjahyper/pxjahyper-ajm.def index 81ce1868df..288f320997 100644 --- a/language/japanese/pxjahyper/pxjahyper-ajm.def +++ b/language/japanese/pxjahyper/pxjahyper-ajm.def @@ -11,7 +11,7 @@ %% package declaration \NeedsTeXFormat{pLaTeX2e} -\ProvidesFile{pxjahyper-ajm.def}[2020/04/24 v0.4b] +\ProvidesFile{pxjahyper-ajm.def}[2020/06/13 v0.5] %% avoid multiple loading \csname pxjahyperajmLoaded\endcsname @@ -43,16 +43,9 @@ %% \pxhy@cond@both\ifXXX...\fi\ifYYY...\fi{<yes>}{<no>} % Checks whether \ifXXX and \ifYYY both hold. \@gobbletwo\if\if\@gobbletwo\if\if \def\pxhy@cond@both#1\fi#2\fi{% - \bxju@cond{\if #1#2T\else F\fi\else F\fi T}\fi + \pxhy@cond{\if #1#2T\else F\fi\else F\fi T}\fi } -%% \pxhy@if@star{<varient>}{<normal>} -% Expands to <varient> if followed by *, otherwise to <normal>. -\def\pxhy@if@star#1#2#3{% #3=next-arg - \expandafter\pxhy@if@star@a\detokenize{#3}@{#1}*@{#2{#3}}\pxhy@mk -} -\def\pxhy@if@star@a#1*@#2#3\pxhy@mk{#2} - %% \pxhy@if@plus{<varient>}{<normal>} % Expands to <varient> if followed by +, otherwise to <normal>. \def\pxhy@if@plus#1#2#3{% #3=next-arg @@ -131,7 +124,7 @@ %--------------------------------------- helpers %% prepare -\csuse{forcecjktoken} +\pxhy@forcecjktoken %% shorthands \catcode`\`=\active \let`\noexpand |