From cb16f9966db51551200f5b5477b8d1d3618ab662 Mon Sep 17 00:00:00 2001 From: sperber Date: Fri, 4 Jan 2002 14:59:18 +0000 Subject: [PATCH] Fix index breakage. --- doc/scsh-manual/rdelim.tex | 41 +++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/doc/scsh-manual/rdelim.tex b/doc/scsh-manual/rdelim.tex index 97ee3e0..0497865 100644 --- a/doc/scsh-manual/rdelim.tex +++ b/doc/scsh-manual/rdelim.tex @@ -23,12 +23,12 @@ delimiter character. There are four possible choices for a \ex{handle-delim} parameter: \begin{inset} \begin{tabular}{|l|l|} \hline - \ex{handle-delim} & Meaning \\ \hline\hline - \ex{'trim} & Ignore delimiter character. \\ - \ex{'peek} & Leave delimiter character in input stream. \\ - \ex{'concat} & Append delimiter character to returned value. \\ - \ex{'split} & Return delimiter as second value. \\ - \hline + \ex{handle-delim} & Meaning \\ \hline\hline + \ex{'trim} & Ignore delimiter character. \\ + \ex{'peek} & Leave delimiter character in input stream. \\ + \ex{'concat} & Append delimiter character to returned value. \\ + \ex{'split} & Return delimiter as second value. \\ + \hline \end{tabular} \end{inset} The first case, \ex{'trim}, is the standard default for all the routines @@ -77,8 +77,8 @@ See section~\ref{sec:char-sets} for information on character set manipulation. \end{desc} \dfni{read-delimited!} {char-set buf [port handle-delim start end]} - {nchars or eof or \#f}{procedure} - {read-delimited"!@\texttt{read-delimited"!}} + {nchars or eof or \#f}{procedure} + {read-delimited"!@\texttt{read-delimited"!}} \begin{desc} A side-effecting variant of \ex{read-delimited}. @@ -102,23 +102,23 @@ See section~\ref{sec:char-sets} for information on character set manipulation. \dfni{\%read-delimited!} {char-set buf gobble? [port start end]} - {[char-or-eof-or-\#f \integer]}{procedure} - {"%read-delimited"!@\verb:"%read-delimited"!:} + {[char-or-eof-or-\#f \integer]}{procedure} + {\%read-delimited"!@\texttt{\%read-delimited"!}} \begin{desc} This low-level delimited reader uses an alternate interface. It returns two values: \var{terminator} and \var{num-read}. \begin{description} \item [terminator] - A value describing why the read was terminated: - \begin{flushleft} - \begin{tabular}{l@{\qquad$\Rightarrow$\qquad}l} - Character or eof-object & Read terminated by this value. \\ - \ex{\#f} & Filled buffer without finding a delimiter. - \end{tabular} - \end{flushleft} + A value describing why the read was terminated: + \begin{flushleft} + \begin{tabular}{l@{\qquad$\Rightarrow$\qquad}l} + Character or eof-object & Read terminated by this value. \\ + \ex{\#f} & Filled buffer without finding a delimiter. + \end{tabular} + \end{flushleft} \item [num-read] - Number of characters read into \var{buf}. + Number of characters read into \var{buf}. \end{description} If the read is successfully terminated by reading a delimiter character, @@ -146,3 +146,8 @@ the procedure call. The \var{skip-chars} argument may be a charset, a string, a character, or a character predicate; it is coerced to a charset. \end{defundesc} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: "man" +%%% End: