I finished a little python script for converting complex games to Latex (using mostly skak). Maybe you want to try it :-)
This looks interesting. Is it possible to get a Windows exe file for the program? Thank you.
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.
See https://docs.python.org/3/using/windows.html
In Linux you browse to the script folder (via "cd C:\Script" for instance in Windows) and execute it via "python3 pgn2latex.py" (in Windows maybe "py pgn2latex.py")
I fixed some bugs in that script, so I'll attach a new version.
See https://docs.python.org/3/using/windows.html
In Linux you browse to the script folder (via "cd C:\Script" for instance in Windows) and execute it via "python3 pgn2latex.py" (in Windows maybe "py pgn2latex.py")
I fixed some bugs in that script, so I'll attach a new version.
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.
Btw., as you will have noticed, the code is pretty ugly :-) . Still, it works.
Attachment: pgn2latex2John.zip (10k)
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.
John
I see your point about deep variations as it could get confusing but either version is understandable to me as a user.
John
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.
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.
Here's a much nicer version from typographical point of view. Now you are ready to typeset your own chess book ;-)
OK, I found out that my formatting was truly horrible, so here's a new version.
Attachment: pgn2latex3.zip (221k)

And here's the latest version using a three column style
Attachment: pgn2latex3.zip (18k)

i have to point out while nicely done, who uses paper anymore, it's all on the web now
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 :-)
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
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
Hi Felix, That really looks good m8
Regards
Tony
Regards
Tony
thanks :-)
Powered by mwForum 2.27.4 © 1999-2012 Markus Wichitill