Consistency: "{\bf ...}" ==> "\strong{...}"

"{\em ...}" ==> "\emph{...}"

	      Not at all sure what to do with "{\rm ...}".
	      Leaving it for now.
This commit is contained in:
Fred Drake 1998-01-14 14:51:31 +00:00
parent b215137224
commit af8a015c93
34 changed files with 62 additions and 60 deletions

View file

@ -1303,9 +1303,10 @@ contain the options \samp{-I\$(PYTHONTOP) -I\$(PYTHONTOP)/Include}.
\subsection{Shared Libraries} \subsection{Shared Libraries}
You must link the \samp{.o} file to produce a shared library. This is You must link the \file{.o} file to produce a shared library. This is
done using a special invocation of the \UNIX{} loader/linker, {\em done using a special invocation of the \UNIX{} loader/linker,
ld}(1). Unfortunately the invocation differs slightly per system. \emph{ld}(1). Unfortunately the invocation differs slightly per
system.
On SunOS 4, use On SunOS 4, use
\bcode\begin{verbatim} \bcode\begin{verbatim}
@ -1336,7 +1337,7 @@ along the Python module search path.
\subsection{SGI IRIX 4 Dynamic Loading} \subsection{SGI IRIX 4 Dynamic Loading}
{\bf IMPORTANT:} You must compile your extension module with the \strong{IMPORTANT:} You must compile your extension module with the
additional \C{} flag \samp{-G0} (or \samp{-G 0}). This instruct the additional \C{} flag \samp{-G0} (or \samp{-G 0}). This instruct the
assembler to generate position-independent code. assembler to generate position-independent code.

View file

@ -1303,9 +1303,10 @@ contain the options \samp{-I\$(PYTHONTOP) -I\$(PYTHONTOP)/Include}.
\subsection{Shared Libraries} \subsection{Shared Libraries}
You must link the \samp{.o} file to produce a shared library. This is You must link the \file{.o} file to produce a shared library. This is
done using a special invocation of the \UNIX{} loader/linker, {\em done using a special invocation of the \UNIX{} loader/linker,
ld}(1). Unfortunately the invocation differs slightly per system. \emph{ld}(1). Unfortunately the invocation differs slightly per
system.
On SunOS 4, use On SunOS 4, use
\bcode\begin{verbatim} \bcode\begin{verbatim}
@ -1336,7 +1337,7 @@ along the Python module search path.
\subsection{SGI IRIX 4 Dynamic Loading} \subsection{SGI IRIX 4 Dynamic Loading}
{\bf IMPORTANT:} You must compile your extension module with the \strong{IMPORTANT:} You must compile your extension module with the
additional \C{} flag \samp{-G0} (or \samp{-G 0}). This instruct the additional \C{} flag \samp{-G0} (or \samp{-G 0}). This instruct the
assembler to generate position-independent code. assembler to generate position-independent code.

View file

@ -133,7 +133,7 @@ samples in the sound fragment.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{max}{fragment\, width} \begin{funcdesc}{max}{fragment\, width}
Return the maximum of the {\em absolute value} of all samples in a Return the maximum of the \emph{absolute value} of all samples in a
fragment. fragment.
\end{funcdesc} \end{funcdesc}

View file

@ -25,13 +25,13 @@ class instances):
\begin{itemize} \begin{itemize}
\item \item
A {\em shallow copy} constructs a new compound object and then (to the A \emph{shallow copy} constructs a new compound object and then (to the
extent possible) inserts {\em references} into it to the objects found extent possible) inserts \emph{references} into it to the objects found
in the original. in the original.
\item \item
A {\em deep copy} constructs a new compound object and then, A \emph{deep copy} constructs a new compound object and then,
recursively, inserts {\em copies} into it of the objects found in the recursively, inserts \emph{copies} into it of the objects found in the
original. original.
\end{itemize} \end{itemize}
@ -46,7 +46,7 @@ Recursive objects (compound objects that, directly or indirectly,
contain a reference to themselves) may cause a recursive loop. contain a reference to themselves) may cause a recursive loop.
\item \item
Because deep copy copies {\em everything} it may copy too much, e.g.\ Because deep copy copies \emph{everything} it may copy too much, e.g.\
administrative data structures that should be shared even between administrative data structures that should be shared even between
copies. copies.

View file

@ -2,7 +2,7 @@
\label{module-crypt} \label{module-crypt}
\bimodindex{crypt} \bimodindex{crypt}
This module implements an interface to the crypt({\bf 3}) routine, This module implements an interface to the crypt(\strong{3}) routine,
which is a one-way hash function based upon a modified DES algorithm; which is a one-way hash function based upon a modified DES algorithm;
see the \UNIX{} man page for further details. Possible uses include see the \UNIX{} man page for further details. Possible uses include
allowing Python scripts to accept typed passwords from the user, or allowing Python scripts to accept typed passwords from the user, or

View file

@ -2,7 +2,7 @@
\label{module-fm} \label{module-fm}
\bimodindex{fm} \bimodindex{fm}
This module provides access to the IRIS {\em Font Manager} library. This module provides access to the IRIS \emph{Font Manager} library.
It is available only on Silicon Graphics machines. It is available only on Silicon Graphics machines.
See also: 4Sight User's Guide, Section 1, Chapter 5: Using the IRIS See also: 4Sight User's Guide, Section 1, Chapter 5: Using the IRIS
Font Manager. Font Manager.

View file

@ -393,8 +393,8 @@ any kind of sequence; the result is always a list.
\code{fopen()}: \var{filename} is the file name to be opened, \code{fopen()}: \var{filename} is the file name to be opened,
\var{mode} indicates how the file is to be opened: \code{'r'} for \var{mode} indicates how the file is to be opened: \code{'r'} for
reading, \code{'w'} for writing (truncating an existing file), and reading, \code{'w'} for writing (truncating an existing file), and
\code{'a'} opens it for appending (which on {\em some} \UNIX{} \code{'a'} opens it for appending (which on \emph{some} \UNIX{}
systems means that {\em all} writes append to the end of the file, systems means that \emph{all} writes append to the end of the file,
regardless of the current seek position). regardless of the current seek position).
Modes \code{'r+'}, \code{'w+'} and Modes \code{'r+'}, \code{'w+'} and
\code{'a+'} open the file for updating, provided the underlying \code{'a+'} open the file for updating, provided the underlying

View file

@ -3,7 +3,7 @@
\bimodindex{gl} \bimodindex{gl}
This module provides access to the Silicon Graphics This module provides access to the Silicon Graphics
{\em Graphics Library}. \emph{Graphics Library}.
It is available only on Silicon Graphics machines. It is available only on Silicon Graphics machines.
\strong{Warning:} \strong{Warning:}
@ -191,7 +191,7 @@ main()
\stmodindex{DEVICE} \stmodindex{DEVICE}
These modules define the constants used by the Silicon Graphics These modules define the constants used by the Silicon Graphics
{\em Graphics Library} \emph{Graphics Library}
that C programmers find in the header files that C programmers find in the header files
\file{<gl/gl.h>} \file{<gl/gl.h>}
and and

View file

@ -34,7 +34,7 @@ supported as long as the values contained therein are themselves
supported; and recursive lists and dictionaries should not be written supported; and recursive lists and dictionaries should not be written
(they will cause infinite loops). (they will cause infinite loops).
{\bf Caveat:} On machines where C's \code{long int} type has more than \strong{Caveat:} On machines where C's \code{long int} type has more than
32 bits (such as the DEC Alpha), it 32 bits (such as the DEC Alpha), it
is possible to create plain Python integers that are longer than 32 is possible to create plain Python integers that are longer than 32
bits. Since the current \code{marshal} module uses 32 bits to bits. Since the current \code{marshal} module uses 32 bits to

View file

@ -33,7 +33,7 @@ below for an exact description). An mpz-number is printed like this:
method, described below. method, described below.
\end{funcdesc} \end{funcdesc}
A number of {\em extra} functions are defined in this module. Non A number of \emph{extra} functions are defined in this module. Non
mpz-arguments are converted to mpz-values first, and the functions mpz-arguments are converted to mpz-values first, and the functions
return mpz-numbers. return mpz-numbers.

View file

@ -10,7 +10,7 @@ Dutch author).
This module should be used instead of the built-in module This module should be used instead of the built-in module
\code{pnl} \code{pnl}
to interface with the to interface with the
{\em Panel Library}. \emph{Panel Library}.
The module is too large to document here in its entirety. The module is too large to document here in its entirety.
One interesting function: One interesting function:
@ -18,7 +18,7 @@ One interesting function:
\renewcommand{\indexsubitem}{(in module panel)} \renewcommand{\indexsubitem}{(in module panel)}
\begin{funcdesc}{defpanellist}{filename} \begin{funcdesc}{defpanellist}{filename}
Parses a panel description file containing S-expressions written by the Parses a panel description file containing S-expressions written by the
{\em Panel Editor} \emph{Panel Editor}
that accompanies the Panel Library and creates the described panels. that accompanies the Panel Library and creates the described panels.
It returns a list of panel objects. It returns a list of panel objects.
\end{funcdesc} \end{funcdesc}
@ -49,7 +49,7 @@ For more details, read the module file.
\bimodindex{pnl} \bimodindex{pnl}
This module provides access to the This module provides access to the
{\em Panel Library} \emph{Panel Library}
built by NASA Ames (to get it, send e-mail to built by NASA Ames (to get it, send e-mail to
{\tt panel-request@nas.nasa.gov}). {\tt panel-request@nas.nasa.gov}).
All access to it should be done through the standard module All access to it should be done through the standard module

View file

@ -355,9 +355,9 @@ Set the current process' user id.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{stat}{path} \begin{funcdesc}{stat}{path}
Perform a {\em stat} system call on the given path. The return value Perform a \emph{stat} system call on the given path. The return value
is a tuple of at least 10 integers giving the most important (and is a tuple of at least 10 integers giving the most important (and
portable) members of the {\em stat} structure, in the order portable) members of the \emph{stat} structure, in the order
\code{st_mode}, \code{st_mode},
\code{st_ino}, \code{st_ino},
\code{st_dev}, \code{st_dev},

View file

@ -2,7 +2,7 @@
\label{module-socket} \label{module-socket}
\bimodindex{socket} \bimodindex{socket}
This module provides access to the BSD {\em socket} interface. This module provides access to the BSD \emph{socket} interface.
It is available on \UNIX{} systems that support this interface. It is available on \UNIX{} systems that support this interface.
For an introduction to socket programming (in C), see the following For an introduction to socket programming (in C), see the following

View file

@ -360,7 +360,7 @@ left corner (relative to the upper left corner of the screen).
Create a menu object referring to a local menu (a menu that appears Create a menu object referring to a local menu (a menu that appears
only in this window). only in this window).
Methods of menu objects are described below. Methods of menu objects are described below.
{\bf Warning:} the menu only appears as long as the object \strong{Warning:} the menu only appears as long as the object
returned by this call exists. returned by this call exists.
\end{funcdesc} \end{funcdesc}
@ -841,7 +841,7 @@ is empty if
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}. \code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
\else \else
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$. $\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
%%JHXXX{\em left~$\geq$~right} or {\em top~$\leq$~bottom}. %%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
\fi \fi
\end{funcdesc} \end{funcdesc}

View file

@ -4,7 +4,7 @@
\stmodindex{StringIO} \stmodindex{StringIO}
This module implements a file-like class, \code{StringIO}, This module implements a file-like class, \code{StringIO},
that reads and writes a string buffer (also known as {\em memory that reads and writes a string buffer (also known as \emph{memory
files}). See the description on file objects for operations. files}). See the description on file objects for operations.
When a \code{StringIO} object is created, it can be initialized When a \code{StringIO} object is created, it can be initialized

View file

@ -81,7 +81,7 @@ Return the status of the lock:\ 1 if it has been acquired by some
thread, 0 if not. thread, 0 if not.
\end{funcdesc} \end{funcdesc}
{\bf Caveats:} \strong{Caveats:}
\begin{itemize} \begin{itemize}
\item \item

View file

@ -133,7 +133,7 @@ samples in the sound fragment.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{max}{fragment\, width} \begin{funcdesc}{max}{fragment\, width}
Return the maximum of the {\em absolute value} of all samples in a Return the maximum of the \emph{absolute value} of all samples in a
fragment. fragment.
\end{funcdesc} \end{funcdesc}

View file

@ -25,13 +25,13 @@ class instances):
\begin{itemize} \begin{itemize}
\item \item
A {\em shallow copy} constructs a new compound object and then (to the A \emph{shallow copy} constructs a new compound object and then (to the
extent possible) inserts {\em references} into it to the objects found extent possible) inserts \emph{references} into it to the objects found
in the original. in the original.
\item \item
A {\em deep copy} constructs a new compound object and then, A \emph{deep copy} constructs a new compound object and then,
recursively, inserts {\em copies} into it of the objects found in the recursively, inserts \emph{copies} into it of the objects found in the
original. original.
\end{itemize} \end{itemize}
@ -46,7 +46,7 @@ Recursive objects (compound objects that, directly or indirectly,
contain a reference to themselves) may cause a recursive loop. contain a reference to themselves) may cause a recursive loop.
\item \item
Because deep copy copies {\em everything} it may copy too much, e.g.\ Because deep copy copies \emph{everything} it may copy too much, e.g.\
administrative data structures that should be shared even between administrative data structures that should be shared even between
copies. copies.

View file

@ -2,7 +2,7 @@
\label{module-crypt} \label{module-crypt}
\bimodindex{crypt} \bimodindex{crypt}
This module implements an interface to the crypt({\bf 3}) routine, This module implements an interface to the crypt(\strong{3}) routine,
which is a one-way hash function based upon a modified DES algorithm; which is a one-way hash function based upon a modified DES algorithm;
see the \UNIX{} man page for further details. Possible uses include see the \UNIX{} man page for further details. Possible uses include
allowing Python scripts to accept typed passwords from the user, or allowing Python scripts to accept typed passwords from the user, or

View file

@ -54,7 +54,7 @@ object). This will make all connection object methods work
asynchronously, with the callback routine being called upon asynchronously, with the callback routine being called upon
completion. completion.
{\em Note:} for reasons beyond my understanding the callback routine \emph{Note:} for reasons beyond my understanding the callback routine
is currently never called. You are advised against using asynchronous is currently never called. You are advised against using asynchronous
calls for the time being. calls for the time being.
\end{datadesc} \end{datadesc}

View file

@ -2,7 +2,7 @@
\label{module-fm} \label{module-fm}
\bimodindex{fm} \bimodindex{fm}
This module provides access to the IRIS {\em Font Manager} library. This module provides access to the IRIS \emph{Font Manager} library.
It is available only on Silicon Graphics machines. It is available only on Silicon Graphics machines.
See also: 4Sight User's Guide, Section 1, Chapter 5: Using the IRIS See also: 4Sight User's Guide, Section 1, Chapter 5: Using the IRIS
Font Manager. Font Manager.

View file

@ -393,8 +393,8 @@ any kind of sequence; the result is always a list.
\code{fopen()}: \var{filename} is the file name to be opened, \code{fopen()}: \var{filename} is the file name to be opened,
\var{mode} indicates how the file is to be opened: \code{'r'} for \var{mode} indicates how the file is to be opened: \code{'r'} for
reading, \code{'w'} for writing (truncating an existing file), and reading, \code{'w'} for writing (truncating an existing file), and
\code{'a'} opens it for appending (which on {\em some} \UNIX{} \code{'a'} opens it for appending (which on \emph{some} \UNIX{}
systems means that {\em all} writes append to the end of the file, systems means that \emph{all} writes append to the end of the file,
regardless of the current seek position). regardless of the current seek position).
Modes \code{'r+'}, \code{'w+'} and Modes \code{'r+'}, \code{'w+'} and
\code{'a+'} open the file for updating, provided the underlying \code{'a+'} open the file for updating, provided the underlying

View file

@ -3,7 +3,7 @@
\bimodindex{gl} \bimodindex{gl}
This module provides access to the Silicon Graphics This module provides access to the Silicon Graphics
{\em Graphics Library}. \emph{Graphics Library}.
It is available only on Silicon Graphics machines. It is available only on Silicon Graphics machines.
\strong{Warning:} \strong{Warning:}
@ -191,7 +191,7 @@ main()
\stmodindex{DEVICE} \stmodindex{DEVICE}
These modules define the constants used by the Silicon Graphics These modules define the constants used by the Silicon Graphics
{\em Graphics Library} \emph{Graphics Library}
that C programmers find in the header files that C programmers find in the header files
\file{<gl/gl.h>} \file{<gl/gl.h>}
and and

View file

@ -34,7 +34,7 @@ supported as long as the values contained therein are themselves
supported; and recursive lists and dictionaries should not be written supported; and recursive lists and dictionaries should not be written
(they will cause infinite loops). (they will cause infinite loops).
{\bf Caveat:} On machines where C's \code{long int} type has more than \strong{Caveat:} On machines where C's \code{long int} type has more than
32 bits (such as the DEC Alpha), it 32 bits (such as the DEC Alpha), it
is possible to create plain Python integers that are longer than 32 is possible to create plain Python integers that are longer than 32
bits. Since the current \code{marshal} module uses 32 bits to bits. Since the current \code{marshal} module uses 32 bits to

View file

@ -33,7 +33,7 @@ below for an exact description). An mpz-number is printed like this:
method, described below. method, described below.
\end{funcdesc} \end{funcdesc}
A number of {\em extra} functions are defined in this module. Non A number of \emph{extra} functions are defined in this module. Non
mpz-arguments are converted to mpz-values first, and the functions mpz-arguments are converted to mpz-values first, and the functions
return mpz-numbers. return mpz-numbers.

View file

@ -10,7 +10,7 @@ Dutch author).
This module should be used instead of the built-in module This module should be used instead of the built-in module
\code{pnl} \code{pnl}
to interface with the to interface with the
{\em Panel Library}. \emph{Panel Library}.
The module is too large to document here in its entirety. The module is too large to document here in its entirety.
One interesting function: One interesting function:
@ -18,7 +18,7 @@ One interesting function:
\renewcommand{\indexsubitem}{(in module panel)} \renewcommand{\indexsubitem}{(in module panel)}
\begin{funcdesc}{defpanellist}{filename} \begin{funcdesc}{defpanellist}{filename}
Parses a panel description file containing S-expressions written by the Parses a panel description file containing S-expressions written by the
{\em Panel Editor} \emph{Panel Editor}
that accompanies the Panel Library and creates the described panels. that accompanies the Panel Library and creates the described panels.
It returns a list of panel objects. It returns a list of panel objects.
\end{funcdesc} \end{funcdesc}
@ -49,7 +49,7 @@ For more details, read the module file.
\bimodindex{pnl} \bimodindex{pnl}
This module provides access to the This module provides access to the
{\em Panel Library} \emph{Panel Library}
built by NASA Ames (to get it, send e-mail to built by NASA Ames (to get it, send e-mail to
{\tt panel-request@nas.nasa.gov}). {\tt panel-request@nas.nasa.gov}).
All access to it should be done through the standard module All access to it should be done through the standard module

View file

@ -355,9 +355,9 @@ Set the current process' user id.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{stat}{path} \begin{funcdesc}{stat}{path}
Perform a {\em stat} system call on the given path. The return value Perform a \emph{stat} system call on the given path. The return value
is a tuple of at least 10 integers giving the most important (and is a tuple of at least 10 integers giving the most important (and
portable) members of the {\em stat} structure, in the order portable) members of the \emph{stat} structure, in the order
\code{st_mode}, \code{st_mode},
\code{st_ino}, \code{st_ino},
\code{st_dev}, \code{st_dev},

View file

@ -2,7 +2,7 @@
\label{module-socket} \label{module-socket}
\bimodindex{socket} \bimodindex{socket}
This module provides access to the BSD {\em socket} interface. This module provides access to the BSD \emph{socket} interface.
It is available on \UNIX{} systems that support this interface. It is available on \UNIX{} systems that support this interface.
For an introduction to socket programming (in C), see the following For an introduction to socket programming (in C), see the following

View file

@ -360,7 +360,7 @@ left corner (relative to the upper left corner of the screen).
Create a menu object referring to a local menu (a menu that appears Create a menu object referring to a local menu (a menu that appears
only in this window). only in this window).
Methods of menu objects are described below. Methods of menu objects are described below.
{\bf Warning:} the menu only appears as long as the object \strong{Warning:} the menu only appears as long as the object
returned by this call exists. returned by this call exists.
\end{funcdesc} \end{funcdesc}
@ -841,7 +841,7 @@ is empty if
\code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}. \code{\var{left} >= \var{right}} or \code{\var{top} => \var{bottom}}.
\else \else
$\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$. $\var{left} \geq \var{right}$ or $\var{top} \geq \var{bottom}$.
%%JHXXX{\em left~$\geq$~right} or {\em top~$\leq$~bottom}. %%JHXXX\emph{left~$\geq$~right} or \emph{top~$\leq$~bottom}.
\fi \fi
\end{funcdesc} \end{funcdesc}

View file

@ -4,7 +4,7 @@
\stmodindex{StringIO} \stmodindex{StringIO}
This module implements a file-like class, \code{StringIO}, This module implements a file-like class, \code{StringIO},
that reads and writes a string buffer (also known as {\em memory that reads and writes a string buffer (also known as \emph{memory
files}). See the description on file objects for operations. files}). See the description on file objects for operations.
When a \code{StringIO} object is created, it can be initialized When a \code{StringIO} object is created, it can be initialized

View file

@ -81,7 +81,7 @@ Return the status of the lock:\ 1 if it has been acquired by some
thread, 0 if not. thread, 0 if not.
\end{funcdesc} \end{funcdesc}
{\bf Caveats:} \strong{Caveats:}
\begin{itemize} \begin{itemize}
\item \item

View file

@ -54,7 +54,7 @@ object). This will make all connection object methods work
asynchronously, with the callback routine being called upon asynchronously, with the callback routine being called upon
completion. completion.
{\em Note:} for reasons beyond my understanding the callback routine \emph{Note:} for reasons beyond my understanding the callback routine
is currently never called. You are advised against using asynchronous is currently never called. You are advised against using asynchronous
calls for the time being. calls for the time being.
\end{datadesc} \end{datadesc}

View file

@ -3156,7 +3156,7 @@ class VirtualAttributes:
self.__vdict[name] = value self.__vdict[name] = value
\end{verbatim} \end{verbatim}
%{\em Warning: this is an experimental feature.} To avoid all %\emph{Warning: this is an experimental feature.} To avoid all
%potential problems, refrain from using identifiers starting with %potential problems, refrain from using identifiers starting with
%double underscore except for predefined uses like \code{__init__}. To %double underscore except for predefined uses like \code{__init__}. To
%use private names while maintaining future compatibility: refrain from %use private names while maintaining future compatibility: refrain from

View file

@ -3156,7 +3156,7 @@ class VirtualAttributes:
self.__vdict[name] = value self.__vdict[name] = value
\end{verbatim} \end{verbatim}
%{\em Warning: this is an experimental feature.} To avoid all %\emph{Warning: this is an experimental feature.} To avoid all
%potential problems, refrain from using identifiers starting with %potential problems, refrain from using identifiers starting with
%double underscore except for predefined uses like \code{__init__}. To %double underscore except for predefined uses like \code{__init__}. To
%use private names while maintaining future compatibility: refrain from %use private names while maintaining future compatibility: refrain from