% Copyright 2025-2026 by Jonatan Perren
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Free Documentation License.


\documentclass[a4paper,doc2]{ltxdoc}



\input{../pgfgo.cfg}
\input{../pgfgo-preamble.tex}

\usepackage{animate}
\usepackage{../../latex/pgf-go}
%LOS ARCHIVOS SGF DE LOS EJEMPLOS, POR SU NOMBRE (LOS TUTORIALES Y EL CAPITULO SGF LOS PRESENTAN).
\pgfgodefinesgf{game}{game.sgf}
\pgfgodefinesgf{lee}{../examples/lee.sgf}
\pgfgodefinesgf{variations}{variations.sgf}
\pgfgodefinesgf{problem}{../examples/problem.sgf}
\pgfgodefinesgf{josekis}{../examples/joseki.sgf}
%LOS KANJI DEL TEXTO (VER label/style).
\font\pgfgokanji = {file:ipaexm.ttf} at 9pt
%LA MISMA FUENTE COMO FAMILIA, PARA format = kanji (VER mark/label/format).
\DeclareFontFamily{TU}{ipaex}{}
\DeclareFontShape{TU}{ipaex}{m}{n}{<->file:ipaexm.ttf}{}
\DeclareFontShape{TU}{ipaex}{bx}{n}{<->ssub*ipaex/m/n}{}
\def\pgfgoname{\textsc{pgfgo}}
\def\karu{K\={a}ru}

\usepackage[english]{babel}

\usepackage{float}
\usetikzlibrary{positioning, fit}
\usepackage{caption}



\definecolor{pgfgo}{RGB}{220,179,92}
\colorlet{tablero2}{red!10!blue!10}
\colorlet{tablero3}{blue!10!green!10}
\definecolor{tablero4}{HTML}{9B8465}

\def\pgfgoversion{\leavevmode\hbox{0.2026.10.23}}



%LAS LINEAS CON CODIGO EN EL TEXTO SE ESTIRAN EN LUGAR DE SALIRSE DEL MARGEN.
\setlength{\emergencystretch}{3em}

\begin{document}
	\title{\Huge\bfseries pgf-go\\[1em]
		\normalsize

		\begin{center}
			\pgfgoset{profile = pgfgosmooth}
			\begin{goban}[partial = B2:E3]
				\stones[black]{C2,D2,E3}
				\stones[white] {B2,C3,D3}
				\mark[w, custom = {36}]{B2}
				\mark[custom = {a}] {E2}

				\marks[circle, line = {color = red!80!black}] {C3,D3}

			\end{goban}
		\end{center}

		\large Manual for version~\pgfgoversion}
		\author{Jonat\'an Perren Hug\\
		\texttt{jonatan.perren@gmail.com}
		}

	\maketitle



	\label{table-of-contents}
	\tableofcontents

	\clearpage

	\part{Introduction}
	\input{pgfgo-introduction}

	\part{Tutorials}\label{part:tutoriales}
	\input{pgfgo-initialexamples}

	\part{Reference}\label{part:referencia}
	\input{pgfgo-settings}
	\input{pgfgo-coordinates}
	\input{pgfgo-board}
	\input{pgfgo-stones}
	\input{pgfgo-marks}
	\input{pgfgo-game}
	\input{pgfgo-memory}
	\input{pgfgo-sgffiles}
	\input{pgfgo-layout}
	\input{pgfgo-players}
	\input{pgfgo-catalog}

	\appendix
	\input{pgfgo-news}
\end{document}
