diff options
-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]{% |