castling detection problem
Brought to you by:
lehoff
In some situations, castling is not tracked, leading to wrong positions. An example, also contained in attachment:
\documentclass{minimal}
\usepackage{skak}
\begin{document}
\newgame
After the moves \mainline{1.d4 Nf6 2.c4 g6 3.Nc3 Bg7 4.e4 d6 5.Nf3 0-0 6.Be2 e5 7.0-0} the board is:
\showboard
But should be:
\fenboard{rnbq1rk1/ppp2pbp/3p1np1/4p3/2PPP3/2N2N2/PP2BPPP/R1BQ1RK1 b - - 1 7}
\showboard
\end{document}
TeX source
PDF result (please ignore fonts, I can't manage to install everything correctly)