---
name: "sgfsplit"
section: "1"
platform: "linux"
package: "sgf2tex"
version: "3.3-4"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/sgfsplit"
---

# sgfsplit(1)

## NAME

sgfsplit

## SYNOPSIS

**sgf2tex** *\<filename\>\[.sgf\] \[options\]*

## DESCRIPTION

**sgfsplit** takes a Smart Go Format file containing variations, and splits it up into a series of files, named *\<filename\>.0.sgf* ,  *\<filename\>.1.sgf,* , ... , one for each variation. The first file *\<filename\>.0.sgf* is the main line. It also creates a shell script called *\<filename\>.sgf2tex* which contains suggested options for invoking sgf2tex on the individual files. In particular, a breakpoint is specified in each variation file so that a single diagram is created, the first move of the variation being move 1. The *\[options\],* if specified, are options for sgf2tex, and these are incorporated into the shell script commands. The file  *\<filename\>.sgf2tex* may of course be edited before being invoked, if different options are wanted for the different variations.

## FILES

See also sgf2tex for description of the options.

## AUTHOR

Daniel Bump (bump@math.stanford.edu)

http://match.stanford.edu/bump/go.html
