From f90dbc9c8794011489169f9da289c7b0949cec85 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 14 Mar 1998 21:53:48 +0000 Subject: Logical markup. --- Doc/libmacconsole.tex | 16 ++++++++-------- Doc/mac/libmacconsole.tex | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Doc/libmacconsole.tex b/Doc/libmacconsole.tex index 20b34bc..bd601b9 100644 --- a/Doc/libmacconsole.tex +++ b/Doc/libmacconsole.tex @@ -5,7 +5,7 @@ \setindexsubitem{(in module macconsole)} This module is available on the Macintosh, provided Python has been -built using the Think C compiler. It provides an interface to the +built using the Think \C{} compiler. It provides an interface to the Think console package, with which basic text windows can be created. \begin{datadesc}{options} @@ -17,10 +17,10 @@ see below. \dataline{C_NOECHO} \dataline{C_CBREAK} \dataline{C_RAW} -Options for the \code{setmode} method. \var{C_ECHO} and \var{C_CBREAK} -enable character echo, the other two disable it, \var{C_ECHO} and -\var{C_NOECHO} enable line-oriented input (erase/kill processing, -etc). +Options for the \code{setmode} method. \constant{C_ECHO} and +\constant{C_CBREAK} enable character echo, the other two disable it, +\constant{C_ECHO} and \constant{C_NOECHO} enable line-oriented input +(erase/kill processing, etc). \end{datadesc} \begin{funcdesc}{copen}{} @@ -67,14 +67,14 @@ If set non-zero, the window will wait for user action before closing. \begin{datadesc}{file} The file object corresponding to this console window. If the file is -buffered, you should call \code{file.flush()} between \code{write()} -and \code{read()} calls. +buffered, you should call \code{\var{file}.flush()} between +\code{write()} and \code{read()} calls. \end{datadesc} \setindexsubitem{(console window method)} \begin{funcdesc}{setmode}{mode} -Set the input mode of the console to \var{C_ECHO}, etc. +Set the input mode of the console to \constant{C_ECHO}, etc. \end{funcdesc} \begin{funcdesc}{settabs}{n} diff --git a/Doc/mac/libmacconsole.tex b/Doc/mac/libmacconsole.tex index 20b34bc..bd601b9 100644 --- a/Doc/mac/libmacconsole.tex +++ b/Doc/mac/libmacconsole.tex @@ -5,7 +5,7 @@ \setindexsubitem{(in module macconsole)} This module is available on the Macintosh, provided Python has been -built using the Think C compiler. It provides an interface to the +built using the Think \C{} compiler. It provides an interface to the Think console package, with which basic text windows can be created. \begin{datadesc}{options} @@ -17,10 +17,10 @@ see below. \dataline{C_NOECHO} \dataline{C_CBREAK} \dataline{C_RAW} -Options for the \code{setmode} method. \var{C_ECHO} and \var{C_CBREAK} -enable character echo, the other two disable it, \var{C_ECHO} and -\var{C_NOECHO} enable line-oriented input (erase/kill processing, -etc). +Options for the \code{setmode} method. \constant{C_ECHO} and +\constant{C_CBREAK} enable character echo, the other two disable it, +\constant{C_ECHO} and \constant{C_NOECHO} enable line-oriented input +(erase/kill processing, etc). \end{datadesc} \begin{funcdesc}{copen}{} @@ -67,14 +67,14 @@ If set non-zero, the window will wait for user action before closing. \begin{datadesc}{file} The file object corresponding to this console window. If the file is -buffered, you should call \code{file.flush()} between \code{write()} -and \code{read()} calls. +buffered, you should call \code{\var{file}.flush()} between +\code{write()} and \code{read()} calls. \end{datadesc} \setindexsubitem{(console window method)} \begin{funcdesc}{setmode}{mode} -Set the input mode of the console to \var{C_ECHO}, etc. +Set the input mode of the console to \constant{C_ECHO}, etc. \end{funcdesc} \begin{funcdesc}{settabs}{n} -- cgit v0.12