From fb571d560f44306175d1847ba40c39eaa9908dbb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Jan 2015 22:26:41 +0000 Subject: schwalbe-chess (11jan15) git-svn-id: svn://tug.org/texlive/trunk@36027 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/schwalbe-chess/README | 2 +- .../doc/latex/schwalbe-chess/schwalbe.pdf | Bin 105490 -> 145123 bytes .../source/latex/schwalbe-chess/schwalbe.dtx | 81 ++++++++++----------- .../tex/latex/schwalbe-chess/schwalbe.cls | 3 +- .../tex/latex/schwalbe-chess/schwalbe.sty | 68 ++++++++--------- 5 files changed, 74 insertions(+), 80 deletions(-) diff --git a/Master/texmf-dist/doc/latex/schwalbe-chess/README b/Master/texmf-dist/doc/latex/schwalbe-chess/README index 99855037aeb..38c3b127ede 100644 --- a/Master/texmf-dist/doc/latex/schwalbe-chess/README +++ b/Master/texmf-dist/doc/latex/schwalbe-chess/README @@ -1,5 +1,5 @@ schwalbe --- A package for typesetting chessproblems -Version 1.5.1 / Stefan Hoening 2012-2013 +Version 1.6.2 / Stefan Hoening 2012-2015 CONTENTS diff --git a/Master/texmf-dist/doc/latex/schwalbe-chess/schwalbe.pdf b/Master/texmf-dist/doc/latex/schwalbe-chess/schwalbe.pdf index b2d1fc103ef..b21d6f557e1 100644 Binary files a/Master/texmf-dist/doc/latex/schwalbe-chess/schwalbe.pdf and b/Master/texmf-dist/doc/latex/schwalbe-chess/schwalbe.pdf differ diff --git a/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx b/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx index 2c70d479e4a..bf16f55e97a 100644 --- a/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx +++ b/Master/texmf-dist/source/latex/schwalbe-chess/schwalbe.dtx @@ -13,9 +13,9 @@ %% %% % \fi -% \def\fileversion{1.5.1} -% \def\docdate{2013/03/13} -% \CheckSum{1907} +% \def\fileversion{1.6.2} +% \def\docdate{2015/01/11} +% \CheckSum{1906} % \changes{v1.1}{03 June 2011}{Reflecting change in command % @writename inside diagram.sty} % \changes{v1.2}{01 July 2011}{Added parameter for Band to Heft @@ -26,6 +26,10 @@ % \changes{v1.4}{04 December 2012}{Split code into a class and a style file.} % \changes{v1.5}{11 January 2013}{Added Environment WebSites for reports on chess problem websites.} % \changes{v1.5.1}{13 March 2013}{Fixed issue with catcode=active for / in Inhalt.} +% \changes{v1.5.2}{23 July 2013}{Fixed issue with use of url-package.} +% \changes{v1.6}{10 January 2015}{Applied changes following diagram style changes for issue '03f/932'.} +% \changes{v1.6.1}{10 January 2015}{Added RequirePackage for fontenc and inputenc as requested by Thomas Brand.} +% \changes{v1.6.2}{11 January 2015}{Fixed order of languages to activate german by default.} % % \DoNotIndex{\@arabic,\def,\@idxitem,\@ifnextchar,\@ifstar, % \@ne,\@ptsize,\ ,\advance,\AtEndOfPackage,\begin,\begingroup, @@ -293,10 +297,11 @@ % \begin{macrocode} %<*class> \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{schwalbe}[2013/03/13] +\ProvidesClass{schwalbe}[2015/01/11] \LoadClass[11pt]{article} \RequirePackage{schwalbe} \RequirePackage{ifthen} +\RequirePackage{url} % \end{macrocode} % % Innerhalb der Schwalbe haben wir ein spezielles Seitenlayout. @@ -1415,10 +1420,12 @@ % \begin{macrocode} %<*style> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{schwalbe}[2013/03/13] +\ProvidesPackage{schwalbe}[2015/01/11] % \AtBeginDocument{\normaldia} % -\RequirePackage[german]{babel} +\RequirePackage[T2A,T1]{fontenc}% fsRUS 140121 +\RequirePackage[koi8-r,utf-8]{inputenc}% fsRUS 140121 +\RequirePackage[ngerman,english,german]{babel} \RequirePackage{ifthen} \RequirePackage{diagram} \usepackage{times} @@ -1476,28 +1483,28 @@ \setmonthstyle{Roman} \def\normaldia{% \font\chessfont=fselch16% - \def\authorfont{\bfseries} - \def\cityfont{\itshape} - \def\sourcefont{\slshape} - \def\awardfont{} - \def\dedicfont{\itshape} - \def\stipfont{} - \def\remfont{} - \def\labelfont{\footnotesize} - \def\boardfont{\footnotesize} + \renewcommand*\authorfont{\bfseries} + \renewcommand*\cityfont{\itshape} + \renewcommand*\sourcefont{\slshape} + \renewcommand*\awardfont{} + \renewcommand*\dedicfont{\itshape} + \renewcommand*\stipfont{} + \renewcommand*\remfont{} + \renewcommand*\labelfont{\footnotesize} + \renewcommand*\cpd@boardfont{\footnotesize} \setboardwidth% } \def\smalldia{% \font\chessfont=fselch12% - \def\authorfont{\small\bfseries}% - \def\cityfont{\small\itshape}% - \def\sourcefont{\small\slshape}% - \def\awardfont{\small}% - \def\dedicfont{\small\itshape}% - \def\stipfont{\small}% - \def\remfont{\small}% - \def\labelfont{\small\footnotesize}% - \def\boardfont{\small\footnotesize}% + \renewcommand*\authorfont{\small\bfseries}% + \renewcommand*\cityfont{\small\itshape}% + \renewcommand*\sourcefont{\small\slshape}% + \renewcommand*\awardfont{\small}% + \renewcommand*\dedicfont{\small\itshape}% + \renewcommand*\stipfont{\small}% + \renewcommand*\remfont{\small}% + \renewcommand*\labelfont{\small\footnotesize}% + \renewcommand*\cpd@boardfont{\small\footnotesize}% \setboardwidth% } % Die Schwalbe wird in 11pt gesetzt, daher definieren wir die @@ -1550,51 +1557,43 @@ % \def\@dia@authors{% \ifauth@r% - \bgroup% - \authorfont% \ifnormal@names% \def\@dianame{\@normalname}% \fi% \@firsttrue% \let\@action=\@dia@writename% Parse the list of authors \@parseTokenlist\aut@tk;% - \par% - \egroup% \else% + \above@newline {\authorfont\@dia@numberx}% - \if@special% - \par% - \else\ifdi@no% - \par% - \fi\fi% \fi% } % \def\@dia@writename#1; {% + \above@newline \if@first% \@firstfalse% \setbox\@test@box=\hbox{% + \authorfont% \@dia@numberx\ % \@dianame#1; % }% \@test@dimen=\wd\@test@box% \ifdim\@test@dimen>\board@width\relax% - \noindent\hbox to\board@width{\@dia@numberx\hfill}\par% - \setbox\@test@box=\hbox{% - \@dianame#1; % - }% + \noindent\hbox to\board@width{\authorfont\@dia@numberx\hfill}\above@newline% + \setbox\@test@box=\hbox{\authorfont\@dianame#1; }% \@test@dimen=\wd\@test@box% \ifdim\@test@dimen>\board@width\relax% - \hbox to\board@width{\@dianame#1; \hss}% + \noindent\hbox to\board@width{\authorfont\@dianame#1; \hss}% \else% - \hfill\@dianame#1; % + {\authorfont\@dianame#1; }% \fi% \else% - \@dia@numberx\hfill\@dianame#1; % + {\authorfont\@dia@numberx\hfill\@dianame#1; }% \fi% \else% % Changed to get the resulting names centered. - \par\noindent\hbox to\board@width{\hss\@dianame#1; \hss}% + \hbox to\board@width{\hss\authorfont\@dianame#1; \hss}% \fi% \l@@klist% } diff --git a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls index ff8c6422188..ebcae890cad 100644 --- a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls +++ b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.cls @@ -34,10 +34,11 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{schwalbe}[2013/03/13] +\ProvidesClass{schwalbe}[2015/01/11] \LoadClass[11pt]{article} \RequirePackage{schwalbe} \RequirePackage{ifthen} +\RequirePackage{url} \hoffset-25mm \voffset-25mm \textheight26cm diff --git a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty index 47636ab9f23..ed80d8a7129 100644 --- a/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty +++ b/Master/texmf-dist/tex/latex/schwalbe-chess/schwalbe.sty @@ -34,8 +34,10 @@ %% %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{schwalbe}[2013/03/13] -\RequirePackage[german]{babel} +\ProvidesPackage{schwalbe}[2015/01/11] +\RequirePackage[T2A,T1]{fontenc}% fsRUS 140121 +\RequirePackage[koi8-r,utf-8]{inputenc}% fsRUS 140121 +\RequirePackage[ngerman,english,german]{babel} \RequirePackage{ifthen} \RequirePackage{diagram} \usepackage{times} @@ -75,28 +77,28 @@ \setmonthstyle{Roman} \def\normaldia{% \font\chessfont=fselch16% - \def\authorfont{\bfseries} - \def\cityfont{\itshape} - \def\sourcefont{\slshape} - \def\awardfont{} - \def\dedicfont{\itshape} - \def\stipfont{} - \def\remfont{} - \def\labelfont{\footnotesize} - \def\boardfont{\footnotesize} + \renewcommand*\authorfont{\bfseries} + \renewcommand*\cityfont{\itshape} + \renewcommand*\sourcefont{\slshape} + \renewcommand*\awardfont{} + \renewcommand*\dedicfont{\itshape} + \renewcommand*\stipfont{} + \renewcommand*\remfont{} + \renewcommand*\labelfont{\footnotesize} + \renewcommand*\cpd@boardfont{\footnotesize} \setboardwidth% } \def\smalldia{% \font\chessfont=fselch12% - \def\authorfont{\small\bfseries}% - \def\cityfont{\small\itshape}% - \def\sourcefont{\small\slshape}% - \def\awardfont{\small}% - \def\dedicfont{\small\itshape}% - \def\stipfont{\small}% - \def\remfont{\small}% - \def\labelfont{\small\footnotesize}% - \def\boardfont{\small\footnotesize}% + \renewcommand*\authorfont{\small\bfseries}% + \renewcommand*\cityfont{\small\itshape}% + \renewcommand*\sourcefont{\small\slshape}% + \renewcommand*\awardfont{\small}% + \renewcommand*\dedicfont{\small\itshape}% + \renewcommand*\stipfont{\small}% + \renewcommand*\remfont{\small}% + \renewcommand*\labelfont{\small\footnotesize}% + \renewcommand*\cpd@boardfont{\small\footnotesize}% \setboardwidth% } \renewcommand*{\diagramxi}{\normaldia} @@ -136,50 +138,42 @@ } \def\@dia@authors{% \ifauth@r% - \bgroup% - \authorfont% \ifnormal@names% \def\@dianame{\@normalname}% \fi% \@firsttrue% \let\@action=\@dia@writename% Parse the list of authors \@parseTokenlist\aut@tk;% - \par% - \egroup% \else% + \above@newline {\authorfont\@dia@numberx}% - \if@special% - \par% - \else\ifdi@no% - \par% - \fi\fi% \fi% } \def\@dia@writename#1; {% + \above@newline \if@first% \@firstfalse% \setbox\@test@box=\hbox{% + \authorfont% \@dia@numberx\ % \@dianame#1; % }% \@test@dimen=\wd\@test@box% \ifdim\@test@dimen>\board@width\relax% - \noindent\hbox to\board@width{\@dia@numberx\hfill}\par% - \setbox\@test@box=\hbox{% - \@dianame#1; % - }% + \noindent\hbox to\board@width{\authorfont\@dia@numberx\hfill}\above@newline% + \setbox\@test@box=\hbox{\authorfont\@dianame#1; }% \@test@dimen=\wd\@test@box% \ifdim\@test@dimen>\board@width\relax% - \hbox to\board@width{\@dianame#1; \hss}% + \noindent\hbox to\board@width{\authorfont\@dianame#1; \hss}% \else% - \hfill\@dianame#1; % + {\authorfont\@dianame#1; }% \fi% \else% - \@dia@numberx\hfill\@dianame#1; % + {\authorfont\@dia@numberx\hfill\@dianame#1; }% \fi% \else% % Changed to get the resulting names centered. - \par\noindent\hbox to\board@width{\hss\@dianame#1; \hss}% + \hbox to\board@width{\hss\authorfont\@dianame#1; \hss}% \fi% \l@@klist% } -- cgit v1.2.3