Fix spacing markup and other sundries.
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index a6617e3..6a44029 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -421,7 +421,7 @@
 Return system configuration information relevant to an open file.
 \var{name} specifies the configuration value to retrieve; it may be a
 string which is the name of a defined system value; these names are
-specified in a number of standards (\POSIX.1, \UNIX 95, \UNIX 98, and
+specified in a number of standards (\POSIX.1, \UNIX{} 95, \UNIX{} 98, and
 others).  Some platforms define additional names as well.  The names
 known to the host operating system are given in the
 \code{pathconf_names} dictionary.  For configuration variables not
@@ -793,7 +793,7 @@
 Return system configuration information relevant to a named file.
 \var{name} specifies the configuration value to retrieve; it may be a
 string which is the name of a defined system value; these names are
-specified in a number of standards (\POSIX.1, \UNIX 95, \UNIX 98, and
+specified in a number of standards (\POSIX.1, \UNIX{} 95, \UNIX{} 98, and
 others).  Some platforms define additional names as well.  The names
 known to the host operating system are given in the
 \code{pathconf_names} dictionary.  For configuration variables not
@@ -1080,7 +1080,7 @@
 of its subdirectories (directories are generated bottom up).
 
 When \var{topdown} is true, the caller can modify the \var{dirnames} list
-in-place (e.g., via \keyword{del} or slice assignment), and
+in-place (perhaps unsing \keyword{del} or slice assignment), and
 \function{walk()} will only recurse into the subdirectories whose names
 remain in \var{dirnames}; this can be used to prune the search,
 impose a specific order of visiting, or even to inform \function{walk()}
@@ -1667,7 +1667,7 @@
 Return string-valued system configuration values.
 \var{name} specifies the configuration value to retrieve; it may be a
 string which is the name of a defined system value; these names are
-specified in a number of standards (\POSIX, \UNIX 95, \UNIX 98, and
+specified in a number of standards (\POSIX, \UNIX{} 95, \UNIX{} 98, and
 others).  Some platforms define additional names as well.  The names
 known to the host operating system are given in the
 \code{confstr_names} dictionary.  For configuration variables not
diff --git a/Doc/lib/libshlex.tex b/Doc/lib/libshlex.tex
index 56125d3..107882c 100644
--- a/Doc/lib/libshlex.tex
+++ b/Doc/lib/libshlex.tex
@@ -117,7 +117,7 @@
 \begin{methoddesc}{pop_source}{}
 Pop the last-pushed input source from the input stack.
 This is the same method used internally when the lexer reaches
-\EOF on a stacked input stream.
+\EOF{} on a stacked input stream.
 \versionadded{2.1}
 \end{methoddesc}
 
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index 49f2dae..6fb1180 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -416,8 +416,8 @@
 separating items with commas: \code{[a, b, c]}.  Tuples are
 constructed by the comma operator (not within square brackets), with
 or without enclosing parentheses, but an empty tuple must have the
-enclosing parentheses, e.g., \code{a, b, c} or \code{()}.  A single
-item tuple must have a trailing comma, e.g., \code{(d,)}.
+enclosing parentheses, such as \code{a, b, c} or \code{()}.  A single
+item tuple must have a trailing comma, such as \code{(d,)}.
 \obindex{sequence}
 \obindex{string}
 \obindex{Unicode}
@@ -1361,7 +1361,7 @@
   include that file may remain unchanged, increase to the specified
   size as if zero-filled, or increase to the specified size with
   undefined new content.
-  Availability:  Windows, many \UNIX variants.
+  Availability:  Windows, many \UNIX{} variants.
 \end{methoddesc}
 
 \begin{methoddesc}[file]{write}{str}
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex
index eb4d719..0929c17 100644
--- a/Doc/lib/libtime.tex
+++ b/Doc/lib/libtime.tex
@@ -357,7 +357,7 @@
     These will be propogated into time.tzname
 
   \item[offset]
-    The offset has the form: \plusminus hh[:mm[:ss]].
+    The offset has the form: \plusminus{} hh[:mm[:ss]].
     This indicates the value added the local time to arrive at UTC. 
     If preceded by a '-', the timezone is east of the Prime 
     Meridian; otherwise, it is west. If no offset follows