sgf to igo(latex-typesetting)

For discussing go computing, software announcements, etc.
Post Reply
Furikawuri
Beginner
Posts: 3
Joined: Sat Oct 08, 2011 8:51 am
GD Posts: 0

sgf to igo(latex-typesetting)

Post by Furikawuri »

Hi,

is there a program for converting a sgf-file to latex-output with igo-typesetting (http://ftp.univie.ac.at/packages/tex/he ... s/igo.html)?
Especially, i just want to get the tex-code for one plain diagram that contains all moves of the sgf-file without numbers, etc...

Thanks
User avatar
jts
Oza
Posts: 2664
Joined: Sat Sep 18, 2010 4:17 pm
Rank: kgs 6k
GD Posts: 0
Has thanked: 310 times
Been thanked: 634 times

Re: sgf to igo(latex-typesetting)

Post by jts »

Furikawuri
Beginner
Posts: 3
Joined: Sat Oct 08, 2011 8:51 am
GD Posts: 0

Re: sgf to igo(latex-typesetting)

Post by Furikawuri »

No, i want to convert a sgf-file into latex-code which uses the igo-package (see my link above).
Furikawuri
Beginner
Posts: 3
Joined: Sat Oct 08, 2011 8:51 am
GD Posts: 0

Re: sgf to igo(latex-typesetting)

Post by Furikawuri »

I'm no professional programmer. Do you think i could write a converter for sgf2dg which uses the igo-package?
I guess somebody already did it, does anybody know from someone?

What i would need most is the following simple thing: Input is an sgf-file which contains a game and a move number.
Then the program should simply output the latex-code using the igo-package for one diagram which
contains all moves of the game until the specified move without move numbers.

Can you give me any hints how i can learn to write a converter which exactly does this?
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: sgf to igo(latex-typesetting)

Post by daniel_the_smith »

Helel wrote:Unfortunately my own pearl-scripts usually looks like they are about to take part in an obfuscation contest, so I will not give you any details.


Are there any pearl scripts that don't?
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
User avatar
daniel_the_smith
Gosei
Posts: 2116
Joined: Wed Apr 21, 2010 8:51 am
Rank: 2d AGA
GD Posts: 1193
KGS: lavalamp
Tygem: imapenguin
IGS: lavalamp
OGS: daniel_the_smith
Location: Silicon Valley
Has thanked: 152 times
Been thanked: 330 times
Contact:

Re: sgf to igo(latex-typesetting)

Post by daniel_the_smith »

You're just looking for output that looks like this, right?

Code: Select all

\white{b4,c4,d4,e4,f4,g3,g2,c3}
\black{b3,b2,c2,d3,e3,f3,f2}
That which can be destroyed by the truth should be.
--
My (sadly neglected, but not forgotten) project: http://dailyjoseki.com
Post Reply