<commit_before>\documentclass[11pt,letterpaper]{book}
\setlength{\oddsidemargin}{0.5in}
\setlength{\topmargin}{0in}
\setlength{\evensidemargin}{0.3in}
\setlength{\textwidth}{5.75in}
\setlength{\textheight}{8.5in}
%\setlength{\oddsidemargin}{1.25in}
%\setlength{\evensidemargin}{0.5in}

% don't do this \usepackage{times}    % Better fonts than Computer Modern
\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
% don't replace tt -- old is better \renewcommand{\ttdefault}{pcr}
%\usepackage{apalike}
\usepackage{pslatex}
\usepackage{techref}
\usepackage{epsfig}
\usepackage{verbatim}
\usepackage{moreverb}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{multicol}
\usepackage{color}
\usepackage{html}
\usepackage{version}
\usepackage{makeidx}
%\usepackage{showidx}
\usepackage[chapter]{algorithm}
\floatname{algorithm}{Listing}

\usepackage{syntax}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancyfoot[C]{\bfseries OpenImageIO Programmer's Documentation}
\renewcommand{\footrulewidth}{1pt}


\def\product{{\sffamily OpenImageIO}\xspace}
\def\OpenImageIO{{\sffamily OpenImageIO}\xspace}
\def\versionnumber{0.1}
\def\productver{\product\ {\sffamily \versionnumber}\xspace}
\def\producthome{{\codefont \$IMAGEIOHOME}\xspace}
\def\ivbinary{{\codefont iv}\xspace}
\def\maketx{{\codefont maketx}\xspace}
\def\ImageIOFormatSpec{{\codefont ImageSpec}\xspace}
\def\ImageSpec{{\codefont ImageSpec}\xspace}
\def\ImageInput{{\codefont ImageInput}\xspace}
\def\ImageOutput{{\codefont ImageOutput}\xspace}
\def\ParamBaseType{{\codefont ParamBaseType}\xspace}
%\def\opencall{{\codefont open()}\xspace}
\def\writeimage{{\codefont write\_image()}\xspace}
\def\writescanline{{\codefont write\_scanline()}\xspace}
\def\writetile{{\codefont write\_tile()}\xspace}
\def\readimage{{\codefont read\_image()}\xspace}
\def\readscanline{{\codefont read\_scanline()}\xspace}
\def\readtile{{\codefont read\_tile()}\xspace}
\def\AutoStride{{\codefont AutoStride}\xspace}


\title{ 
{\Huge{\bf \product}
%\textregistered\ 
{\bf\sffamily \versionnumber} \medskip \\ \huge Programmer Documentation
\\ \large (in progress) 
} \bigskip }
\author{Editor: <NAME> \\
% email should go here
 \bigskip \\
}
\date{{\large 
%Editor: <NAME> \\[2ex]
Date: 28 August, 2008
%\\ (with corrections, 11 July, 2008)
}}


\include{macros}

\makeindex

\begin{document}
\frontmatter

\maketitle

%\include{speccopyr}

\setcounter{tocdepth}{1}
\tableofcontents

\mainmatter

%\include{intro}

\part{The ImageIO Library}

\include{imageioapi}
\include{imageoutput}
\include{imageinput}

\include{writingplugins}

\chapter{Bundled ImageIO Plugins}
\section{TIFF}
\section{JPEG}
\section{OpenEXR}
\section{HDR/RGBE}
\section{PNG}

\chapter{Image Buffer}

\chapter{Texture System}

\part{Image Utilities}

\chapter{The {\kw iv} Image Viewer}
\chapter{Getting Image information With {\kw iinfo}}
\chapter{Converting Image Formats With {\kw iconvert}}

\part{Appendices}
\begin{appendix}

\chapter{Building OpenImageIO}

%\include{header}
\include{glossary}
\end{appendix}

\backmatter

%\bibliographystyle{alpha}	%% Select for [GH95]
\bibliographystyle{apalike}    %% Select for (Gritz and Hahn, 1995)
%\addcontentsline{toc}{chapter}{Bibliography}
%\bibliography{bmrtbib}

\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}


% Canonical figure
%\begin{figure}[ht]
%\noindent
%\includegraphics[width=5in]{Figures/bredow/foo} 
%\caption{Caption
%\label{fig:foo}}
%\end{figure}
<commit_msg>Work on docs<commit_after>\documentclass[11pt,letterpaper]{book}
\setlength{\oddsidemargin}{0.5in}
\setlength{\topmargin}{0in}
\setlength{\evensidemargin}{0.3in}
\setlength{\textwidth}{5.75in}
\setlength{\textheight}{8.5in}
%\setlength{\oddsidemargin}{1.25in}
%\setlength{\evensidemargin}{0.5in}

% don't do this \usepackage{times}    % Better fonts than Computer Modern
\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
% don't replace tt -- old is better \renewcommand{\ttdefault}{pcr}
%\usepackage{apalike}
\usepackage{pslatex}
\usepackage{techref}
\usepackage{epsfig}
\usepackage{verbatim}
\usepackage{moreverb}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{multicol}
\usepackage{color}
\usepackage{html}
\usepackage{version}
\usepackage{makeidx}
%\usepackage{showidx}
\usepackage[chapter]{algorithm}
\floatname{algorithm}{Listing}

\usepackage{syntax}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\fancyfoot[C]{\bfseries OpenImageIO Programmer's Documentation}
\renewcommand{\footrulewidth}{1pt}


\def\product{{\sffamily OpenImageIO}\xspace}
\def\OpenImageIO{{\sffamily OpenImageIO}\xspace}
\def\versionnumber{0.1}
\def\productver{\product\ {\sffamily \versionnumber}\xspace}
\def\producthome{{\codefont \$IMAGEIOHOME}\xspace}
\def\ivbinary{{\codefont iv}\xspace}
\def\maketx{{\codefont maketx}\xspace}
\def\ImageIOFormatSpec{{\codefont ImageSpec}\xspace}
\def\ImageSpec{{\codefont ImageSpec}\xspace}
\def\ImageInput{{\codefont ImageInput}\xspace}
\def\ImageOutput{{\codefont ImageOutput}\xspace}
\def\ParamBaseType{{\codefont ParamBaseType}\xspace}
%\def\opencall{{\codefont open()}\xspace}
\def\writeimage{{\codefont write\_image()}\xspace}
\def\writescanline{{\codefont write\_scanline()}\xspace}
\def\writetile{{\codefont write\_tile()}\xspace}
\def\readimage{{\codefont read\_image()}\xspace}
\def\readscanline{{\codefont read\_scanline()}\xspace}
\def\readtile{{\codefont read\_tile()}\xspace}
\def\AutoStride{{\codefont AutoStride}\xspace}


\title{ 
{\Huge{\bf \product}
%\textregistered\ 
{\bf\sffamily \versionnumber} \medskip \\ \huge Programmer Documentation
\\ \large (in progress) 
} \bigskip }
\author{Editor: <NAME> \\
% email should go here
 \bigskip \\
}
\date{{\large 
%Editor: <NAME> \\[2ex]
Date: 28 August, 2008
%\\ (with corrections, 11 July, 2008)
}}


\include{macros}

\makeindex

\begin{document}
\frontmatter

\maketitle

%\include{speccopyr}

\setcounter{tocdepth}{1}
\tableofcontents

\mainmatter

\include{oiiointro}

\part{The ImageIO Library}

\include{imageioapi}
\include{imageoutput}
\include{imageinput}

\include{writingplugins}

\chapter{Bundled ImageIO Plugins}
\section{TIFF}
\section{JPEG}
\section{OpenEXR}
\section{HDR/RGBE}
\section{PNG}

\chapter{Image Buffer}

\chapter{Texture System}

\part{Image Utilities}

\chapter{The {\kw iv} Image Viewer}
\chapter{Getting Image information With {\kw iinfo}}
\chapter{Converting Image Formats With {\kw iconvert}}

\part{Appendices}
\begin{appendix}

\chapter{Building OpenImageIO}

%\include{header}
\include{glossary}
\end{appendix}

\backmatter

%\bibliographystyle{alpha}	%% Select for [GH95]
\bibliographystyle{apalike}    %% Select for (Gritz and Hahn, 1995)
%\addcontentsline{toc}{chapter}{Bibliography}
%\bibliography{bmrtbib}

\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}


% Canonical figure
%\begin{figure}[ht]
%\noindent
%\includegraphics[width=5in]{Figures/bredow/foo} 
%\caption{Caption
%\label{fig:foo}}
%\end{figure}

{'fraction_non_alphanumeric': 0.169560347241669, 'fraction_numerical': 0.01148137776533184, 'mean_word_length': 6.093346573982125, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3914430', 'n_tokens_mistral': 2707, 'n_tokens_neox': 2495, 'n_words': 416}