2001-07-13 02:59:22 -04:00
|
|
|
% -*- latex -*-
|
|
|
|
|
|
|
|
% This is the reference manual for the Scheme Shell.
|
|
|
|
|
|
|
|
\documentclass[twoside]{report}
|
|
|
|
\usepackage{code,boxedminipage,makeidx,palatino,ct,
|
|
|
|
headings,mantitle,array,matter,mysize10,tex2page}
|
|
|
|
|
|
|
|
\texonly
|
2001-10-10 05:26:13 -04:00
|
|
|
% tex2page defines \url and hyperref loads the package url
|
|
|
|
% but setting \url to \relax satisfies \newcommand
|
|
|
|
\let\url\relax
|
2002-02-27 05:43:25 -05:00
|
|
|
\input{pdfcond}
|
|
|
|
\ifpdf
|
|
|
|
\usepackage[pdftex,hyperindex,
|
|
|
|
pdftitle={scsh manual, release 0.6.1},
|
|
|
|
pdfauthor={Olin Shivers, Brian D.~Carlstrom, Martin Gasbichler,
|
|
|
|
and Mike Sperber}
|
|
|
|
colorlinks=true,linkcolor=blue,pagecolor=blue,urlcolor=blue,
|
|
|
|
pdfstartview=FitH,pdfview=FitH]{hyperref}
|
|
|
|
\else
|
2001-07-13 02:59:22 -04:00
|
|
|
\usepackage[dvipdfm,hyperindex,hypertex,
|
2002-02-15 07:27:06 -05:00
|
|
|
pdftitle={scsh manual, release 0.6.1},
|
2002-01-04 10:34:05 -05:00
|
|
|
pdfauthor={Olin Shivers, Brian D.~Carlstrom, Martin Gasbichler,
|
|
|
|
and Mike Sperber}
|
2001-07-13 02:59:22 -04:00
|
|
|
colorlinks=true,linkcolor=blue,pagecolor=blue,urlcolor=blue,
|
|
|
|
pdfstartview=FitH,pdfview=FitH]{hyperref}
|
2002-02-27 05:43:25 -05:00
|
|
|
\fi
|
2001-07-13 02:59:22 -04:00
|
|
|
\endtexonly
|
|
|
|
|
|
|
|
% These fonts are good choices for screen-readable pdf, but the man needs
|
|
|
|
% a pass over the layout, since the this tt font will blow out the width
|
|
|
|
% of some examples, making them wrap and generally screwing them up. Maybe this
|
|
|
|
% should also be a LaTeX option, so we can get palatino on the hardcopy
|
|
|
|
% runs and these fonts on pdf runs...
|
|
|
|
%\renewcommand{\rmdefault}{phv}
|
|
|
|
%\renewcommand{\sfdefault}{phv}
|
|
|
|
%\renewcommand{\ttdefault}{pcr}
|
|
|
|
|
|
|
|
% Style issues
|
|
|
|
\parskip = 3pt plus 3pt
|
|
|
|
\sloppy
|
|
|
|
|
2001-12-17 04:26:06 -05:00
|
|
|
%\includeonly{miscprocs}
|
2001-07-13 02:59:22 -04:00
|
|
|
|
|
|
|
\input{decls}
|
|
|
|
\makeindex
|
|
|
|
%%% End preamble
|
|
|
|
|
2002-01-04 10:34:05 -05:00
|
|
|
|
2001-07-13 02:59:22 -04:00
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\frontmatter
|
|
|
|
\include{front}
|
|
|
|
|
|
|
|
\mainmatter
|
|
|
|
\include{intro}
|
|
|
|
\include{procnotation}
|
|
|
|
\include{syscalls}
|
|
|
|
\include{network}
|
|
|
|
\include{strings}
|
|
|
|
\include{sre}
|
|
|
|
\include{rdelim}
|
|
|
|
\include{awk}
|
2001-07-13 03:12:36 -04:00
|
|
|
\include{threads}
|
2001-07-13 02:59:22 -04:00
|
|
|
\include{miscprocs}
|
|
|
|
\include{running}
|
|
|
|
|
|
|
|
\backmatter
|
|
|
|
\printindex
|
|
|
|
|
|
|
|
\end{document}
|
|
|
|
|
|
|
|
% General things to do when converting ASCII text to LaTeX:
|
|
|
|
% Build a set of \breakondash, \breakondot, \breakonslash commands
|
|
|
|
% that will enable breaking in \tt. This is better than \=, etc.
|
|
|
|
%
|
|
|
|
% Check for ..., quote char, double-dashes --
|
|
|
|
% Double-word check
|
|
|
|
% lambda -> \l
|