Re: [NTG-context] Draw chess board

2007-06-11 Thread Zhichu Chen
Hi guys I've modified my module again, then you can click to demostrate a game. The source file is attached and the resulting pdf file is pretty huge so I just upload to my google page (I think there's a bandwidth limitation so I use winrar to compress it):

Re: [NTG-context] Draw chess board

2007-06-11 Thread Wolfgang Schuster
2007/6/11, Zhichu Chen [EMAIL PROTECTED]: Hi guys I've modified my module again, then you can click to demostrate a game. The source file is attached and the resulting pdf file is pretty huge so I just upload to my google page (I think there's a bandwidth limitation so I use winrar to

Re: [NTG-context] Draw chess board

2007-06-11 Thread Zhichu Chen
Hi Wolfgang, Actually, the sgf file always contains strings like SZ[19] which indicates the board size is 19x19, so I think if I wanna manually input a game, just type SZ[??] will be more convenient. The main problem is how to move dead stones from the board, this is not so easy in tex or

Re: [NTG-context] Draw chess board

2007-06-10 Thread Zhichu Chen
Hi Mojca, The stones are very very nice now, thank you for your hints. Since I haven't used TikZ before, I have no idea how to handle these events. I'll learn it later and rewrite my module to be more professional :) All I'm thinking now is how to make each step a single symbol so that I could

Re: [NTG-context] Draw chess board

2007-06-09 Thread Mojca Miklavec
On 6/6/07, Zhichu Chen wrote: Hi I've tried to write a test file which can only handle ;B[??], ;W[??], AB[??], AW[??] now, and I haven't added the interaction part. But it is a good start. Any suggestions? Wow - that's really, really impressive! You indeed started parsing the strings in

[NTG-context] Draw chess board

2007-05-24 Thread Zhichu Chen
Hi I love chess games, especially one kind of them which is generally called Go. I know there is some file can store each details in one game: http://www.red-bean.com/sgf/ AFAIK, there is no module available to draw chess in ConTeXt now. I wanna do this by using MetaPost and fieldstack. But I

Re: [NTG-context] Draw chess board

2007-05-24 Thread Wolfgang Schuster
2007/5/24, Zhichu Chen [EMAIL PROTECTED]: Hi I love chess games, especially one kind of them which is generally called Go. I know there is some file can store each details in one game: http://www.red-bean.com/sgf/ AFAIK, there is no module available to draw chess in ConTeXt now. I wanna

Re: [NTG-context] Draw chess board

2007-05-24 Thread Mojca Miklavec
On 5/24/07, Zhichu Chen wrote: Thanks Wolfgang The first link is very useful. I will took its idea. I really want to use metapost's scantoken to read sgf file directly, so it can easily be a cross-platform solution. You can use either TeX or metapost to parse sgf file. But you can forget