[Tex/LaTex] How to get skak to highlight squares

chessskak

I'm completely new to TeX/LaTeX so I could be missing something easy. I'm trying to create a simple chess board diagram with highlighted squares via the "skak" package. Here is a test case:

\documentclass{article}
\usepackage[ps]{skak}
\begin{document}
\newgame
\showmoverOn
\notationOff
\showboard
\highlight{a1,a3}
\highlight[x]{c1,c3}
\highlight[X]{c4}
\highlight[o]{d6}
\highlight[O]{c6}
\printarrow{e2}{e4}
\printknightmove{g8}{f6}
\end{document}

Based on the reading I've done, this should result in several highlighted/marked squares – however it does not. It compiles fine and results in a board with all the pieces, but no markings at all.

I'm compiling it with the latex command on Ubuntu Lucid if that's relevant. Skak is version 1.5 (the latest).

Any thoughts?

Best Answer

Apparently it depends on how you compile to produce your document and, because of the ps option, you have to go the long route

> latex board.tex
> dvips board.dvi
> ps2pdf board.ps

Doing this I was able to obtain the markings on the board as you expected.