Chess diagrams in LyX with PDFLaTeX

Suraj N. Kurapati

LyX 1.4.3 fails to generate a PDF with PDFLaTeX if you have chess diagrams in your document. The solution is to enable the chess package in your LyX document’s LaTeX preamble, as follows.


As obvious as this may seem, it took nearly three hours of fiddling around and scouring the web before I happened upon this gem of a solution.

Furthermore, I use the following in my document’s LaTeX preamble to enable chess diagrams for presentations with LaTeX-beamer (the “Beamer Presentation Class” document class in LyX).

% for chess diagrams
\usepackage{chess} % to make it work in pdflatex