summaryrefslogtreecommitdiff
path: root/fonts/chess/skak/test
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/chess/skak/test
Initial commit
Diffstat (limited to 'fonts/chess/skak/test')
-rw-r--r--fonts/chess/skak/test/WC-2004-S-00007.tex98
-rw-r--r--fonts/chess/skak/test/andreas_wilm_1.tex28
-rw-r--r--fonts/chess/skak/test/angletst.tex52
-rw-r--r--fonts/chess/skak/test/debug_storegame.tex105
-rw-r--r--fonts/chess/skak/test/fen_with_black.tex28
-rw-r--r--fonts/chess/skak/test/font.tex31
-rw-r--r--fonts/chess/skak/test/font2.tex39
-rw-r--r--fonts/chess/skak/test/hightest.tex309
-rw-r--r--fonts/chess/skak/test/ingo-bug1.tex21
-rw-r--r--fonts/chess/skak/test/longmove_king_bug.tex23
-rw-r--r--fonts/chess/skak/test/longmoves.tex42
-rw-r--r--fonts/chess/skak/test/promotion_problem_Ulrike.tex9
-rw-r--r--fonts/chess/skak/test/region.tex52
-rw-r--r--fonts/chess/skak/test/show.tex33
-rw-r--r--fonts/chess/skak/test/test1.tex42
-rw-r--r--fonts/chess/skak/test/test2.tex41
-rw-r--r--fonts/chess/skak/test/test_capture.tex34
17 files changed, 987 insertions, 0 deletions
diff --git a/fonts/chess/skak/test/WC-2004-S-00007.tex b/fonts/chess/skak/test/WC-2004-S-00007.tex
new file mode 100644
index 0000000000..dc1fdf597e
--- /dev/null
+++ b/fonts/chess/skak/test/WC-2004-S-00007.tex
@@ -0,0 +1,98 @@
+\documentclass[german,twocolumn,a4paper,twoside,10pt]{article}
+
+\usepackage{skak}
+\usepackage{babel}
+\newcommand{\chessgame}[4]{
+ \begin{center}
+ \large{\textbf{#1} -- \textbf{#2}}
+
+ \textsf{#3}
+
+ \small{\textsc{#4}}
+ \end{center}
+}
+
+\title{Semifinal IECG WC2004}
+\author{Ingo Sander}
+\begin{document}
+
+\maketitle
+
+\chessgame{Anatoly Sidenko}{Ingo Sander}{IECG:WC-2004-Semifinal, 2002}{}
+\styleB
+\newgame
+\mainline{1. d4 d5 2. Nf3 Nf6 3.Bf4 c5 4.e3 Nc6 5.c3}
+\[\showboard\]
+
+\chessgame{Ingo Sander}{Davor Matic}{IECG:WC-2004-Semifinal, 2002}{K\"{o}nigsindisch}
+\styleB
+\newgame
+\mainline{1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. d4 O-O 6. Be2 e5 7. O-O Nc6 8. d5 Ne7 9. b4 a5 10. Ba3 Nd7}
+%11. bxa5 Rxa5 12. Bb4 Ra8 13. a4 Bh6 14. a5 f5 15. Nd2 Nf6 16.c5 Bxd2 17.Qxd2 fxe4}
+\[\showboard\]
+
+\chessgame{Ingo Sander}{Davor Matic}{IECG:WC-2004-Semifinal, 2002}{K\"{o}nigsindisch}
+\styleB
+\newgame
+\mainline{1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. d4 O-O 6. Be2 e5 7. O-O Nc6 8. d5 Ne7 9. b4 a5 10. Ba3 Nd7 11. bxa5 Rxa5 12. Bb4 Ra8 13. a4 Bh6 14. a5 f5 15. Nd2 Nf6 16.c5 Bxd2 17.Qxd2 fxe4}
+\[\showboard\]
+
+
+\chessgame{James Miller}{Ingo Sander}{IECG:WC-2004-Semifinal, 2002}{Caro-Kann}
+\styleB
+\newgame
+\mainline{1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nd7 5.Ng5 Ngf6 6.Bd3 e6 7.N1f3 Bd6 8.Qe2 h6 9.Ne4}
+\[\showboard\]
+
+\chessgame{Ingo Sander}{Juan A. Fabiani}{IECG:WC-2004-Semifinal, 2002}{}
+\styleB
+\newgame
+\mainline{1.Nf3 Nf6 2.c4 e6 3.Nc3 d5 4.d4 c6 5.e3 Nbd7}
+\[\showboard\]
+
+\chessgame{Harold Edighoffer}{Ingo Sander}{IECG:WC-2004-Semifinal, 2002}{}
+\styleB
+\newgame
+\mainline{1.e4 c6 2.d4 d5 3.e5 Bf5 4.Bd3 Bxd3}
+\[\showboard\]
+
+\chessgame{Ingo Sander}{Alain Lacoste}{IECG:WC-2004-Semifinal, 2002}{Englisch 1. $\dots$ c5}
+\styleB
+\newgame
+\mainline{1.Nf3 c5 2.c4 Nf6 3.Nc3 Nc6 4.g3 d5 5.d4 cxd4 6.Nxd4 dxc4 7.Nxc6 Qxd1+ 8.Nxd1 bxc6 9.Bg2 Nd5 10.Ne3 e6 11.Nxc4 Ba6 12.Na5 Bb4+ 13.Bd2 Bxa5 14.Bxa5 Rb8
+15.b3 Ke7}
+\[\showboard\]
+
+\chessgame{Holger Kiefhaber}{Ingo Sander}{IECG:WC-2004-Semifinal, 2002}{Caro-Kann}
+\styleB
+\newgame
+\mainline{1.e4 c6 2.d4 d5 3.exd5 cxd5 4.c4 Nf6 5.Nc3 e6 6.Nf3 Bb4 7.cxd5 Nxd5 8.Bd2 Nc6 9.Bd3 O-O 10.O-O Be7}
+\[\showboard\]
+
+\chessgame{Ingo Sander}{Manfred Fritz}{IECG:WC-2004-Semifinal, 2002}{}
+\styleB
+\newgame
+\mainline{1.Nf3 Nf6 2.c4 b6 3.g3 c5 4.Bg2 Bb7 5.O-O}
+\[\showboard\]
+
+\begin{table*}[htbp]
+ \centering
+ \begin{tabular}{|llr|ccccccccc|c|c|}
+\hline
+Sidenko, Anatoly & RUS & 2293 & - & & & & & & & & & 0,0 & 1 \\
+Matic, Davor & CRO & 2310 & & - & & & & & & & & 0,0 & 1 \\
+Miller, James & ENG & 2109 & & & - & & & & & & & 0,0 & 1 \\
+Fabiani, Juan A. & ESP & 2382 & & & & - & & & & & & 0,0 & 1 \\
+Edighoffer, Harold & USA & 2433 & & & & & - & & & & & 0,0 & 1 \\
+Sander, Ingo & GER & 2197 & & & & & & - & & & & 0,0 & 1 \\
+Lacoste, Alain & FRA & 2009 & & & & & & & - & & & 0,0 & 1 \\
+Kiefhaber, Holger & GER & 2250 & & & & & & & & - & & 0,0 & 1 \\
+Fritz, Manfred & GER & 2348 & & & & & & & & & - & 0,0 & 1 \\
+\hline
+ \end{tabular}
+ \caption{Semifinale IECG WC 2004 (Gruppe 7)}
+ \label{tab:ResultatWC2004}
+\end{table*}
+
+\end{document}
+
diff --git a/fonts/chess/skak/test/andreas_wilm_1.tex b/fonts/chess/skak/test/andreas_wilm_1.tex
new file mode 100644
index 0000000000..ccc49ffc86
--- /dev/null
+++ b/fonts/chess/skak/test/andreas_wilm_1.tex
@@ -0,0 +1,28 @@
+\documentclass[twocolumn]{article}
+
+\usepackage{skak}
+
+
+\begin{document}
+
+\styleC
+\newgame
+
+\fenboard{r4q2/1b2nBrk/pp3p1p/4p3/4p3/2N1R2Q/PPP2PPP/R5K1 w - - 0 26}
+
+\[\showboard\]
+
+\mainline{26. Qxh6 Kxh6 27. Rh3+ Kg5}
+
+
+
+\[\showboard\]
+
+
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/fonts/chess/skak/test/angletst.tex b/fonts/chess/skak/test/angletst.tex
new file mode 100644
index 0000000000..7198260c86
--- /dev/null
+++ b/fonts/chess/skak/test/angletst.tex
@@ -0,0 +1,52 @@
+%% Name: angletst.tex
+%% Author: Dirk Baechle
+%% Date: 2003-01-23
+
+\documentclass[12pt]{article}
+
+\usepackage[ps]{skak}
+
+\def\testfileangle#1#2#3{%
+ \texttt{#1 -> #2}
+ \printfileangle{#1}{#2}
+ should be: #3\newline}
+
+\def\testrankangle#1#2#3{%
+ \texttt{#1 -> #2}
+ \printrankangle{#1}{#2}
+ should be: #3\newline}
+
+\begin{document}
+
+\section{Test of the ``\texttt{fileangle}s''}
+
+\testfileangle{a}{b}{0}
+\testfileangle{a}{c}{0}
+\testfileangle{b}{a}{0}\testfileangle{b}{c}{0}\testfileangle{b}{d}{0}
+\testfileangle{c}{a}{180}\testfileangle{c}{b}{0}
+\testfileangle{c}{d}{0}\testfileangle{c}{e}{0}
+\testfileangle{d}{b}{180}\testfileangle{d}{c}{0}
+\testfileangle{d}{e}{0}\testfileangle{d}{f}{0}
+\testfileangle{e}{c}{180}\testfileangle{e}{d}{0}
+\testfileangle{e}{f}{0}\testfileangle{e}{g}{0}
+\testfileangle{f}{d}{180}\testfileangle{f}{e}{0}
+\testfileangle{f}{g}{0}\testfileangle{f}{h}{0}
+\testfileangle{g}{e}{180}\testfileangle{g}{f}{0}\testfileangle{g}{h}{0}
+\testfileangle{h}{f}{180}\testfileangle{h}{g}{0}
+
+\section{Test of the ``\texttt{rankangle}s''}
+
+\testrankangle{1}{2}{0}\testrankangle{1}{3}{90}
+\testrankangle{2}{1}{0}\testrankangle{2}{3}{0}\testrankangle{2}{4}{90}
+\testrankangle{3}{1}{270}\testrankangle{3}{2}{0}
+\testrankangle{3}{4}{0}\testrankangle{3}{5}{90}
+\testrankangle{4}{2}{270}\testrankangle{4}{3}{0}
+\testrankangle{4}{5}{0}\testrankangle{4}{6}{90}
+\testrankangle{5}{3}{270}\testrankangle{5}{4}{0}
+\testrankangle{5}{6}{0}\testrankangle{5}{7}{90}
+\testrankangle{6}{4}{270}\testrankangle{6}{5}{0}
+\testrankangle{6}{7}{0}\testrankangle{6}{8}{90}
+\testrankangle{7}{5}{270}\testrankangle{7}{6}{0}\testrankangle{7}{8}{0}
+\testrankangle{8}{6}{270}\testrankangle{8}{7}{0}
+
+\end{document}
diff --git a/fonts/chess/skak/test/debug_storegame.tex b/fonts/chess/skak/test/debug_storegame.tex
new file mode 100644
index 0000000000..bccd6f3e7a
--- /dev/null
+++ b/fonts/chess/skak/test/debug_storegame.tex
@@ -0,0 +1,105 @@
+
+
+\documentclass[10pt]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{Ensure that storegame stores the full game}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+
+
+\newgame
+\mainline{1. d4 d5}
+
+\boardasfen
+
+\storegame{game1}
+\restoregame{game1}
+
+\boardasfen
+
+\showboard
+
+\mainline{2. Nc3 Nc6 3. Bg5 Bd7}
+
+\showboard
+
+\boardasfen
+
+%\restoregame{skak.mainline.previous}
+
+\boardasfen
+
+\variation{3...f6}
+
+\mainline{4.e4}
+
+\showboard
+
+\section{Next}
+
+\newgame
+\mainline{1.e4 e5 2. Nf3 Nc6 3.Bb5}
+\storegame{game1}
+
+\showboard
+\boardasfen
+
+\mainline{3...a6 4.Ba4 b5}
+
+\showboard
+\restoregame{game1}
+
+\showboard
+\boardasfen
+
+Move number: \arabic{move}.
+
+
+
+
+\mainline{3...Bd7}
+\showboard
+
+\section{tuggame}
+
+\fenboard{1q3kr1/3rb2p/p3Q3/8/%
+1p6/8/PPP3PP/4R2K w - - 0 26}
+
+\showboard
+
+\mainline{26. Qxd7}
+
+\showboard
+
+Not \variation{26. Rf1+ Kg7 27. Rf7+
+Kh8}
+
+%\variation{26. Rf1+}
+
+\showboard
+
+% \variationcurrent{26...Qa7}
+
+% \showboard
+
+and if \continuevariationcurrent{28. Qxd7 Rd8 29. Qg4 Qe5}
+wins.
+
+\showboard
+
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/fen_with_black.tex b/fonts/chess/skak/test/fen_with_black.tex
new file mode 100644
index 0000000000..f874af3871
--- /dev/null
+++ b/fonts/chess/skak/test/fen_with_black.tex
@@ -0,0 +1,28 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{Fen with black to move}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+\newgame
+\fenboard{1k6/4K3/8/1B1N4/8/8/8/8 b - - 0 1}
+\showboard
+\mainline{1...Ka7 2. Kd7 Kb7 3. Kd8 Kb8 4. Ba6}
+\showboard
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/font.tex b/fonts/chess/skak/test/font.tex
new file mode 100644
index 0000000000..50ac88a1f2
--- /dev/null
+++ b/fonts/chess/skak/test/font.tex
@@ -0,0 +1,31 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover,skaknew]{skak}
+
+\title{font\\testing the skaknew fonts}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+
+
+\newgame
+\showallbut{K,k}
+
+\showboard
+
+
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/font2.tex b/fonts/chess/skak/test/font2.tex
new file mode 100644
index 0000000000..19ed5d68a3
--- /dev/null
+++ b/fonts/chess/skak/test/font2.tex
@@ -0,0 +1,39 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{font\\testing the font selection for figurines}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+
+
+\newgame
+
+\mainline{1.d4 d5 2. e4 dxe4 3. Nc3 Nf6 4. f3 exf3 5. Nxf3}
+
+
+\[
+\showboard
+\]
+
+
+\end{document}
+
+
+
+
+
+
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/fonts/chess/skak/test/hightest.tex b/fonts/chess/skak/test/hightest.tex
new file mode 100644
index 0000000000..24a4e553cf
--- /dev/null
+++ b/fonts/chess/skak/test/hightest.tex
@@ -0,0 +1,309 @@
+%% Name: hightest.tex
+%% Author: Dirk Baechle
+%% Date: 2003-01-22
+
+\documentclass[a4paper, twocolumn]{article}
+\usepackage[ps]{skak}
+\tinyboard
+
+\setlength{\parindent}{0pt}
+
+\def\square#1{\texttt{#1}}
+\def\testarrow#1#2{%
+ \printarrow{#1}{#2}
+ \mbox{\texttt{(#1 -> #2)}}}
+
+\def\testknightmove#1#2{%
+ \printknightmove{#1}{#2}
+ \mbox{\texttt{(#1 -> #2)}}}
+
+\pagestyle{empty}
+
+\begin{document}
+
+\section{Test of the ``\texttt{highlight}'' command}
+
+In all following boards there should appear
+
+\begin{itemize}
+\item frames on \square{g1}, \square{f2} and \square{e3}
+\item a small cross on \square{a1},
+\item a large cross on \square{a8},
+\item a small circle on \square{h1} and
+\item a large circle on \square{h8}.
+\end{itemize}
+
+\subsection{White to move}
+\subsubsection{With notation}
+
+\fenboard{2rr3k/pp3pp1/1nnqbN1p/3pN3/2pP4/2P3Q1/PPB4P/R4RK1 w KQkq - 0 1}
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\subsubsection{Without notation}
+\notationOff
+
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\subsubsection{With mover}
+\showmoverOn
+\notationOn
+
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\notationOff
+\medskip
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\subsection{Black to move}
+\subsubsection{With notation}
+\notationOn
+\showmoverOff
+\fenboard{2rr3k/pp3pp1/1nnqbN1p/3pN3/2pP4/2P3Q1/PPB4P/R4RK1 b KQkq - 0 1}
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\subsubsection{Without notation}
+\notationOff
+
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\subsubsection{With mover}
+\showmoverOn
+\notationOn
+
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\notationOff
+\medskip
+\centerline{\showboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\medskip
+\centerline{\showinverseboard}
+\highlight{g1,f2,e3}
+\highlight[x]{a1}
+\highlight[X]{a8}
+\highlight[o]{h1}
+\highlight[O]{h8}
+
+\section{Test of the ``\texttt{printarrow}'' command}
+
+%% Init board
+\notationOn
+\showmoverOff
+\fenboard{2rr3k/pp3pp1/1nnqbN1p/3pN3/2pP4/2P3Q1/PPB4P/R4RK1 w KQkq - 0 1}
+
+\subsection{From lower to upper half}
+
+\centerline{\showboard}
+\testarrow{a1}{a8}
+\testarrow{f3}{e6}
+\testarrow{g4}{h7}
+
+\newpage
+\centerline{\showinverseboard}
+\testarrow{a1}{a8}
+\testarrow{f3}{e6}
+\testarrow{g4}{h7}
+
+\subsection{From upper to lower half}
+\centerline{\showboard}
+\testarrow{h8}{h1}
+\testarrow{f7}{c2}
+\testarrow{b6}{g3}
+
+\medskip
+\centerline{\showinverseboard}
+\testarrow{h8}{h1}
+\testarrow{f7}{c2}
+\testarrow{b6}{g3}
+
+\subsection{From left to right half}
+\centerline{\showboard}
+\testarrow{a1}{h1}
+\testarrow{b2}{h8}
+\testarrow{c7}{g3}
+
+\medskip
+\centerline{\showinverseboard}
+\testarrow{a1}{h1}
+\testarrow{b2}{h8}
+\testarrow{c7}{g3}
+
+\subsection{From right to left half}
+\centerline{\showboard}
+\testarrow{h8}{a8}
+\testarrow{g6}{a4}
+\testarrow{f3}{c5}
+
+\medskip
+\centerline{\showinverseboard}
+\testarrow{h8}{a8}
+\testarrow{g6}{a4}
+\testarrow{f3}{c5}
+
+\section{Test of the ``\texttt{printknightmove}'' command}
+
+\subsection{Upwards}
+\centerline{\showboard}
+\testknightmove{d4}{b5}
+\testknightmove{d4}{c6}
+\testknightmove{d4}{e6}
+\testknightmove{d4}{f5}
+
+\medskip
+\centerline{\showinverseboard}
+\testknightmove{d4}{b5}
+\testknightmove{d4}{c6}
+\testknightmove{d4}{e6}
+\testknightmove{d4}{f5}
+
+\subsection{Downwards}
+\centerline{\showboard}
+\testknightmove{e6}{c5}
+\testknightmove{e6}{d4}
+\testknightmove{e6}{f4}
+\testknightmove{e6}{g5}
+
+\medskip
+\centerline{\showinverseboard}
+\testknightmove{e6}{c5}
+\testknightmove{e6}{d4}
+\testknightmove{e6}{f4}
+\testknightmove{e6}{g5}
+
+\subsection{To the right}
+\centerline{\showboard}
+\testknightmove{b4}{c6}
+\testknightmove{b4}{d5}
+\testknightmove{b4}{d3}
+\testknightmove{b4}{c2}
+
+\medskip
+\centerline{\showinverseboard}
+\testknightmove{b4}{c6}
+\testknightmove{b4}{d5}
+\testknightmove{b4}{d3}
+\testknightmove{b4}{c2}
+
+\subsection{To the left}
+\centerline{\showboard}
+\testknightmove{f5}{e7}
+\testknightmove{f5}{d6}
+\testknightmove{f5}{d4}
+\testknightmove{f5}{e3}
+
+\medskip
+\centerline{\showinverseboard}
+\testknightmove{f5}{e7}
+\testknightmove{f5}{d6}
+\testknightmove{f5}{d4}
+\testknightmove{f5}{e3}
+
+\subsection{From the corners}
+\centerline{\showboard}
+\testknightmove{a1}{b3}
+\testknightmove{a1}{c2}
+\testknightmove{a8}{c7}
+\testknightmove{a8}{b6}
+\testknightmove{h8}{g6}
+\testknightmove{h8}{f7}
+\testknightmove{h1}{g3}
+\testknightmove{h1}{f2}
+
+\end{document}
+
diff --git a/fonts/chess/skak/test/ingo-bug1.tex b/fonts/chess/skak/test/ingo-bug1.tex
new file mode 100644
index 0000000000..bc0ef9508a
--- /dev/null
+++ b/fonts/chess/skak/test/ingo-bug1.tex
@@ -0,0 +1,21 @@
+\documentclass[german,twocolumn]{article}
+
+\usepackage{skak}
+\usepackage[german]{babel}
+
+
+\begin{document}
+
+\styleC
+\newgame
+
+\mainline{1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5.d4 O-O 6. Be2 e5
+ 7. O-O Nc6 8. d5 Ne7 9. b4 a5 10. Ba3 Nd7 11. bxa5 Rxa5 12. Bb4 Ra8
+ 13. a4 Bh6 14. a5 f5 15. Nd2 Nf6 16.c5 Bxd2 17.Qxd2 fxe4}
+
+
+\[\showboard\]
+
+
+
+\end{document}
diff --git a/fonts/chess/skak/test/longmove_king_bug.tex b/fonts/chess/skak/test/longmove_king_bug.tex
new file mode 100644
index 0000000000..8af601c3f5
--- /dev/null
+++ b/fonts/chess/skak/test/longmove_king_bug.tex
@@ -0,0 +1,23 @@
+\documentclass{article}
+
+\usepackage{skak}
+
+\begin{document}
+
+\styleC
+
+\longmoves
+
+\newgame
+
+\mainline{ 1. e4 e5 2. Ke2 Ke7 }
+
+% \lastmove
+
+\showboard
+
+\end{document}
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/fonts/chess/skak/test/longmoves.tex b/fonts/chess/skak/test/longmoves.tex
new file mode 100644
index 0000000000..684b75aca5
--- /dev/null
+++ b/fonts/chess/skak/test/longmoves.tex
@@ -0,0 +1,42 @@
+\documentclass[11pt,a4paper]{book}
+%
+
+\usepackage{skak}
+%\usepackage{texmate}
+%\usepackage{chessboard}
+%
+
+
+\begin{document}
+\pagestyle{headings}
+
+\styleC
+
+\chapter*{}
+
+\section*{8.\ partija\\
+DAMIN GAMBIT. TARRASCHEVA OBRAMBA}
+{\tiny\bf Igrana 26. julija 1906. leta v Nurnbergu}
+%%
+%\newchessgame[id=Vidmar_8,
+%white={M. Vidmar},
+%black={dr. S. Tarrasch},
+%result={1-0}]
+%%
+%\begin{center}
+%{\em\xskakgetgame{white}\ ---\ \xskakgetgame{black}}
+%\end{center}
+
+\newgame\longmoves
+\mainline{1.d4 d5 2.c4 e6 3.Nc3 c5}
+%
+
+basuhsa
+(\variation{3... Nf6})
+ \wmove{c7-c5}. 2. c2-c4,
+
+\variationcurrent{4.e3}.
+
+\variationcurrent{4. cxd5 exd5 5. Nf3 Nf6 6. g3 Nc6 7. Bg2 Be7 8.O-O O-O}.
+
+\end{document} \ No newline at end of file
diff --git a/fonts/chess/skak/test/promotion_problem_Ulrike.tex b/fonts/chess/skak/test/promotion_problem_Ulrike.tex
new file mode 100644
index 0000000000..767cf340fe
--- /dev/null
+++ b/fonts/chess/skak/test/promotion_problem_Ulrike.tex
@@ -0,0 +1,9 @@
+\documentclass{scrbook}
+\usepackage{skak}
+\begin{document}
+\newgame
+\fenboard{5B2/2p3P1/5k2/4p3/p4p2/P3r3/P4K2/8 w - - 0 60}
+
+\mainline{60. g8=Q}
+
+\end{document}
diff --git a/fonts/chess/skak/test/region.tex b/fonts/chess/skak/test/region.tex
new file mode 100644
index 0000000000..8cb7c0d4ba
--- /dev/null
+++ b/fonts/chess/skak/test/region.tex
@@ -0,0 +1,52 @@
+\message{ !name(longmoves.tex)}\documentclass[11pt,a4paper]{book}
+%
+
+\usepackage{skak}
+%\usepackage{texmate}
+%\usepackage{chessboard}
+%
+
+
+\begin{document}
+
+\message{ !name(longmoves.tex) !offset(-3) }
+
+\pagestyle{headings}
+
+\styleC
+
+\chapter*{}
+
+\section*{8.\ partija\\
+DAMIN GAMBIT. TARRASCHEVA OBRAMBA}
+{\tiny\bf Igrana 26. julija 1906. leta v Nurnbergu}
+%%
+%\newchessgame[id=Vidmar_8,
+%white={M. Vidmar},
+%black={dr. S. Tarrasch},
+%result={1-0}]
+%%
+%\begin{center}
+%{\em\xskakgetgame{white}\ ---\ \xskakgetgame{black}}
+%\end{center}
+
+\newgame\longmoves
+\mainline{1.d4 d5 2.c4 e6 3.Nc3 c5}
+%
+
+basuhsa
+(\variation{3... Nf6})
+nezadostna in da rni proti daminemu
+gambitu ne more dovolj zgodaj igrati \wmove{c7—c5}. To obrambno potezo je poskušal celo kot odgovor na 2. c2—c4, potem pa se je z njo utaboril
+v tretjem poteznem paru. Njegov veliki sloves je njegovi obrambi dajal
+odgovarjal
+\variation{4.e3}.
+Nazadnje pa je A. Rubinstein n pravo pot:
+\variation{4. cxd5 exd5 5. Nf3 Nf6 6. g3 Nc6 7. Bg2 Be7 8.O-O O-O}.
+V tej varianti ima črni nedvomno teave, ki so gotovo nekoliko veje od teav v
+ortodoksni obrambi dami-nega gambita. Toda Tarrasch jih nikoli ni priznal. Tarrasch tudi ni nikoli popolnoma razumel svojega velikega
+učenca Rubinsteina. Ta veliki mojster je bil namreč nesporno eden izmed vodilnih pionirjev hipermoderne ole, in Reti ter Nimcovi,
+priznana ustanovitelja te ole, mu ne moreta krajšati ustreznih zaslug.
+
+\end{document}
+\message{ !name(longmoves.tex) !offset(-52) }
diff --git a/fonts/chess/skak/test/show.tex b/fonts/chess/skak/test/show.tex
new file mode 100644
index 0000000000..048e46d226
--- /dev/null
+++ b/fonts/chess/skak/test/show.tex
@@ -0,0 +1,33 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{show\\testing of the show commands}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+2004-07-04: Ulrike Fischer suggested that a new command \verb|\showallut| was
+introduced so that all pieces except the ones name were shown on the board.
+
+
+\newgame
+\showallbut{K,k}
+
+\showboard
+
+
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/test1.tex b/fonts/chess/skak/test/test1.tex
new file mode 100644
index 0000000000..8343dd1372
--- /dev/null
+++ b/fonts/chess/skak/test/test1.tex
@@ -0,0 +1,42 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{test1\\Ensuring that no Unwanted Spaces are Created}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+Ulrike Fischer had a problem with unwanted spaces which should be
+solved in version 1.1.
+
+
+\newgame
+\mainline{1. d4 d5} \mainline{2. Nc3 Nc6 3. Bg5 Bd7}
+
+\newgame
+\mainline{1.d4 d5} \mainline{2. Nc3 Nc6 3. e4 e5}
+
+
+\newgame
+\mainline{1.d4 d5} \mainline{2. e3 e6 3. c4 c5}
+
+\newgame
+\mainline{1.d4 d5} \mainline{2. e3 e6 3. c4 c5}
+
+\showboard
+
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/test2.tex b/fonts/chess/skak/test/test2.tex
new file mode 100644
index 0000000000..2abf45fc97
--- /dev/null
+++ b/fonts/chess/skak/test/test2.tex
@@ -0,0 +1,41 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{test2\\Proper Handling of Opening Spaces in the SAN Input}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+Ulrike Fischer had a problem with opening spaces in the SAN input
+which should be solved in version 1.1.
+
+
+\newgame
+\mainline{1.e4 e5}
+
+\[\showboard\]
+
+\newgame
+\mainline{1. e4 e5}
+
+\[\showboard\]
+
+\newgame
+\mainline{ 1. e4 e5}
+
+\[\showboard\]
+
+\end{document}
+
+
+
+
+
+
diff --git a/fonts/chess/skak/test/test_capture.tex b/fonts/chess/skak/test/test_capture.tex
new file mode 100644
index 0000000000..0d96fe7ecc
--- /dev/null
+++ b/fonts/chess/skak/test/test_capture.tex
@@ -0,0 +1,34 @@
+
+
+\documentclass[11pt,twocolumn]{article}
+
+\usepackage[ps,mover]{skak}
+
+\title{test1\\Getting the capture symbol in}
+\author{Torben Hoffmann }
+
+\begin{document}
+
+\parindent=0pt
+
+\maketitle
+
+\styleB
+\newgame
+\mainline{1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. d4 O-O 6. Be2 e5 7. O-O
+ Nc6 8. d5 Ne7 9. b4 a5 10. Ba3 Nd7 11. bxa5 Rxa5 12. Bb4 Ra8 13. a4 Bh6
+ 14. a5 f5 15. Nd2 Nf6 16.c5 Bxd2 17.Qxd2 fxe4}
+\variation{17... f4}
+
+
+\[\showboard\]
+
+
+
+\end{document}
+
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End: