diff options
author | Karl Berry <karl@freefriends.org> | 2016-01-08 22:22:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-01-08 22:22:49 +0000 |
commit | 1612297da2fca94230bf9c6cca94e9cfcad893a0 (patch) | |
tree | e744361ad3824db23faf1c972951efd1f8f36032 /Master/texmf-dist/source | |
parent | 29703b129271d1fbc07177489531ff9fab3c3f51 (diff) |
chess-problem-diagrams (8jan16)
git-svn-id: svn://tug.org/texlive/trunk@39317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx b/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx index 46d17322633..8213e7b4532 100644 --- a/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx +++ b/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx @@ -13,8 +13,8 @@ %% %% % \fi -% \def\fileversion{v1.11.1} -% \def\docdate{2015/3/16} +% \def\fileversion{v1.12} +% \def\docdate{2016/01/06} % \CheckSum{4288} % \changes{v0.1}{15 Februar 2004}{First Version} % \changes{v0.2}{23 Februar 2004}{Added the documentation for the @@ -70,6 +70,8 @@ % \changes{v1.11}{30 January 2015}{Fixed issue 03f/e20:om: diagram.sty: % piecedefs should be written after twins and before remarks.} % \changes{v1.11.1}{16 March 2015}{Fixed issue 03f/b31:om: diagram.sty: label and ref don't respect diagnum prefix or diagnumbering setting.} +% \changes{v1.12}{06 January 2016}{Implemented issue: 03f/fc0:om: diagram.dtx: change def x to newcommand.\\ +% Changed name of internal commands ds@left, ds@right, ds@upsidedown due to a naming collising with options from eurosym.sty.} % % \DoNotIndex{\@arabic,\def,\@idxitem,\@ifnextchar,\@ifstar, % \@ne,\@ptsize,\ ,\advance,\AtEndOfPackage,\begin,\begingroup, @@ -968,7 +970,7 @@ % Specifies the preamble of our style file. % \begin{macrocode} %<*style> -\ProvidesPackage{diagram}[2015/03/16] +\ProvidesPackage{diagram}[2016/01/06] % \end{macrocode} % % \begin{macro}{\DefaultDiagramSize} @@ -1665,7 +1667,7 @@ \def\ra{\mbox{$\rightarrow$}} \def\lra{\mbox{$\leftrightarrow$}} \let\rla=\lra -\def\x{\mbox{\ifmmode\times\else$\times$\fi}} +\newcommand{\x}{\mbox{\ifmmode\times\else$\times$\fi}} \def\set{\kern -.05em\raise .1ex\hbox{*}} \def\@O{0\raise.25ex\hbox{-}\kern -.1em\relax} \def\OO{\@O0} @@ -2707,9 +2709,9 @@ } \def\chkr@tate{% - \if\r@tate \ds@upsidedown\advance\help@a 108\let\nextpr@c=\skipr@t\else% - \if\r@tate \ds@left\advance\help@a 36\let\nextpr@c=\skipr@t\else% - \if\r@tate \ds@right\advance\help@a 72\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@upsidedown\advance\help@a 108\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@left\advance\help@a 36\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@right\advance\help@a 72\let\nextpr@c=\skipr@t\else% \let\nextpr@c\piece@job\fi\fi\fi\nextpr@c% } \def\skipr@t#1{\piece@job} @@ -3314,7 +3316,7 @@ } \def\@setPieceRotation#1#2#3{% - \gdef\ds@left{#1}\gdef\ds@right{#2}\gdef\ds@upsidedown{#3}% + \gdef\ds@rotation@left{#1}\gdef\ds@rotation@right{#2}\gdef\ds@rotation@upsidedown{#3}% } \def\loop@rotation{% \bgroup% @@ -3324,11 +3326,11 @@ \ifcase\n@cnt% \def\@theRotation{}% \or% - \def\@theRotation{\ds@left}% + \def\@theRotation{\ds@rotation@left}% \or% - \def\@theRotation{\ds@right}% + \def\@theRotation{\ds@rotation@right}% \or% - \def\@theRotation{\ds@upsidedown}% + \def\@theRotation{\ds@rotation@upsidedown}% \fi% \loop@color% \advance\n@cnt\@ne% |