summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/bartel-chess-fonts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-11-28 06:31:14 +0000
committerNorbert Preining <preining@logic.at>2010-11-28 06:31:14 +0000
commit9f42aa5f467b965eebd099eded0eb037c08d5a2f (patch)
treecf48df4fcb09569bbb1f0f2b83bee8c673256bbd /Master/texmf-dist/doc/fonts/bartel-chess-fonts
parent12280f0fefd2e4fe5388666e7091d673334112d9 (diff)
add bartel-chess-fonts
git-svn-id: svn://tug.org/texlive/trunk@20587 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/bartel-chess-fonts')
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/README44
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/CGA.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/agfa.mf8
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga-PAL.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/chess.mf92
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch15.mf2
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch30.mf26
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch34.mf26
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch5mm.mf26
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkelch.mfj10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkfootbows.mf83
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkmakeneutral.mf35
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkparallel.mf36
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkscreengrid.mf27
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkshorten.mf75
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px150.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px17.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px20.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px21.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px23.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px25.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px29.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px31.mf10
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px33.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px41.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px45.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px49.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px53.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px57.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px63.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px700.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px71.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px72.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px79.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px9.mf9
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/scan.mf8
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/screengrid.mf27
-rw-r--r--Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/turnboard.mf55
39 files changed, 795 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/README b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/README
new file mode 100644
index 00000000000..a4051d1461a
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/README
@@ -0,0 +1,44 @@
+README for bartel-chess-fonts
+=============================
+
+The fonts contained in this package are originally distributed
+on CTAN in the
+ chess-problem-diagrams
+(in the directory CTAN/macros/latex/contrib/chess-problem-diagrams)
+as
+ CTAN/macros/latex/contrib/chess-problem-diagrams/fonts.zip
+
+The original README states:
+
+ The font sources by Elmar Bartel are published under conditions of the
+ GNU General Public License.
+
+This package was create to ease installation, in this process tfm files
+for all fonts have been created (but fselch30 and fselch34 which are
+broken).
+
+To keep the namespace of metafont files sane, the following files have
+been renamed to less generic names:
+ bishop.mf -> elch-bishop.mf
+ blackfield.mf -> elch-blackfield.mf
+ chbase.mf -> elch-chbase.mf
+ equi.mf -> elch-equi.mf
+ geo.mf -> elch-geo.mf
+ king.mf -> elch-king.mf
+ knight.mf -> elch-knight.mf
+ pawn.mf -> elch-pawn.mf
+ queen.mf -> elch-queen.mf
+ rook.mf -> elch-rook.mf
+plus the respective input statements in fselch.mf adapted.
+
+Furthermore, the files in the original fonts.zip have been split
+into those that are actually needed by the fselch* pkelch* driver
+sources in the root directory, and additional test files
+(in the subdirectory doc).
+
+Any complains should be send to
+ tex-live@tug.org
+
+Norbert Preining
+for the TeX Live Team
+
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/CGA.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/CGA.mf
new file mode 100644
index 00000000000..5a882874189
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/CGA.mf
@@ -0,0 +1,10 @@
+% 10pt should give 22 pixel
+% Defintions for the special agfa mode
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 25*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/agfa.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/agfa.mf
new file mode 100644
index 00000000000..fb3575383b7
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/agfa.mf
@@ -0,0 +1,8 @@
+% Defintions for the special agfa mode
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+pixels_per_inch:= 400;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga-PAL.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga-PAL.mf
new file mode 100644
index 00000000000..2d4e45b9e10
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga-PAL.mf
@@ -0,0 +1,10 @@
+% 10pt should give 25 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 25*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga.mf
new file mode 100644
index 00000000000..1674d308011
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/amiga.mf
@@ -0,0 +1,10 @@
+% 10pt should give 22 pixel
+% Defintions for the special agfa mode
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 22/52;
+pixels_per_inch:= 44*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/chess.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/chess.mf
new file mode 100644
index 00000000000..7066ecf954d
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/chess.mf
@@ -0,0 +1,92 @@
+%======================================================================
+% This is
+% chess.mf
+%
+% Copyright (C) 19895 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%======================================================================
+%
+
+% This file is only for testing purposes
+%mode_setup;
+qs#:= 30pt#;
+
+%%
+%% what follows is a testing version of
+%% fselch.mf;
+
+% The following values should match the values given
+% to the Xresources:
+% mf*width: 700
+% mf*height: 700
+%
+screen_rows:= 700;
+screen_cols:= 700;
+
+def openit = openwindow currentwindow
+ from origin to (screen_rows, screen_cols) at (-20, qs+20)
+enddef;
+
+
+thin#=0.03qs#;
+inner_thin# = .66thin#;
+frame_thin# = 4thin#;
+
+SideSpace# = .11qs#;
+BottomWidth# = qs# - 2SideSpace#;
+BottomSpace# = .12qs#;
+TopSpace# = .12qs#;
+
+%-----------------------------------------------------------------------
+% Now define our pixels
+define_whole_pixels(qs,thin,inner_thin,frame_thin);
+define_pixels(SideSpace,BottomWidth,BottomSpace,TopSpace);
+
+%-----------------------------------------------------------------------
+% defining our pens
+pen chess_pen; chess_pen = pencircle scaled thin;
+pen inner_pen; inner_pen = pencircle scaled inner_thin;
+pen frame_pen; frame_pen = pencircle scaled frame_thin;
+pickup chess_pen;
+
+%-----------------------------------------------------------------------
+% get our base
+input chbase.mf;
+
+%-----------------------------------------------------------------------
+% now generate the figures
+pickup chess_pen; input blackfield.mf;
+%pickup chess_pen; input pawn.mf;
+%pickup chess_pen; input knight.mf;
+%Pickup chess_pen; input queen.mf;
+%pickup chess_pen; input king.mf;
+pickup chess_pen; input bishop.mf;
+%pickup chess_pen; input rook.mf;
+%pickup chess_pen; input geo.mf;
+%pickup chess_pen; input equi.mf;
+
+%----------------------------------------------------------------------
+% Now the fontdimension parameters
+font_normal_space qs#;
+font_normal_stretch 0;
+font_normal_shrink 0;
+font_x_height qs#;
+font_quad qs#;
+font_extra_space 0;
+
+
+
+%end;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch15.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch15.mf
new file mode 100644
index 00000000000..d9dad089619
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch15.mf
@@ -0,0 +1,2 @@
+design_size := 15;
+input b-fselch;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch30.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch30.mf
new file mode 100644
index 00000000000..1a99868e143
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch30.mf
@@ -0,0 +1,26 @@
+%======================================================================
+% This is
+% fselch30.mf
+%
+% Copyright (C) 1989-93 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%======================================================================
+%
+mode_setup;
+
+qs#:= 30pt#;
+input fselch.mf;
+end;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch34.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch34.mf
new file mode 100644
index 00000000000..2450c29820a
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch34.mf
@@ -0,0 +1,26 @@
+%======================================================================
+% This is
+% fselch34.mf
+%
+% Copyright (C) 1989-93 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%======================================================================
+%
+mode_setup;
+
+qs#:= 34pt#;
+input fselch.mf;
+end;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch5mm.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch5mm.mf
new file mode 100644
index 00000000000..6fa2eb0e76d
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/fselch5mm.mf
@@ -0,0 +1,26 @@
+%======================================================================
+% This is
+% fselch5mm.mf
+%
+% Copyright (C) 1989-93 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%======================================================================
+%
+mode_setup;
+
+qs#:= 5mm#;
+input fselch.mf;
+end;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkelch.mfj b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkelch.mfj
new file mode 100644
index 00000000000..601b0978bb8
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkelch.mfj
@@ -0,0 +1,10 @@
+%
+% pkelch.mfj
+%
+input[modes];
+{
+ m;
+ base=plain;
+ mags=s0 sh s1;
+ fonts=pkelch8 pkelch9 pkelch10 pkelch11 pkelch12 pkelch14 pkelch16;
+}
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkfootbows.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkfootbows.mf
new file mode 100644
index 00000000000..b23cad095ab
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkfootbows.mf
@@ -0,0 +1,83 @@
+% This is
+% pkfootbows.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+def DefineFootBows(
+ % This macro depends on the values of qs and BottomSpace
+ % and uses the makro ParallelPath.
+ expr BottomDist, %This is the space to BottomSpace
+ BowOneWidth, %This is the width of the main bow
+ FootHeight, %Distance from bottom of Bow0 to top of Bow3
+ BowTwoLoc, %Relative location of Bow2 between Bow3 and
+ % Bow1. 0 means position at position at Bow1,
+ % 1.0 means position at Bow3.
+ WidthToHeight, %Ratio of BowOneWidth/2 to Bowheight
+ BowTwoLen, %Length of Bow2 relative to Bow1
+ BowThreeLen %Lenght of Bow3 relative to Bow1
+ ) =
+
+ % All parameters are in pixels when not otherwise statet.
+ % Points are numbered from 0 to 3 from lower to upper
+ % Points to the left have suffix l, right suffix r
+ % points without further suffix are in the center of the bows
+
+ path Bow[];
+ numeric BowHeight;
+ numeric l[],x[]l,x[]r,x[],y[]l,y[]r,y[];
+
+ BowHeight = BowOneWidth*WidthToHeight/2;
+
+ % We start with the first bow
+ x1r + x1l = qs; x1r - x1l = BowOneWidth;
+ y1 = BottomSpace + 2*BowHeight + BottomDist;
+ x1 = .5qs;
+ y1l = y1r = y1 - BowHeight;
+ Bow1 = z1l .. {right} z1 .. z1r;
+
+ z0 = z1 shifted (down*2*BowHeight);
+ Bow0 = z1r .. {left} z0 .. z1l;
+
+ Bow3= ParallelPath(Bow1,FootHeight-2*BowHeight);
+ l3 = length(Bow3);
+ cu:= (1-BowThreeLen)/2;
+ Bow3:= subpath (cu*l3,(1-cu)*l3) of Bow3;
+ z3l = point 0 of Bow3;
+ z3 = point .5*length(Bow3) of Bow3;
+ z3r = point infinity of Bow3;
+
+ if proofing >0:
+ show point 0 of reverse Bow3;
+ show z3r;
+ fi;
+
+ Bow2= ParallelPath(Bow1,(FootHeight-2*BowHeight)*BowTwoLoc);
+ l2 = length(Bow2);
+ cu:= (1-BowTwoLen)/2;
+ Bow2:= subpath (cu*l2,(1-cu)*l2) of Bow2;
+ z2l = point 0 of Bow2;
+ z2 = point .5length(Bow3) of Bow2;
+ z2r = point infinity of Bow2;
+ labels(1l,1,1r,2l,2r,3l,3r);
+enddef;
+
+%DefineFootBows( .55qs, % BowOneWidth
+% .25qs, % FootHeight
+% .40, % BowTwoLoc
+% .13, % WidthToHeight
+% .90, % BowTwoLen
+% .95); % BowThreeLen
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkmakeneutral.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkmakeneutral.mf
new file mode 100644
index 00000000000..6645cf573de
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkmakeneutral.mf
@@ -0,0 +1,35 @@
+% This is
+% pkmakeneutral.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+def MakeNeutral(expr White,Black) =
+ if unknown LeftHalft: picture LeftHalf; fi
+ LeftHalf:= Black;
+ cull LeftHalf keeping (1,infinity);
+ addto LeftHalf contour (unitsquare yscaled qs xscaled (qs/2));
+ cull LeftHalf keeping (2,2);
+
+ if unknown RightHalf: picture RightHalf; fi
+ RightHalf:= White;
+ cull RightHalf keeping (1,infinity);
+ addto RightHalf contour
+ (unitsquare yscaled qs xscaled (qs/2) shifted (qs/2,0));
+ cull RightHalf keeping (2,2);
+ NeutralMan:= LeftHalf;
+ addto NeutralMan also RightHalf;
+enddef;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkparallel.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkparallel.mf
new file mode 100644
index 00000000000..1b389e08636
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkparallel.mf
@@ -0,0 +1,36 @@
+% This is
+% pkparallel.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+def NewPoint(expr p,t,dist) =
+ { begingroup pair Dir;
+ Dir= direction t of p; %show p; show t; show Dir;
+ Dir
+ endgroup }
+ (point t of p + (Dir rotated 90)*(dist/length(Dir)))
+enddef;
+def ParallelPath(expr p,dist) =
+ begingroup
+ save Dir; pair Dir; Dir = direction 0 of p;
+
+ ((point 0 of p)+(Dir rotated 90)*(dist/length(Dir))) {Dir}
+ for t=.5 step .5 until length(p):
+ .. NewPoint(p,t,dist)
+ endfor
+ endgroup
+enddef;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkscreengrid.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkscreengrid.mf
new file mode 100644
index 00000000000..c158cd34485
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkscreengrid.mf
@@ -0,0 +1,27 @@
+% This is
+% pkscreengrid.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+
+
+vardef ScreenGrid(text xlist,ylist) =
+ xmin:= min(xlist); xmax:= max(xlist);
+ ymin:= min(ylist); ymax:= max(ylist);
+ for x=xlist: screenrule((x,ymin),(x,ymax)); endfor
+ for y=ylist: screenrule((xmin,y),(xmax,y)); endfor
+enddef;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkshorten.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkshorten.mf
new file mode 100644
index 00000000000..06cc736d290
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/pkshorten.mf
@@ -0,0 +1,75 @@
+% This is
+% pkshorten.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+
+
+def Perpend(expr d,p,real) =
+ begingroup
+ save dd; pair dd;
+ dd = d/length(d);
+ (p+100*(dd rotated 90) -- p+100*(dd rotated -90)) shifted (dd*real)
+ endgroup;
+enddef;
+def ShortenPath(expr p,real) =
+ begingroup
+ save pa,pe; path pa,pe;
+ pa = Perpend(direction 0 of p,point 0 of p,real);
+ pe = Perpend(-direction length(p) of p,point length(p) of p,real);
+ subpath (
+ xpart(p intersectiontimes pa),
+ xpart(p intersectiontimes pe)) of p
+ endgroup
+enddef;
+def ShortenBegin(expr p,real) =
+ begingroup
+ save pa; path pa;
+ pa = Perpend(direction 0 of p,point 0 of p,real);
+ subpath (xpart(p intersectiontimes pa),length(p)) of p
+ endgroup
+enddef;
+def ShortenEnd(expr p,real) =
+ begingroup
+ save pe; path pe;
+ pe = Perpend(-direction length(p) of p,point length(p) of p,real);
+ subpath (0, xpart(p intersectiontimes pe)) of p
+ endgroup
+enddef;
+def LengthenBegin(expr p,real) =
+ begingroup
+ save dd; pair dd;
+ dd= direction 0 of p; dd:= dd/length(dd);
+ point 0 of p - real*dd -- p
+ endgroup
+enddef;
+def LengthenEnd(expr p,real) =
+ begingroup
+ save dd; pair dd;
+ dd= direction length(p) of p; dd:= dd/length(dd);
+ p -- point length(p) of p + real*dd
+ endgroup
+enddef;
+def Lengthen(expr p,real) =
+ begingroup
+ save db; pair db;
+ save de; pair de;
+ db= direction 0 of p; db:= db/length(db);
+ de= direction length(p) of p; de:= de/length(de);
+ point 0 of p - real*db -- p -- point length(p) of p + real*de
+ endgroup
+enddef;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px150.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px150.mf
new file mode 100644
index 00000000000..166955cd265
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px150.mf
@@ -0,0 +1,9 @@
+% 10pt should give 150 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 150*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px17.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px17.mf
new file mode 100644
index 00000000000..8e0fc3207f2
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px17.mf
@@ -0,0 +1,9 @@
+% 10pt should give 17 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 17*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px20.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px20.mf
new file mode 100644
index 00000000000..dfda97846b4
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px20.mf
@@ -0,0 +1,10 @@
+% 10pt should give 20 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 20*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px21.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px21.mf
new file mode 100644
index 00000000000..0669943624a
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px21.mf
@@ -0,0 +1,10 @@
+% 10pt should give 21 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 21*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px23.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px23.mf
new file mode 100644
index 00000000000..bc8d896e793
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px23.mf
@@ -0,0 +1,10 @@
+% 10pt should give 23 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 23*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px25.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px25.mf
new file mode 100644
index 00000000000..4fdee761021
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px25.mf
@@ -0,0 +1,9 @@
+% 10pt should give 25 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 25*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px29.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px29.mf
new file mode 100644
index 00000000000..09217f54fc1
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px29.mf
@@ -0,0 +1,10 @@
+% 10pt should give 29 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 29*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px31.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px31.mf
new file mode 100644
index 00000000000..32ec37d59dd
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px31.mf
@@ -0,0 +1,10 @@
+% 10pt should give 31 pixel
+% Defintions for the special CGA
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 31*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px33.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px33.mf
new file mode 100644
index 00000000000..9da39708658
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px33.mf
@@ -0,0 +1,9 @@
+% 10pt should give 33 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 33*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px41.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px41.mf
new file mode 100644
index 00000000000..49b0d64fdfb
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px41.mf
@@ -0,0 +1,9 @@
+% 10pt should give 41 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 41*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px45.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px45.mf
new file mode 100644
index 00000000000..71ee097a828
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px45.mf
@@ -0,0 +1,9 @@
+% 10pt should give 45 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 45*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px49.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px49.mf
new file mode 100644
index 00000000000..f8d0d859884
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px49.mf
@@ -0,0 +1,9 @@
+% 10pt should give 49 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 49*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px53.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px53.mf
new file mode 100644
index 00000000000..8bf1753b9a4
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px53.mf
@@ -0,0 +1,9 @@
+% 10pt should give 53 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 53*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px57.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px57.mf
new file mode 100644
index 00000000000..ba9c4a64563
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px57.mf
@@ -0,0 +1,9 @@
+% 10pt should give 57 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 57*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px63.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px63.mf
new file mode 100644
index 00000000000..87cc06eac2f
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px63.mf
@@ -0,0 +1,9 @@
+% 10pt should give 63 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 63*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px700.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px700.mf
new file mode 100644
index 00000000000..d28d1c73277
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px700.mf
@@ -0,0 +1,9 @@
+% 10pt should give 33 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 700*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px71.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px71.mf
new file mode 100644
index 00000000000..ed198597920
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px71.mf
@@ -0,0 +1,9 @@
+% 10pt should give 71 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 71*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px72.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px72.mf
new file mode 100644
index 00000000000..14273b2daff
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px72.mf
@@ -0,0 +1,9 @@
+% 10pt should give 72 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 72*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px79.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px79.mf
new file mode 100644
index 00000000000..f3d71eb0e20
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px79.mf
@@ -0,0 +1,9 @@
+% 10pt should give 79 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 79*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px9.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px9.mf
new file mode 100644
index 00000000000..b5526de85e3
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/px9.mf
@@ -0,0 +1,9 @@
+% 10pt should give 9 pixel
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+aspect_ratio:= 1;
+pixels_per_inch:= 9*72/10;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/scan.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/scan.mf
new file mode 100644
index 00000000000..3b2b8eca5e7
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/scan.mf
@@ -0,0 +1,8 @@
+% Defintions for the special agfa mode
+proofing:= 0;
+fontmaking:= 1;
+tracingtitles:= 1;
+pixels_per_inch:= 791;
+blacker:= .2;
+fillin:= .1;
+o_correction:= 1;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/screengrid.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/screengrid.mf
new file mode 100644
index 00000000000..c55f2c8363f
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/screengrid.mf
@@ -0,0 +1,27 @@
+% This is
+% screengrid.mf
+%
+% Copyright (C) 1989-92 by Elmar Bartel.
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 1, or (at your option)
+% any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program; if not, write to the Free Software
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+%
+
+
+vardef ScreenGrid(text xlist,ylist) =
+ xmin:= min(xlist); xmax:= max(xlist);
+ ymin:= min(ylist); ymax:= max(ylist);
+ for x=xlist: screenrule((x,ymin),(x,ymax)); endfor
+ for y=ylist: screenrule((xmin,y),(xmax,y)); endfor
+enddef;
diff --git a/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/turnboard.mf b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/turnboard.mf
new file mode 100644
index 00000000000..b19a37f816e
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/bartel-chess-fonts/other-sources/turnboard.mf
@@ -0,0 +1,55 @@
+% This is turnboard.mf
+%
+% This file contains only the definition of one charachter
+% which can be used to show, that you want to turn the board
+%
+mode_setup;
+%
+% Define the size of the character
+%
+qs#:=12pt#;
+%
+%
+define_pixels(qs);
+beginchar(0,1qs#,1qs#,0);
+pickup pencircle scaled 1/32qs;
+%
+% Define some points of the character
+%
+% This are the points for the 3/4 circle
+%
+z1=(1/8qs,1/8qs);
+z2=(1/8qs,7/8qs);
+z3=(7/8qs,7/8qs);
+z4=(7/8qs,1/8qs);
+%
+% Tip of the circled arrow
+%
+z5=(13/16qs,1/16qs);
+z6=(7/8qs,2/8qs);
+z7=(1qs,1/8qs);
+%
+% A small chessboard inside the arrow
+%
+z8=(1/4qs,1/4qs);
+z9=(1/4qs,1/2qs);
+z10=(1/4qs,3/4qs);
+z11=(1/2qs,1/4qs);
+z12=(1/2qs,1/2qs);
+z13=(1/2qs,3/4qs);
+z14=(3/4qs,1/4qs);
+z15=(3/4qs,1/2qs);
+z16=(3/4qs,3/4qs);
+%
+% Show the 3/4 circled arrow around the board
+%
+draw z1{-1,1}..{1,1}z2{1,1}..{1,-1}z3{1,-1}..{-1,-1}z4;
+fill z5--z6--z7--cycle;
+draw z8--z10--z16--z14--cycle;
+fill z8--z9--z12--z11--cycle;
+fill z12--z13--z16--z15--cycle;
+endchar;
+%
+% Thats all
+%
+end;