diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-ovl/pst-ovl.tex | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-ovl/pst-ovl.tex b/Master/texmf-dist/tex/generic/pst-ovl/pst-ovl.tex index 6b60fce4e97..115f3442db0 100644 --- a/Master/texmf-dist/tex/generic/pst-ovl/pst-ovl.tex +++ b/Master/texmf-dist/tex/generic/pst-ovl/pst-ovl.tex @@ -7,7 +7,7 @@ %% %% Package `pst-ovl.tex' %% -%% 2014 -- Timothy Van Zandt +%% 2015 -- Timothy Van Zandt %% Herbert Voss <hvoss@tug.org> %% %% This program can be redistributed and/or modified under the terms @@ -24,15 +24,15 @@ %% Requires main PSTricks \ifx\PSTricksLoaded\endinput\else\input pstricks \fi % -\def\fileversion{0.06} -\def\filedate{2014/05/12} +\def\fileversion{0.07} +\def\filedate{2016/05/03} \message{`pst-ovl' v\fileversion, \filedate\space (tvz,hv)} % \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax % \def\tx@BeginOL{ tx@ovlDict begin BeginOL } \def\tx@InitOL{ tx@ovlDict begin InitOL } -\def\tx@BOL{ tx@ovlDict begin BOL end } +\def\tx@BOLend{ tx@ovlDict begin BOL end } % \pstheader{pst-ovl.pro} % @@ -50,29 +50,29 @@ % \def\pst@overlay#1{% \edef\curr@overlay{#1}% - \expandafter\pst@Verb\expandafter{ #1 \tx@BOL }% + \expandafter\pst@Verb\expandafter{ #1 \tx@BOLend }% \aftergroup\pst@endoverlay} % -\def\pst@endoverlay{\expandafter\pst@Verb\expandafter{\curr@overlay \space \tx@BOL }} +\def\pst@endoverlay{\expandafter\pst@Verb\expandafter{\curr@overlay \space \tx@BOLend }} \def\curr@overlay{-1} - -\newbox\theoverlaybox % -\def\overlaybox{% - \global\setbox\theoverlaybox=\hbox\bgroup +\newbox\thepsoverlaybox +% +\def\psoverlaybox{% + \global\setbox\thepsoverlaybox=\hbox\bgroup \begingroup \let\psoverlay\pst@overlay - \def\overlaybox{% + \def\psoverlaybox{% \@pstrickserr{Overlays cannot be nested}\@eha}% - \def\putoverlaybox{% + \def\psputoverlaybox{% \@pstrickserr{You must end the overlay box - before using \string\putoverlaybox}}% + before using \string\psputoverlaybox}}% \psoverlay{0}% \ignorespaces} % -\def\endoverlaybox{\endgroup\egroup} -\def\putoverlaybox#1{% - \hbox{\expandafter\pst@initoverlay\expandafter{#1}\copy\theoverlaybox}} +\def\endpsoverlaybox{\endgroup\egroup} +\def\psputoverlaybox#1{% + \hbox{\expandafter\pst@initoverlay\expandafter{#1}\copy\thepsoverlaybox}} % \def\psoverlay{\@pstrickserr{\string\psoverlay\space can only be used after \string\overlaybox}} |