SGF2DG (Formerly SGF2TEX)

We (Daniel Bump and Reid Augustin) wrote a system for typesetting Go games and diagrams using TeX. This system may be used with either plain TeX or LaTeX. It includes the Metafont sources for a new set of Go fonts, and a Perl script called Sgf2dg (formerly Sgf2tex) that translates files in ``Smart Game Format'' (SGF) into TeX.

For Sgf2dg, Reid has completely rewritten the perl script that is the heart of the program. There is now support for Postscript, PDF and Metapost, and sgf2mpost is included. Check it out!

We envision at least two potential classes of users for this software. On the one hand, it is capable of producing camera-ready copy for books or magazines, and of duplicating the typography of existing go publications.

On the other hand, you can run Sgf2dg on your internet Go games, or on SGF files from any source. Thus the average user can obtain attractive printouts on a laser printer.

A partial list of the features of this system include:

Download

The latest version of sgf2tex is 3.3, released June 17, 2001.

The latest version of sgf2dg is 4.211, released July 5, 2007.

Screen Shot

The above image was made by previewing a diagram from the manual using xdvi, then capturing the image as a grayscale gif. Here's a larger example:

LaTeX

The output of sgf2dg is plain TeX. But a lot of people prefer LaTeX. Here is some information by Patrick Bridges that was posted to rec.games.go about using sgf2tex with LaTeX. It is old information that may or may not be applicable to sgf2dg.

Links

Local News (Bay Area)

Here's the Palo Alto Go club. Here's the San Francisco Go Club and the Ing GOE Foundation. Last modified: Fri Jul 1 15:08:01 PDT 2005