% pyxplot-plastex.tex
%
% The documentation in this file is part of Pyxplot
% <http://www.pyxplot.org.uk>
%
% Copyright (C) 2006-2012 Dominic Ford <coders@pyxplot.org.uk>
%               2008-2012 Ross Church
%
% $Id: main.tex 1280 2012-07-29 18:14:26Z dcf21 $
%
% Pyxplot is free software; you can redistribute it and/or modify it under the
% terms of the GNU General Public License as published by the Free Software
% Foundation; either version 2 of the License, or (at your option) any later
% version.
%
% You should have received a copy of the GNU General Public License along with
% Pyxplot; if not, write to the Free Software Foundation, Inc., 51 Franklin
% Street, Fifth Floor, Boston, MA  02110-1301, USA

% ----------------------------------------------------------------------------

% LaTeX source for the Pyxplot Users' Guide

\documentclass[a4paper,onecolumn,11pt]{book}
\usepackage[dvips]{graphicx}
\usepackage{amssymb,amsmath,url,lscape,longtable,fancyvrb,makeidx,wasysym}
%\usepackage{afterpage,amssymb,amsmath,bbding,color,longtable,multirow,nicefrac,fancyvrb,makeidx,upgreek,wasysym}
\usepackage[pdftitle={Pyxplot Users' Guide}, pdfauthor={Dominic Ford, Ross Church}, pdfsubject={Pyxplot}, pdfkeywords={Pyxplot}, colorlinks=true, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue]{hyperref}

\makeindex

\include{definitions}

%\newcommand\columncolor[1]{}

%\newcommand{\url}[1]{#1}

% Make box and example float environments
%\definecolor{LightGrey}{gray}{0.9}
%\usepackage[bf]{caption}
%\usepackage{float}
%\floatstyle{plain}

% Make box float environment
%\newfloat{boxout2}{thp}{lob}
%\floatname{boxout2}{Box}

\newcommand{\boxout}[3]{
%\begin{boxout2}
%\begin{tabular}{|>{\columncolor{LightGrey}}l|}
\begin{tabular}{|l|}
\hline
\begin{minipage}{\textwidth}
\vspace{2.5mm}
#3
\vspace{2.5mm}
\end{minipage} \\
\hline
\end{tabular}
%\caption{#1}
\label{#2}
%\end{boxout2}
}

% Make example float environment
%\newfloat{exampletag}{thp}{loe}
%\floatname{exampletag}{Example}

\newcommand{\example}[3]{
%\afterpage{
\upshape\mdseries\rm
%\begin{exampletag}[H]\caption[#2]{#2.}\label{#1}\end{exampletag}
\vspace{-5mm}
\begin{longtable}{|>{\columncolor{LightGrey}}p{\textwidth}|}
\hline \endfoot
\hline \endhead
#3
\end{longtable}%\newpage
%}
}

\newcommand{\nlnp} {\\\hspace{8mm}}
\newcommand{\nlscf}{\vspace{3mm}\\\noindent}
\newcommand{\nlfcf}{\vspace{3mm}\\\hspace{8mm}}

\begin{document}

\begin{titlepage}
\normalsize
\vspace*{0.4cm}
\begin{center}
{\Huge \bf Pyxplot Users' Guide}\\
\end{center}
\vspace*{0.5cm}
\begin{center}
{\LARGE \bf A Scientific Scripting Language, \\ \vspace{2mm} Graph Plotting Suite and \\ \vspace{2mm} Vector Graphics Toolkit. \\}
\end{center}
\vspace*{0.4cm}
\begin{center}
{\Large Version \version \\}
\end{center}
\vspace*{0.0cm}
\begin{center}
\includegraphics[width=10cm]{examples/eps/ex_cover}
\end{center}
\vspace*{0.2cm}
\begin{center}
{\large
Lead Developer: Dominic Ford \\
\vspace{1mm}
Lead Tester: Ross Church \\ 
\vspace{2mm}
Email: \noindent {\tt coders@pyxplot.org.uk} \\
\vspace{4mm}
This manual is also available in HTML, at \\
\url{http://www.pyxplot.org.uk/0.9/doc/html/} \\
}
\end{center}
\vspace*{0.5cm}
\begin{center}
{\Large \reldate \\}
\end{center}
\end{titlepage}

\part{Introduction to Pyxplot}
\include{introduction}
\include{installation}
\include{first_steps}
\include{calculations}
\include{data}
\include{programming}
\include{flowctrl}
\part{Plotting and vector graphics}
\include{plotting}
\include{terminals}
\include{vector_graphics}
\part{Reference manual}
\include{reference}
\include{functions}
\include{types}
\include{constants}
\include{units}
\include{papersizes}
\include{colors}
\include{linestyles}
\include{configuration}
\part{Appendices}
\appendix
\include{other_apps}
\include{gnuplot_diffs}
\include{fit_maths}
\include{changelog}

\printindex
\end{document}
