% 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{partida}{partida.sgf}
\pgfgodefinesgf{lee}{../examples/lee.sgf}
\pgfgodefinesgf{variantes}{variantes.sgf}
\pgfgodefinesgf{problema}{problema.sgf}
\pgfgodefinesgf{josekis}{josekis.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[spanish]{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}}
\def\twodigits#1{\ifnum#1<10 0\fi\the#1}



%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 de la versión~\pgfgoversion}
		\author{Jonat\'an Perren Hug\\
		\texttt{jonatan.perren@gmail.com}
		}
	
	\maketitle
	
	
	
	\label{table-of-contents}
	\tableofcontents

	\clearpage 

	\part{Introducción}
	\input{pgfgo-motivacion}

	\part{Tutoriales}\label{part:tutoriales}
	\input{pgfgo-ejemplosiniciales}

	\part{Referencia}\label{part:referencia}
	\input{pgfgo-configuracion}
	\input{pgfgo-coordenadas}
	\input{pgfgo-eltablero}
	\input{pgfgo-laspiedras}
	\input{pgfgo-lasmarcas}
	\input{pgfgo-eljuego}
	\input{pgfgo-memoria}
	\input{pgfgo-sgf}
	\input{pgfgo-disposicion}
	\input{pgfgo-jugadores}
	\input{pgfgo-catalogo}

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