LyXDocumentation for chess

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Kaligule
Posts: 1
Joined: Sat Dec 22, 2012 1:16 am

Documentation for chess

Post by Kaligule »

Hi there,
I want to write about chess games with LyX (2.0.5 on Mac OS 10.7.5). But there seams to be no documentation about it in the whole universe of google or the lyx manuals. Just some cryptical advices and hints:
Google:
-> just some mailing lists about technical stuff I don't understand
manuals:
-> there is a hint you can insert diagrams from XBoard (not realy cool, I hoped for an integratet solution)
-> a document class called "chess" is said to exist. Ahh, thats what I was searching for…

…but actually there isn't such a document class. At least there is one called "article(chess)". But when I tried to use it there was no help how to do so. Can I make a chessboard appear? How? Where is the documentation? The source code uses something called lyxskak. What does that mean. How can I use it?

Is there anyone knowing some documentation?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Documentation for chess

Post by scottkosty »

Kaligule wrote:Hi there,
I want to write about chess games with LyX (2.0.5 on Mac OS 10.7.5). But there seams to be no documentation about it in the whole universe of google or the lyx manuals. Just some cryptical advices and hints:
Google:
-> just some mailing lists about technical stuff I don't understand
manuals:
-> there is a hint you can insert diagrams from XBoard (not realy cool, I hoped for an integratet solution)
-> a document class called "chess" is said to exist. Ahh, thats what I was searching for…

…but actually there isn't such a document class. At least there is one called "article(chess)". But when I tried to use it there was no help how to do so. Can I make a chessboard appear? How? Where is the documentation? The source code uses something called lyxskak. What does that mean. How can I use it?

Is there anyone knowing some documentation?
Hi Kaligule,

It seems the last major development of the chess support was in 2001 (commit hash b2f8b8a018c5c67017b4783e5ebaf5f579a45adf) so I think that there's not documentation because not many people have been using/developing the chess support.

Here is another user who tried to get it working a couple of years ago:
http://snk.tuxfamily.org/log/chess-diag ... latex.html
I wonder if part of the user's issues were solved by this commit:

Code: Select all

commit 59389fbf3a40faae8e8d62df524b781a8105b098
Author: Jürgen Spitzmüller <spitz@lyx.org>
Date:   Mon Jan 7 18:15:49 2008 +0000

    * lib/layouts/chess.layout:
        - require chess (instead of manually loading in the preamble).
    
    git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22420 a592a061-630c-0410-9148-cb99ea01b6c8
As you noted, there is a layout. I don't know how to use it, but go to environment menu and you will see an entry with "ChessBoard". Also, not that you can go to Insert > File > External Material and I think one of the first entries is "Chess Diagram"

If you figure out some things, it would be nice if you could make a wiki page at wiki.lyx.org so that others can have an introduction for how to do things.

Scott
Post Reply