From 1612297da2fca94230bf9c6cca94e9cfcad893a0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 8 Jan 2016 22:22:49 +0000 Subject: chess-problem-diagrams (8jan16) git-svn-id: svn://tug.org/texlive/trunk@39317 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/chess-problem-diagrams/README | 2 +- .../doc/latex/chess-problem-diagrams/diagram.pdf | Bin 348106 -> 350236 bytes .../latex/chess-problem-diagrams/diagram.dtx | 24 +++++++++++---------- .../tex/latex/chess-problem-diagrams/diagram.sty | 18 ++++++++-------- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/Master/texmf-dist/doc/latex/chess-problem-diagrams/README b/Master/texmf-dist/doc/latex/chess-problem-diagrams/README index 15b13781bed..a9573ef1dcb 100644 --- a/Master/texmf-dist/doc/latex/chess-problem-diagrams/README +++ b/Master/texmf-dist/doc/latex/chess-problem-diagrams/README @@ -1,5 +1,5 @@ diagram --- A package for typesetting chessproblems -Version v1.11.1 / Stefan Hoening 2015 +Version v1.12 / Stefan Hoening 2015 CONTENTS diff --git a/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf b/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf index 2c8aaf2876f..18407045fdd 100644 Binary files a/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf and b/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf differ 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% diff --git a/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty b/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty index f0ed64ed406..4093ffae6d3 100644 --- a/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty +++ b/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty @@ -36,7 +36,7 @@ %% %% -\ProvidesPackage{diagram}[2015/03/16] +\ProvidesPackage{diagram}[2016/01/06] \newcommand*{\DefaultDiagramSize}{} \DeclareOption{10pt}{\renewcommand*{\DefaultDiagramSize}{\diagramx}} \DeclareOption{11pt}{\renewcommand*{\DefaultDiagramSize}{\diagramxi}} @@ -602,7 +602,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} @@ -1517,9 +1517,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} @@ -2104,7 +2104,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% @@ -2114,11 +2114,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% -- cgit v1.2.3