Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
sgf2tex(1)		    General Commands Manual		    sgf2tex(1)

NAME
       sgf2tex

SYNOPSIS
       sgf2tex -help|sgf2tex -h

       sgf2tex [ <options> ] <filename>[.sgf|.mgt]

DESCRIPTION
       sgf2tex	takes  a  Smart	Go Format file <filename> or <filename>.sgf or
       <filename>.mgt and produces a TeX file  <filename>.tex.	 Provided  you
       have the	GOOE fonts correctly installed on your system you will be able
       to TeX this producing a .dvi file.

OPTIONS
       -h
       -help

	      Print a help message and quit.

       -i     <filename> | <filename>.sgf | <filename>.mgt

       -in    <filename> | <filename>.sgf | <filename>.mgt

	      specifies	 the  input  filename. (STDIN or none for standard in-
	      put.)  This option is not	needed in ordinary use.

       -o     <filename>

       -out   <filename>

	      Specifies	the output file. (STDOUT for standard output.) If  the
	      input  file is <filename>, <filename>.sgf	or <filename>.mgt then
	      <filename>.tex is	the default. This option is not	needed in  or-
	      dinary usage.

       -t     <top line	number>

       -top   <top line	number>

	      Specifies	the top	line to	print. Default is 1.

       -b     <bottom line number>

       -bottom
	      <bottom line number>

	      Specifies	the bottom line	to print. Default is 19.

       -l     <left line number>

       -left  <top line	number>

	      Specifies	the leftmost line to print. Default is 1.

       -r     <right line number>

       -right <right line number>

	      Specifies	the rightmost line to print. Default is	19.

       -break <break list>

       -breakList
	      <break list>

	      Here  <break  list> is a list of moves, separated	by comma, with
	      no spaces. These are breakpoints:	each will be the last move  in
	      one diagram.

       -m     <moves per diagram>

       -movesPerDiagram
	      <moves per diagram>

	      Here  <moves  per	diagram> is a positive integer,	specifying the
	      maximal number of	moves per diagram. Default is 50 unless	-break
	      or -breakList is set, in which case the default is infinity. The
	      two options -breakList and  -movesPerDiagram  may	 be  used  to-
	      gether.

       -n     |	-newNumbers

	      Begin  each  diagram  with the number 1. The actual move numbers
	      are still	used in	the label.  -newNumbers	and -doubleDigits  are
	      alternative schemes for avoiding three-digit numbers in the dia-
	      grams. They should probably not be used together.

       -d     |	 -doubleDigits	       If  the first move of a diagram exceeds
	      100, the move number is reduced modulo 100. The actual move num-
	      bers are still used in the label.	 -newNumbers and -doubleDigits
	      are alternative schemes for avoiding three-digit numbers in  the
	      diagrams.	They should probably not be used together.

       -rl    |	-repeatLast

	      The  last	 move  in  each	diagram	is the first move in the next.
	      This emulates a common style for annotating Go games.

       -il    |	-ignoreLetters

	      Letters embedded in the sgf with the L or	LB  property  are  ig-
	      nored.

       -im    |	-ignoreMarks

	      Marks embedded in	the sgf	with the M or MA property are ignored.

       -ip    |	-ignorePass

	      Passes  are  ignored. In sgf, a pass is a	move at	the fictitious
	      point tt.	Without	this option, sgf2tex will indicate  passes  in
	      the comments.

       -ia    |	-ignoreall

	      Ignore SGF letters, marks, variations and	passes.

       -firstDiagram
	      <diagram number>

	      Specifies	the first diagram to print. Default is 1.

       -lastDiagram
	      <diagram number>

	      Specifies	the last diagram to print. Default is to print all di-
	      agrams until the end.

       -longComments

	      In  its  default usage, the comments to each diagram comprise an
	      unbreakable vbox---they must all appear on one  page.  This  can
	      cause  problems  if the comments are very	extensive. This	option
	      generates	more complicated TeX macros which allow	 the  comments
	      to  be  broken  across  pages.  This option may not be used with
	      -simple or -longComments.

       -simple

	      This generates very simple TeX which may not look	so good	on the
	      page, but	is convenient if you intend to edit the	TeX. This  op-
	      tion should not be used with -longComments.

       -twoColumn

	      This generates a two-column format using smaller fonts. This op-
	      tion may not be used with	-longComments or -coords.

       -coords

	      Generates	 a  coordinate	grid. This option may not be used with
	      -twoColumn

       -bigFonts

	      Use fonts	magnified 1.2 times.

       -texComments

	      If this option is	NOT used then {, } and \ are replaced by [,  ]
	      and / in comments, since TeX roman fonts do not have these char-
	      acters.  If  this	 option	 is  used, these substitutions are not
	      made, so you can {\bf change fonts} inside the comments.

FILES
       See also	sgfsplit.

AUTHOR
       Reid Augustin (reid@netcom.com)

       The fonts and TeX macros	were designed by Daniel	Bump  (bump@math.stan-
       ford.edu).

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

				31 October 1997			    sgf2tex(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=sgf2tex&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help