diff options
author | Fred Drake <fdrake@acm.org> | 2001-09-26 18:46:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-09-26 18:46:36 (GMT) |
commit | 479384e1ff19cd9987ee89c64fb33030797b44f3 (patch) | |
tree | 433a173ba0d5ef3cb3aaabcc73275ace7875740a | |
parent | 203d91a461e4eb11b1554c71b577d7a1893b7244 (diff) | |
download | cpython-479384e1ff19cd9987ee89c64fb33030797b44f3.zip cpython-479384e1ff19cd9987ee89c64fb33030797b44f3.tar.gz cpython-479384e1ff19cd9987ee89c64fb33030797b44f3.tar.bz2 |
Move the styling for the HTML version of \mailheader into the CSS file.
In both the HTML and typeset versions of the documentation, add a colon
after the name of a mail header so that it is more easily distinguished
from other text.
-rw-r--r-- | Doc/html/style.css | 1 | ||||
-rw-r--r-- | Doc/perl/python.perl | 2 | ||||
-rw-r--r-- | Doc/texinputs/python.sty | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/Doc/html/style.css b/Doc/html/style.css index 3655666..b24998c 100644 --- a/Doc/html/style.css +++ b/Doc/html/style.css @@ -72,6 +72,7 @@ var { font-family: times, serif; font-size: 85%; } .email { font-family: avantgarde, sans-serif; } +.mailheader { font-family: avantgarde, sans-serif; } .mimetype { font-family: avantgarde, sans-serif; } .newsgroup { font-family: avantgarde, sans-serif; } .url { font-family: avantgarde, sans-serif; } diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 2f86de6..13e7aac 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -213,7 +213,7 @@ sub do_cmd_longprogramopt{ sub do_cmd_email{ return use_wrappers(@_[0], '<span class="email">', '</span>'); } sub do_cmd_mailheader{ - return use_wrappers(@_[0], '<tt class="mimeheader">', '</tt>'); } + return use_wrappers(@_[0], '<span class="mailheader">', ':</span>'); } sub do_cmd_mimetype{ return use_wrappers(@_[0], '<span class="mimetype">', '</span>'); } sub do_cmd_var{ diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index f25041b..9fa56cd 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -833,7 +833,7 @@ \newcommand{\ctype}[1]{\texttt{#1}} % C struct or typedef name \newcommand{\cdata}[1]{\texttt{#1}} % C variable, typically global -\newcommand{\mailheader}[1]{\texttt{#1}} +\newcommand{\mailheader}[1]{{\small\textsf{#1:}}} \newcommand{\mimetype}[1]{{\small\textsf{#1}}} % The \! is a "negative thin space" in math mode. \newcommand{\regexp}[1]{% |