summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/scratch3
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-02 21:03:56 +0000
committerKarl Berry <karl@freefriends.org>2019-07-02 21:03:56 +0000
commit5ce41e71f319d3b3d553037992ef15813ac5aa9e (patch)
treea0c5980506e8b98e5c0d051b0d33d63503990783 /Master/texmf-dist/tex/latex/scratch3
parent5fcccb4971727314c23b4a8a1af4dd4d7b60f934 (diff)
scratch3 (2jul19)
git-svn-id: svn://tug.org/texlive/trunk@51537 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/scratch3')
-rw-r--r--Master/texmf-dist/tex/latex/scratch3/scratch3.sty18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/scratch3/scratch3.sty b/Master/texmf-dist/tex/latex/scratch3/scratch3.sty
index f2b467de7c1..dfcacb89572 100644
--- a/Master/texmf-dist/tex/latex/scratch3/scratch3.sty
+++ b/Master/texmf-dist/tex/latex/scratch3/scratch3.sty
@@ -4,9 +4,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
\def\scrname{ scratch3 }%
-\def\scrver { 0.12 }%
+\def\scrver { 0.13 }%
% %
-\def\scrdate{ 2019/05/18 }%
+\def\scrdate{ 2019/07/01 }%
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
@@ -544,6 +544,7 @@
{%
\useKV[\scrname]{pre text}\relax\scr_ovalstrut\kern\scr_ovalsentinel sp
#3%
+ \relax% pour contourner bug dans XeLaTeX
\if1#1% si triangle de sélection
\kern1ex
\scr_menuselectarrow
@@ -806,9 +807,12 @@
\scr_ovalstrut
\kern\scr_ovalsentinel sp
#1%
- \ifnum\lastkern=\scr_ovalsentinel
- \unkern\kern-.66667ex\relax
- \fi
+ \relax% pour contourner bug dans XeLaTeX
+ \ifnum\lastkern=\scr_ovalsentinel\relax\expandafter\scr_execfirst\else\expandafter\scr_execsecond\fi
+ {\unkern
+ \kern-.66667ex\relax
+ }
+ {}%
};%
\end{tikzpicture}%
\endgroup
@@ -1011,4 +1015,6 @@ Versions :
|---------+------------+------------------------------------------------------|
| 0.12 | 18/05/2019 | * bug corrigé dans \ovalnum |
| | | * bug corrigé dans \scr_ovalbox |
-|---------+------------+------------------------------------------------------| \ No newline at end of file
+|---------+------------+------------------------------------------------------|
+| 0.13 | 01/07/2019 | * \relax ajoutés pour éviter le bug de XeLaTeX |
+| | | concernant \lastkern | \ No newline at end of file