]> granicus.if.org Git - python/commitdiff
Move the styling for the HTML version of \mailheader into the CSS file.
authorFred Drake <fdrake@acm.org>
Wed, 26 Sep 2001 18:46:36 +0000 (18:46 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 26 Sep 2001 18:46:36 +0000 (18:46 +0000)
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.

Doc/html/style.css
Doc/perl/python.perl
Doc/texinputs/python.sty

index 365566600b74010135d2d8b14ff6160653bd513e..b24998c7f87e13792cf8056ddcdc650dddb63bd8 100644 (file)
@@ -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; }
index 2f86de64004ee1434b8eb958cbbdf562d2e2e7ed..13e7aac3207e46ef2ca1bc5a01fdd53443db5e35 100644 (file)
@@ -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{
index f25041bcd0e765c855c4487191ec1906d98fa3f0..9fa56cd66ef3857a89056098ae8e203bc30423cd 100644 (file)
 \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]{%