File: csug.stex

package info (click to toggle)
chezscheme 9.5.4%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 61,640 kB
  • sloc: ansic: 17,508; sh: 759; makefile: 509; csh: 423
file content (149 lines) | stat: -rw-r--r-- 3,537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
% Copyright 2005-2018 Cisco Systems, Inc.
% 
% Licensed under the Apache License, Version 2.0 (the "License");
% you may not use this file except in compliance with the License.
% You may obtain a copy of the License at
% 
% http://www.apache.org/licenses/LICENSE-2.0
% 
% Unless required by applicable law or agreed to in writing, software
% distributed under the License is distributed on an "AS IS" BASIS,
% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
% See the License for the specific language governing permissions and
% limitations under the License.
\documentclass{csug8}
\chapterpicturesfalse

% \let\cleardoublepage=\relax\includeonly{threads}

\usepackage{scheme}

\schemeinit
(case-sensitive #t)
\endschemeinit

\def\revisiondate{August 2020}

\iflatex
\usepackage{graphicx}
\usepackage{color}
\definecolor{formdefcolor}{gray}{.8}
\fi

\iflatex
\usepackage{makeidx}
% \ifdraft \usepackage{showidx} \fi
\ifdraft\setlength\overfullrule{5pt}\else\setlength\overfullrule{0pt}\fi
\tolerance=1000
\makeindex
\fi

% also fix Revised date and version in copyright.stex
\ifhtml
\def\copyrightnotice{\raw{<hr class=copyright align=left>
<p>
<a class=plain href="index.html">Chez Scheme Version 9 User's Guide</a><br>
Copyright &copy; 2020 Cisco Systems, Inc.<br>
Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License Version 2.0</a>
(<a class=plain href="canned/copyright.html">full copyright notice.</a>).</br>
Revised} \revisiondate\raw{ for Chez Scheme Version 9.5.4<br>
<a class=plain href="canned/about.html">about this book</a>
</tr></table>
}}
\documenttitle[csug.css]{Chez Scheme Version 9 User's Guide}
\fi


\newcommand{\ChezScheme}{\textsl{Chez~Scheme}}
\newcommand{\PetiteChezScheme}{\textsl{Petite~Chez~Scheme}}
\newcommand{\TSPLFOUR}{\emph{The Scheme Programming Language, 4th Edition}}
\iflatex
\newcommand{\dash}{\raise.5ex\hbox to 1em{\leaders\hrule\hfil}}
\fi
\ifhtml
\newcommand{\dash}{---}
\fi

\iflatex
\font\titlefont=cmbxsl10 at 18pt
\font\subtitlefont=cmbxsl10 at 15pt
\fi

% \iflatex
% \setlength{\pdfpagewidth}{6in}
% \setlength{\pdfpageheight}{9in}
% \fi


\begin{document}

\iflatex
\parskip=4pt
\parindent=0pt
\fi

\frontmatter

\ifhtml
\raw{\raw{<table><tr>
<td style="padding-left: 2em"><span class=title>Chez Scheme Version 9<br>User's Guide</span></td>
</tr></table>}}
\fi

\include{title}
\include{copyright}
\include{contents}
\include{preface}
%
\mainmatter
\include{intro}
\include{use}
\include{debug}
\include{foreign}
\include{binding}
\include{control}
\include{objects}
\include{numeric}
\include{io}
\include{libraries}
\include{syntax}
\include{system}
\include{smgmt}
\include{expeditor}
\include{threads}
\include{compat}
%
\backmatter
\include{bibliography}
\include{summary}
%
\def\indexintrotext{%
This index is a unified index for this book and
\index{The Scheme Programming Language, 4th Edition@\emph{The Scheme Programming Language, 4th Edition}}\emph{The
Scheme Programming Language, 4th Edition} (TSPL4).
Page numbers prefixed by ``t'' refer the latter document.
Italicized page numbers refer to the primary description of a syntactic
form or procedure.}
%
\ifhtml
\chapter{Index}

{\indexintrotext}

All page numbers appearing here refer to the printed version of these
books and also serve as hypertext links to the corresponding locations
in the electronic versions of these books.

\makeindex
\else
\begingroup\tolerance=2000
\printindex
\endgroup
\fi
%
\ifhtml
\end{contents}
\copyrightnotice
\fi

\end{document}