summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-11-18 16:42:24 +0000
committerKarl Berry <karl@freefriends.org>2015-11-18 16:42:24 +0000
commit13d3d62cdb28a45d886c75c323cb7c9eff3c195e (patch)
treef346fdbcb89d03fa78ac56c6df52ae8f0eb28c59 /Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
parente381ce64bd22315a5568afe88f6e9defdb48b4dc (diff)
bidi (17nov15)
git-svn-id: svn://tug.org/texlive/trunk@38887 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def')
-rw-r--r--Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def b/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
index 76c4e6c3d04..caf039f906c 100644
--- a/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
+++ b/Master/texmf-dist/tex/xelatex/bidi/pstricks-xetex-bidi.def
@@ -17,7 +17,7 @@
%% by Vafa Khalighi.
%%
%%
-%% \CheckSum{44962}
+%% \CheckSum{44976}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -34,7 +34,7 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-\ProvidesFile{pstricks-xetex-bidi.def}[2015/11/14 v0.4 bidi adaptations for pstricks package for XeTeX engine]
+\ProvidesFile{pstricks-xetex-bidi.def}[2015/11/18 v0.5 bidi adaptations for pstricks package for XeTeX engine]
\def\pspicture{\begingroup\ifmmode\else\@RTLfalse\beginL\fi\pst@ifstar\pst@picture}
\def\endpspicture{%
\ifshowgrid\ifnum\showgridp@s>0
@@ -55,12 +55,14 @@
\pst@dimd=0.5\pst@dimd
\else\pst@dimd-\pst@shift\fi
\advance\pst@dimd\pst@dimb
- \lower\pst@dimd%
- \box\pst@hbox%
+ \lower\pst@dimd
+ \box\pst@hbox
\kern\pst@dimc}%
- \if@star\setbox\pst@hbox=\hbox{\clipbox@@\z@}\fi%
- \leavevmode\box\pst@hbox%
- \ifmmode\else\endL\fi%
+ \if@star\setbox\pst@hbox=\hbox{\clipbox@@\z@}\fi
+ \leavevmode\ifdim\overfullrule=\z@\box\pst@hbox\else
+ \fboxsep=0pt
+ \fbox{\rule[-\pst@shift]{0pt}{\ht\pst@hbox}\rule{\wd\pst@hbox}{0pt}}\fi
+ \ifmmode\else\endL\fi
\endgroup%
\psset[pstricks]{shift=0}% reset value
}