summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/platex/base/plext.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/platex/base/plext.dtx')
-rw-r--r--Master/texmf-dist/source/platex/base/plext.dtx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/platex/base/plext.dtx b/Master/texmf-dist/source/platex/base/plext.dtx
index 8dbce770027..438cf7c0433 100644
--- a/Master/texmf-dist/source/platex/base/plext.dtx
+++ b/Master/texmf-dist/source/platex/base/plext.dtx
@@ -3,7 +3,7 @@
%
% Copyright 2001 ASCII Corporation.
% Copyright (c) 2010 ASCII MEDIA WORKS
-% Copyright (c) 2016-2018 Japanese TeX Development Community
+% Copyright (c) 2016-2019 Japanese TeX Development Community
%
% This file is part of the pLaTeX2e system (community edition).
% -------------------------------------------------------------
@@ -81,6 +81,8 @@
% $BJQ99(B (forum:2506, issue~76)}
% \changes{v1.2k}{2018/10/07}{$B%-%c%W%7%g%s$NAH$_J}8~$,4pK\AH$NAH$_J}8~$H(B
% $BD>8r$9$k>l9g$K!"?<$5$rK:$l$F$$$?%P%0=$@5(B (forum:2506, issue~76)}
+% \changes{v1.2l}{2019/09/29}{Make \cs{bou} robust}
+% \changes{v1.2l}{2019/09/29}{Make \cs{kasen} robust}
% \fi
%
% \iffalse
@@ -89,7 +91,7 @@
\ProvidesFile{plext.dtx}
%</driver>
%<package>\ProvidesPackage{plext}
- [2018/10/07 v1.2k pLaTeX package file (community edition)]
+ [2019/09/29 v1.2l pLaTeX package file (community edition)]
%<*driver>
\documentclass{jltxdoc}
\usepackage{plext}
@@ -1380,8 +1382,9 @@
\def\boutenchar{\char\euc"A1A2}
% \end{macrocode}
%
+% \changes{v1.2l}{2019/09/29}{Make \cs{bou} robust}
% \begin{macrocode}
-\def\bou#1{\ifvmode\leavevmode\fi\@bou#1\end}
+\DeclareRobustCommand\bou[1]{\ifvmode\leavevmode\fi\@bou#1\end}
\def\@bou#1{%
\ifx#1\end \let\next=\relax
\else
@@ -1412,8 +1415,9 @@
% $B=DAH%b!<%I$G$b!"2sE>%b!<%I$N(B|\parbox|$B$J$I$G;H$o$l$?$H$-$K$O!"(B
% $B$d$O$j0z?t$r(B|\underline|$B$KEO$7$^$9!#(B
% $B$3$l0J30$N>l9g$O!"0z?t$N>e$KD>@~$r0z$-$^$9!#(B
+% \changes{v1.2l}{2019/09/29}{Make \cs{kasen} robust}
% \begin{macrocode}
-\def\kasen#1{%
+\DeclareRobustCommand\kasen[1]{%
\ifydir\underline{#1}%
\else\if@rotsw\underline{#1}\else
\setbox\z@\hbox{#1}\leavevmode\raise.7zw