Not logged inRybka Chess Community Forum
Up Topic Rybka Support & Discussion / Rybka Discussion / New pgn to Latex conversion script
- - By Felix Kling (Gold) Date 2017-07-16 21:01 Upvotes 2
I finished a little python script for converting complex games to Latex (using mostly skak). Maybe you want to try it :-)
Parent - - By JohnS (*) Date 2018-01-31 09:49
This looks interesting. Is it possible to get a Windows exe file for the program? Thank you.
Parent - By Felix Kling (Gold) Date 2018-02-01 10:46 Edited 2018-02-01 10:48
Well, it is written in Python, so although you may be able to create an .exe with some tricks, you usually want to run it with the Python interpreter.

In Linux you browse to the script folder (via "cd C:\Script" for instance in Windows) and execute it via "python3" (in Windows maybe "py")

I fixed some bugs in that script, so I'll attach a new version.
Parent - - By Felix Kling (Gold) Date 2018-02-05 11:10 Edited 2018-02-05 11:18
Here's a version numbering variations 1) 2) 2a) 2b) and so on. I'm not sure which behaviour is intended for numbering deep variations: 2aa) or 2a1)?

Btw., as you will have noticed, the code is pretty ugly :-) . Still, it works.
Attachment: (10k)
Parent - - By JohnS (*) Date 2018-02-05 22:21 Edited 2018-02-05 22:42
Thank you Felix for the new version. The output from this script is much nicer than from the Aquarium print game option.

I see your point about deep variations as it could get confusing but either version is understandable to me as a user.

Parent - By Felix Kling (Gold) Date 2018-02-06 07:20
Glad you like it :-)
Btw., don't forget to set "copy only moves and text comments" in the Aquarium options (pgn options there). Otherwise coloured moved will appear as strange strings in the text.
Parent - By Felix Kling (Gold) Date 2018-03-10 22:34
Here's a much nicer version from typographical point of view. Now you are ready to typeset your own chess book ;-)
- By Felix Kling (Gold) Date 2018-03-17 16:15 Upvotes 3
OK, I found out that my formatting was truly horrible, so here's a new version.
Attachment: (221k)
- - By Felix Kling (Gold) Date 2018-08-27 07:46 Upvotes 1
And here's the latest version using a three column style
Attachment: (18k)
Parent - - By Vegan (****) Date 2018-10-14 03:35
i have to point out while nicely done, who uses paper anymore, it's all on the web now
Parent - - By Felix Kling (Gold) Date 2018-10-14 17:45
are there public sales figures for books/dvds? I guess the chess print market is still much bigger than the digital market, at least from what I see. May change though :-)
Parent - - By Vegan (****) Date 2018-10-28 03:46
malls used to have more bookstores but most have closed in recent years as sales drifted down

many vendors of cd/dvd have also folded

while some vendors remain open, the book and media sector are not what they used to be

given my chess site is fairly popular makes chess books a tad obsolete, been posting some articles on openings lately and might do more games
Parent - - By The Wizard (***) Date 2018-10-30 16:37
Hi Felix, That really looks good m8

Parent - By Felix Kling (Gold) Date 2018-10-30 21:34
thanks :-)
Up Topic Rybka Support & Discussion / Rybka Discussion / New pgn to Latex conversion script

Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill