| 1 |
|
| 2 |
Changes from version 1.1 to 1.2 |
| 3 |
------------------------------- |
| 4 |
|
| 5 |
1) Improved interface to plain TeX |
| 6 |
|
| 7 |
It is now possible to `\input chess.sty' in plain TeX without having |
| 8 |
to specify the category code for the `@'. |
| 9 |
|
| 10 |
2) Language support using the babel package from Johannes Braams |
| 11 |
|
| 12 |
Babel offers facilities to dynamically change from language within one |
| 13 |
document. The default language is english unless you specify |
| 14 |
explicitly another language in your documentstyle, ex.: |
| 15 |
(LaTeX:) |
| 16 |
\documentstyle[....,english,dutch,chess]{article} |
| 17 |
(plain TeX equivalent:) |
| 18 |
\input english.sty |
| 19 |
\input dutch.sty |
| 20 |
\input chess.sty |
| 21 |
|
| 22 |
The default language is dutch because it is the last defined document- |
| 23 |
style. When chess.sty is processed dutch is defined as the current |
| 24 |
language. So the chess macros use the dutch letters for chess pieces |
| 25 |
(K=Koning, D=Dame, T=toren, L=loper, P=paard and I=pIon). Currently |
| 26 |
four languages are built into chess.sty: english (default), german, |
| 27 |
french and dutch but you can easily add another language by searching |
| 28 |
the string FOREIGN in chess.sty and following the instructions in the |
| 29 |
comments near that string. To work nicely with the babel system one |
| 30 |
also should have a FOREIGN.sty language style (see babel documentation). |
| 31 |
Here follow the letters for the chess pieces for the above mentioned |
| 32 |
languages: |
| 33 |
|
| 34 |
english german french dutch |
| 35 |
---------------------------------- |
| 36 |
Pawn Bauer Pion pIon |
| 37 |
kNight Springer Cavalier Paard |
| 38 |
Bishop L\"aufer Fou Loper |
| 39 |
Rook T\"urm Tour Toren |
| 40 |
Queen Dame Dame Dame |
| 41 |
King K\"onig Roi Koning |
| 42 |
|
| 43 |
It is not possible to change dynamically to another chess language. I |
| 44 |
leave this as an exercise to the reader :-). For a complete example of |
| 45 |
the usage of a language you can look at SchaakMaatje.ltx (dutch). |
| 46 |
|
| 47 |
3) \begin{nochess} ... \end{nochess} |
| 48 |
|
| 49 |
In my previous versions I have introduced a chess-environment that |
| 50 |
activated the `|' character. I needed this environment because LaTeX |
| 51 |
uses the `|' character in the tabular environment in SchaakMaatje.ltx. |
| 52 |
In stead of annoying everybody with this environment (you only need |
| 53 |
it for very rare occasions) I provide now an nochess-environment |
| 54 |
which does the opposite: protects the `|' character from being |
| 55 |
activated by the chess macros. Within the nochess-environment you |
| 56 |
can reactivate the `|' again with the chess-environment. |
| 57 |
The chess-environment can also be used as an alternative for the |
| 58 |
|....| pair. |
| 59 |
|
| 60 |
IMPORTANT: |
| 61 |
- remove \begin{chess} ... \end{chess} from your LaTeX-documents |
| 62 |
using chess.sty version 1.0 or 1.1 (in plain TeX \chess ... |
| 63 |
\endchess) |
| 64 |
- add \begin{nochess} ... \end{nochess} if you need to make the |
| 65 |
`|' characters inactive (in plain TeX: \nochess ... \endnochess) |
| 66 |
|
| 67 |
4) Some files renamed to serve MSDOS users. |
| 68 |
|
| 69 |
We all suffer from the limitations created by MSDOS. The chess macros |
| 70 |
used chessfig10 as the fontname for the figurine font. This name is |
| 71 |
changed to chessf10. There are a lot more filenames that don't fit in |
| 72 |
the 8+3 name space. Most of them does not give serious problems so I |
| 73 |
have not made them MSDOS friendly (would be UNIX, VAX-VMS and AmigaDOS |
| 74 |
unfriendly!). The chess macros can be used with emTeX. |
| 75 |
|
| 76 |
5) Handling of promotion improved |
| 77 |
* Black promotion problem solved (plain TeX) |
| 78 |
* comment allowed also with promotion |
| 79 |
* if no promotion piece is provided a default Q(ueen) is supposed |
| 80 |
|
| 81 |
The syntax of the argument for \ply and \move has been changed with |
| 82 |
respect to promotion: |
| 83 |
\ply [a-h][1-8][a-h][1-8]{{Q|R|B|N}comment} |
| 84 |
|
| 85 |
(letters: Q (queen), R (rook), B (bishop) and N (knight) depend on |
| 86 |
the chess language) |
| 87 |
|
| 88 |
A promotion piece may be ommited (in that case a queen is supposed) |
| 89 |
and comment is now also handled correctly. |
| 90 |
|
| 91 |
6) Small changes |
| 92 |
- change {--} into \hbox{--} to prevent hyphenation within move |
| 93 |
- \move's lined up on last row (or digit in case of castling) |
| 94 |
- `en passant capture' bug solved |
| 95 |
|
| 96 |
7) Added a scanned EPSF picture (doc/board.epsf) of original font. |
| 97 |
|
| 98 |
8) Fixed Fisher's typo in example game Fisher-Tal (see comments in |
| 99 |
doc/tal.tex and doc/tal.ltx). |
| 100 |
|
| 101 |
9) Added Informator symbols (see doc/Symbos.tex and doc/Symbols.ltx) |
| 102 |
and a LaTeX example how to use them (see doc/Kasparov.ltx). |
| 103 |
|
| 104 |
10) Added updated version of TUGboat article. |
| 105 |
|
| 106 |
I would like to thank Jan Jaap Spreij ([email protected]) for reporting |
| 107 |
points 1, 3, 5 and 6 and for his contributions to chess.sty; John Saba |
| 108 |
([email protected]) and Henry Thomas ([email protected]) for their |
| 109 |
help in improving the Informator symbols and Alex Lopez-Ortiz |
| 110 |
([email protected]) for his help in finding the `Fisher |
| 111 |
typo'. |
| 112 |
|
| 113 |
Geldrop, Feb. 1992 |
| 114 |
Piet Tutelaers |
| 115 |
internet: [email protected] |