diff --git a/csug/compat.stex b/csug/compat.stex index 9f67750165..86505d2850 100644 --- a/csug/compat.stex +++ b/csug/compat.stex @@ -23,7 +23,7 @@ Section~\ref{SECTCOMPATEXTENDSYNTAX} describes \scheme{extend-syntax} macros. These features are supported directly by current versions of {\ChezScheme}, but support may be dropped in future versions. -New programs should use the standard mechanisms described in +New programs should use the standard mechanisms described in \emph{The Scheme Programming Language, 4th Edition}~\cite{Dybvig:tspl4} instead. diff --git a/csug/control.stex b/csug/control.stex index 90ebff70a9..5be8e4acad 100644 --- a/csug/control.stex +++ b/csug/control.stex @@ -287,7 +287,7 @@ The first form is identical to the Revised$^6$ Report \scheme{dynamic-wind}. When the optional \var{critical?} argument is present and non-false, the \var{in} thunk is invoked in a critical section along with the code that records that the body has been entered, and the \var{out} thunk is -invoked in a critical section section along with the code that records +invoked in a critical section along with the code that records that the body has been exited. Extreme caution must be taken with this form of \scheme{dynamic-wind}, since an error or long-running computation can leave interrupts diff --git a/csug/csug.bib b/csug/csug.bib index 50d7eac70a..25461bdc0e 100644 --- a/csug/csug.bib +++ b/csug/csug.bib @@ -444,7 +444,7 @@ year = 1995} author = {Oscar Waddell and Dipanwita Sarkar and R. Kent Dybvig}, title = {Fixing Letrec: A Faithful Yet Efficient Implementation of {Scheme}'s Recursive Binding Construct}, -journal = {Higher-order and and symbolic computation}, +journal = {Higher-order and symbolic computation}, volume = 18, number = "3/4", pages = {299--326}, diff --git a/csug/expeditor.stex b/csug/expeditor.stex index 47a27ed85e..a77e51dc6b 100644 --- a/csug/expeditor.stex +++ b/csug/expeditor.stex @@ -120,7 +120,7 @@ Its default value is \scheme{100}. \endentryheader The value of \scheme{ee-default-repeat} is a nonnegative fixnum -value that determines the number of of times the next command is +value that determines the number of times the next command is repeated after the \scheme{ee-command-repeat} editing command (bound to \scheme{Esc-^U} by default) is used and \emph{not} followed by a sequence of digits. diff --git a/csug/foreign.stex b/csug/foreign.stex index 767ff03e84..52084a0bba 100644 --- a/csug/foreign.stex +++ b/csug/foreign.stex @@ -3485,7 +3485,7 @@ A thread created via the Scheme procedure \scheme{fork-thread} starts in the active state and need not be activated. Any thread that has been deactivated, and any thread created by some mechanism other than \scheme{fork-thread} must, -however, be activated before before it can access Scheme data or execute +however, be activated before it can access Scheme data or execute Scheme code. A foreign callable that is declared with \scheme{__collect_safe} can activate a calling thread. Otherwise, \scheme{Sactivate_thread} must be used to activate a thread. diff --git a/csug/intro.stex b/csug/intro.stex index a40bc50e3b..dc921120f2 100644 --- a/csug/intro.stex +++ b/csug/intro.stex @@ -131,7 +131,7 @@ valid identifiers in {\ChezScheme}. Second, the single-character sequences \scheme{\schlbrace} and \scheme{\schrbrace} are identifiers. Third, identifiers containing arbitrary characters may be printed by -escaping them them with \scheme{\} or with \scheme{|}. +escaping them with \scheme{\} or with \scheme{|}. \scheme{\} is used to escape a single character (except 'x', since \scheme{\x} marks the start of a hex scalar value), whereas \scheme{|} is used @@ -139,7 +139,7 @@ to escape the group of characters that follow it up through the matching \scheme{|}. For example, \scheme{\||\|} is an identifier with a two-character name consisting of the character \scheme{|} followed by the -the character \scheme{\}, and \scheme{|hit me!|} is an identifier whose name +character \scheme{\}, and \scheme{|hit me!|} is an identifier whose name contains a space. In addition, gensyms (page~\ref{desc:gensym}) are printed with diff --git a/csug/io.stex b/csug/io.stex index 8a843c5281..128c5eff19 100644 --- a/csug/io.stex +++ b/csug/io.stex @@ -670,7 +670,7 @@ message. \endentryheader \noindent -When When \var{obj} is \scheme{#f}, the port's beginning-of-line (BOL) +When \var{obj} is \scheme{#f}, the port's beginning-of-line (BOL) flag is cleared; otherwise, the port's BOL flag is set. The BOL flag is consulted by \scheme{fresh-line} @@ -2555,7 +2555,7 @@ objects \scheme{\var{obj} \dots}. Characters are copied from \var{format-string} to the output string from left to right, until \var{format-string} is exhausted. The format string may contain one or more \var{format directives}, which are -multi-character sequences prefixed by a a tilde (~\scheme{~}~). +multi-character sequences prefixed by a tilde (~\scheme{~}~). Each directive is replaced by some other text, often involving one or more of the \scheme{\var{obj} \dots} arguments, as determined by the semantics of the directive. diff --git a/csug/objects.stex b/csug/objects.stex index af0e9b052a..a55b97eb15 100644 --- a/csug/objects.stex +++ b/csug/objects.stex @@ -1317,7 +1317,7 @@ be parsed as a number. \item A symbol whose name contains arbitrary characters may be written by -escaping them them with \scheme{\} or with \scheme{|}. +escaping them with \scheme{\} or with \scheme{|}. \scheme{\} is used to escape a single character (except 'x', since \scheme{\x} marks the start of a hex scalar value), whereas \scheme{|} is used diff --git a/csug/system.stex b/csug/system.stex index 677ff17903..5aef781e9f 100644 --- a/csug/system.stex +++ b/csug/system.stex @@ -4362,7 +4362,7 @@ in bytes, including not only the bytes occupied for Scheme objects but also various forms of overhead, including fragmentation and reserved but not currently occupied memory, and is thus an accurate measure of the amount of heap memory currently reserved from the -the operating system for the current process. +operating system for the current process. %---------------------------------------------------------------------------- \entryheader diff --git a/csug/use.stex b/csug/use.stex index c6a45bdb1c..fae1ef54dd 100644 --- a/csug/use.stex +++ b/csug/use.stex @@ -1655,7 +1655,7 @@ The application installation script should install {\PetiteChezScheme} if not already installed on the target system. It should install the application boot file in the same directory as the {\PetiteChezScheme} boot file petite.boot is installed, -and it should should install the application shared libraries, if any, +and it should install the application shared libraries, if any, either in the same location or in a standard location for shared libraries on the target system. It should also create a link to or copy of the {\PetiteChezScheme}