Thread: [Scidvspc-users] Printing Games with LaTeX (Help or Feature Request)
Chess Database and Toolkit program
Brought to you by:
stevenaaus
From: Alan W. <a.c...@gm...> - 2013-04-05 01:40:56
|
Hi Steveand community, I've been printing individual games and game collections by exporting them to Latex. However, there seems to be two essential components missing that I believewould enhance the printouts: For game collections, away to number each game; and for each ply of moves, thechess engine's evaluation. When evaluating one's own games with Stockfish (or some other engine,) this excellent feature wouldhelpto evaluate the estimated positional value of the move. And it would be even more helpful when combined withinserted variations. Example: *Game 1* Myaskov I Alekhine, Alexander 19031 - 0 D43 1 . d4 d5 [0.00] 2. c4 e6 [+0.15] 3. Nc3 Nf6 [+0.18] 4. Nf3 c6 [+0.25] 5. Bg5 Be7 [+0.20] 6. e3dxc4 [-0.12] 7. e4 h6 [-0.18] 8 Bxf6 Bxf6 [-0.25] ... I'm not a programmer or a LaTeX practitioner, but I've tried using the following code to enumerate the games. The problem is that each game will need to be wrapped with the'enumerate' environment. \begin{enumerate} \item {\bf $\circ$ Myaskov, I\\ $\bullet$ Alekhine, Alexander\\ \\ 1903 \hfill 1-0 \hfill D43\\ } \begin{chess}{\bf 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c6 5.Bg5 Be7 6.e3 dxc4 7.e4 h6 8.Bxf6 Bxf6 9.e5 Be7 10.Bxc4 Nd7 11.O-O Nb6 12.Bd3 c5 13.dxc5 Bxc5 14.Ne4 Be7 15.Rc1 Bd7 16.Qe2 Bc6 17.Rfd1 Nd5 18.Bb1 Qb6 19.b3 Nf4 20.Qb2 Bxe4 21.Bxe4 Rd8 }\end{chess} {\bf 1-0} \end{enumerate} Hopefully I was clear enough, your help is greatly appreciated. |
From: Steve A <ste...@gm...> - 2013-04-05 12:50:51
|
Hi Alan, Sorry, but i'm not too interested in Scid's LaTex features. I know it's a nice format with a lot of history, but it's an absolute devil to work with. If anyone makes reasonable patches, i'll be glad to include them. PS - i'm still cleaning up the docking system. It seems mostly finished :) As soon as i debug it on OS X, i might ready Scid vs PC 4.9, but I'm still fairly busy. Recent other tweaks include the ability to hide the gamelist buttons via right-clicking the gamelist, not starting engines at Docking start-up , and binding 'Space-Bar' to engine stop/start. Carlsen vs. Anand. Bring it on ! S. On Fri, Apr 5, 2013 at 11:41 AM, Alan Whiteman <a.c...@gm...> wrote: > Hi Steveand community, > > I've been printing individual games and game collections by exporting > them to Latex. However, there seems to be two essential components > missing that I believewould enhance the printouts: For game collections, > away to number each game; and for each ply of moves, thechess engine's > evaluation. > > When evaluating one's own games with Stockfish (or some other engine,) > this excellent feature wouldhelpto evaluate the estimated positional > value of the move. And it would be even more helpful when combined > withinserted variations. > > Example: > > *Game 1* > Myaskov I > Alekhine, Alexander > > 19031 - 0 D43 > > 1 . d4 d5 [0.00] > 2. c4 e6 [+0.15] > 3. Nc3 Nf6 [+0.18] > 4. Nf3 c6 [+0.25] > 5. Bg5 Be7 [+0.20] > 6. e3dxc4 [-0.12] > 7. e4 h6 [-0.18] > 8 Bxf6 Bxf6 [-0.25] > ... > > I'm not a programmer or a LaTeX practitioner, but I've tried using the > following code to enumerate the games. The problem is that each game > will need to be wrapped with the'enumerate' environment. > > \begin{enumerate} > \item > > {\bf > $\circ$ Myaskov, I\\ > $\bullet$ Alekhine, Alexander\\ > \\ > 1903 \hfill 1-0 \hfill D43\\ > } > \begin{chess}{\bf > 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c6 5.Bg5 Be7 6.e3 dxc4 7.e4 h6 8.Bxf6 Bxf6 > 9.e5 Be7 10.Bxc4 Nd7 11.O-O Nb6 12.Bd3 c5 13.dxc5 Bxc5 14.Ne4 Be7 15.Rc1 > Bd7 16.Qe2 Bc6 17.Rfd1 Nd5 18.Bb1 Qb6 19.b3 Nf4 20.Qb2 Bxe4 21.Bxe4 Rd8 > }\end{chess} > {\bf 1-0} > > \end{enumerate} > > Hopefully I was clear enough, your help is greatly appreciated. > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Scidvspc-users mailing list > Sci...@li... > https://lists.sourceforge.net/lists/listinfo/scidvspc-users |
From: Alan W. <a.c...@gm...> - 2013-04-05 15:47:54
|
On 04/05/2013 05:50 AM, Steve A wrote: > Hi Alan, > > Sorry, but i'm not too interested in Scid's LaTex features. > I know it's a nice format with a lot of history, but it's an absolute > devil to work with. > If anyone makes reasonable patches, i'll be glad to include them. > > PS - i'm still cleaning up the docking system. It seems mostly finished :) > As soon as i debug it on OS X, i might ready Scid vs PC 4.9, but I'm still > fairly busy. Recent other tweaks include the ability to hide the > gamelist buttons via right-clicking the gamelist, not starting engines > at Docking start-up , and binding 'Space-Bar' to engine stop/start. > > Carlsen vs. Anand. Bring it on ! > > S. > > On Fri, Apr 5, 2013 at 11:41 AM, Alan Whiteman <a.c...@gm...> wrote: >> Hi Steveand community, >> >> I've been printing individual games and game collections by exporting >> them to Latex. However, there seems to be two essential components >> missing that I believewould enhance the printouts: For game collections, >> away to number each game; and for each ply of moves, thechess engine's >> evaluation. >> >> When evaluating one's own games with Stockfish (or some other engine,) >> this excellent feature wouldhelpto evaluate the estimated positional >> value of the move. And it would be even more helpful when combined >> withinserted variations. >> >> Example: >> >> *Game 1* >> Myaskov I >> Alekhine, Alexander >> >> 19031 - 0 D43 >> >> 1 . d4 d5 [0.00] >> 2. c4 e6 [+0.15] >> 3. Nc3 Nf6 [+0.18] >> 4. Nf3 c6 [+0.25] >> 5. Bg5 Be7 [+0.20] >> 6. e3dxc4 [-0.12] >> 7. e4 h6 [-0.18] >> 8 Bxf6 Bxf6 [-0.25] >> ... >> >> I'm not a programmer or a LaTeX practitioner, but I've tried using the >> following code to enumerate the games. The problem is that each game >> will need to be wrapped with the'enumerate' environment. >> >> \begin{enumerate} >> \item >> >> {\bf >> $\circ$ Myaskov, I\\ >> $\bullet$ Alekhine, Alexander\\ >> \\ >> 1903 \hfill 1-0 \hfill D43\\ >> } >> \begin{chess}{\bf >> 1.d4 d5 2.c4 e6 3.Nc3 Nf6 4.Nf3 c6 5.Bg5 Be7 6.e3 dxc4 7.e4 h6 8.Bxf6 Bxf6 >> 9.e5 Be7 10.Bxc4 Nd7 11.O-O Nb6 12.Bd3 c5 13.dxc5 Bxc5 14.Ne4 Be7 15.Rc1 >> Bd7 16.Qe2 Bc6 17.Rfd1 Nd5 18.Bb1 Qb6 19.b3 Nf4 20.Qb2 Bxe4 21.Bxe4 Rd8 >> }\end{chess} >> {\bf 1-0} >> >> \end{enumerate} >> >> Hopefully I was clear enough, your help is greatly appreciated. >> >> ------------------------------------------------------------------------------ >> Minimize network downtime and maximize team effectiveness. >> Reduce network management and security costs.Learn how to hire >> the most talented Cisco Certified professionals. Visit the >> Employer Resources Portal >> http://www.cisco.com/web/learning/employer_resources/index.html >> _______________________________________________ >> Scidvspc-users mailing list >> Sci...@li... >> https://lists.sourceforge.net/lists/listinfo/scidvspc-users Hi Steve, I understand that LaTex is not a priority right now since you are getting this whole docking issue squared out. Let's just leave it as a nice-to-have feature request for future reference. I hope you don't mind if I post this to the other sicd list- in case there are Latex enthusiasts there as well. |
From: Alan W. <a.c...@gm...> - 2013-04-05 16:09:22
|
On 04/05/2013 05:50 AM, Steve A wrote: > > Carlsen vs. Anand. Bring it on ! > > S. > > Also, keep this in your calendar: http://thornews.com/2013/02/09/norway-chess-2013-super-tournament-and-public-celebration/ Are you in Google+? If so, I'd like to add you to my circles. |
From: Ben St-P. <ben...@gm...> - 2013-04-05 13:25:12
|
I'll ask my LaTeX guru, a candidate master, to take a peak. I don't promise anything in a near future, as he just got a gig at the U. *** I don't think much programming fu is needed to delve into LaTeX and Tcl. Most problems come from a lack of familiarity with programming practices. For instance, an explanation how to send in patches would help. I would include such explanation in an How To, linked from the Contribute page. |
From: Ben St-P. <ben...@gm...> - 2013-04-05 15:03:23
|
Hello, My friend reported (!) that his favorite package was this: http://ctan.cms.math.ca/tex-archive/macros/latex/contrib/xskak/xskak.pdf It's been 10 years since I've delved into LaTeX, but glancing at the doc I found these features intriguing: - reads PGN, which can come handy to include computer evaluations; - provides game ids, again handy to create collections; - renders colored arrows, which I believe is a must for books; - animates chess games. The last feature simply flabbergasts me. *** Googling, I stumbled upon this project: http://chesstask.sourceforge.net This might be useful (I wish I had this 25 years ago!), but even more useful is the sister project: http://pgn2ltx.sourceforge.net It might need to be improved (it relies on skak, not xskak), but this kind of solution could help separate LaTeXing from Scid. *** Hope this helps a bit, Ben |
From: Alan W. <a.c...@gm...> - 2013-04-05 16:20:02
|
On 04/05/2013 08:02 AM, Ben St-Pierre wrote: > Hello, > > My friend reported (!) that his favorite package was this: > > http://ctan.cms.math.ca/tex-archive/macros/latex/contrib/xskak/xskak.pdf > > It's been 10 years since I've delved into LaTeX, but glancing at the > doc I found these features intriguing: > > - reads PGN, which can come handy to include computer evaluations; > - provides game ids, again handy to create collections; > - renders colored arrows, which I believe is a must for books; > - animates chess games. > > The last feature simply flabbergasts me. > > *** > > Googling, I stumbled upon this project: > > http://chesstask.sourceforge.net > > This might be useful (I wish I had this 25 years ago!), but even more > useful is the sister project: > > http://pgn2ltx.sourceforge.net > > It might need to be improved (it relies on skak, not xskak), but this > kind of solution could help separate LaTeXing from Scid. > > *** > > Hope this helps a bit, > > Ben > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Scidvspc-users mailing list > Sci...@li... > https://lists.sourceforge.net/lists/listinfo/scidvspc-users > Thank you Ben! I'll look into your leads. I just wonder if it's an old-age thing when one prefers to study the print out an analyzed game over a board instead of starring at a screen. |