<refentry id="reference-sgftotex">

<refmeta>
<refentrytitle>sgftotex</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="source-name">GoGui</refmiscinfo>
<refmiscinfo class="version">GoGui &version;</refmiscinfo>
<refmiscinfo class="manual">GoGui Reference</refmiscinfo>
</refmeta>

<refnamediv>
<refname>sgftotex</refname>
<refpurpose>
SGF to LaTeX converter.
</refpurpose>
</refnamediv>
<refsynopsisdiv>

<cmdsynopsis>
<command>sgftotex</command>
<arg><option>-config</option> <replaceable>file</replaceable></arg>
<arg><option>-pass</option></arg>
<arg><option>-force</option></arg>
<arg><replaceable>file.sgf</replaceable>
<arg><replaceable>file.tex</replaceable></arg></arg>

<command>sgftotex</command>
<arg choice="plain"><option>-help</option></arg>

<command>sgftotex</command>
<arg choice="plain"><option>-version</option></arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsection>
<title>Description</title>
<para>
Converts <ulink url="http://www.red-bean.com/sgf/">SGF</ulink> files to
<ulink url="http://www.latex-project.org/">LaTeX</ulink>, using
<ulink url="http://www.ctan.org/tex-archive/graphics/pstricks/contrib/psgo/">
PSGO</ulink> style.
</para>
</refsection>

<refsection>
<title>Options</title>
<variablelist>

<varlistentry>
<term>
<option>-config</option> <replaceable>file</replaceable>
</term>
<listitem>
<para>
Read command line options and arguments from file.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>-force</option></term>
<listitem>
<para>
Overwrite existing files.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>-help</option></term>
<listitem>
<para>
Display help and exit.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>-pass</option></term>
<listitem>
<para>
Use <userinput>\pass</userinput> command for pass moves
(only supported for PSGO style version 0.14 or newer).
Otherwise pass moves are printed as a combination of
<userinput>\refstepcounter</userinput> and
<userinput>\toggleblackmove</userinput> commands.
</para>
</listitem>
</varlistentry>

<varlistentry>
<term><option>-version</option></term>
<listitem>
<para>
Print version and exit.
</para>
</listitem>
</varlistentry>

</variablelist>

<para>
<!-- Empty paragraph to enforce some space in JEditorPane (Java 1.5.0) -->
</para>

</refsection>

</refentry>
