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.
This commit is contained in:
parent
203d91a461
commit
479384e1ff
|
@ -72,6 +72,7 @@ var { font-family: times, serif;
|
||||||
font-size: 85%; }
|
font-size: 85%; }
|
||||||
|
|
||||||
.email { font-family: avantgarde, sans-serif; }
|
.email { font-family: avantgarde, sans-serif; }
|
||||||
|
.mailheader { font-family: avantgarde, sans-serif; }
|
||||||
.mimetype { font-family: avantgarde, sans-serif; }
|
.mimetype { font-family: avantgarde, sans-serif; }
|
||||||
.newsgroup { font-family: avantgarde, sans-serif; }
|
.newsgroup { font-family: avantgarde, sans-serif; }
|
||||||
.url { font-family: avantgarde, sans-serif; }
|
.url { font-family: avantgarde, sans-serif; }
|
||||||
|
|
|
@ -213,7 +213,7 @@ sub do_cmd_longprogramopt{
|
||||||
sub do_cmd_email{
|
sub do_cmd_email{
|
||||||
return use_wrappers(@_[0], '<span class="email">', '</span>'); }
|
return use_wrappers(@_[0], '<span class="email">', '</span>'); }
|
||||||
sub do_cmd_mailheader{
|
sub do_cmd_mailheader{
|
||||||
return use_wrappers(@_[0], '<tt class="mimeheader">', '</tt>'); }
|
return use_wrappers(@_[0], '<span class="mailheader">', ':</span>'); }
|
||||||
sub do_cmd_mimetype{
|
sub do_cmd_mimetype{
|
||||||
return use_wrappers(@_[0], '<span class="mimetype">', '</span>'); }
|
return use_wrappers(@_[0], '<span class="mimetype">', '</span>'); }
|
||||||
sub do_cmd_var{
|
sub do_cmd_var{
|
||||||
|
|
|
@ -833,7 +833,7 @@
|
||||||
\newcommand{\ctype}[1]{\texttt{#1}} % C struct or typedef name
|
\newcommand{\ctype}[1]{\texttt{#1}} % C struct or typedef name
|
||||||
\newcommand{\cdata}[1]{\texttt{#1}} % C variable, typically global
|
\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}}}
|
\newcommand{\mimetype}[1]{{\small\textsf{#1}}}
|
||||||
% The \! is a "negative thin space" in math mode.
|
% The \! is a "negative thin space" in math mode.
|
||||||
\newcommand{\regexp}[1]{%
|
\newcommand{\regexp}[1]{%
|
||||||
|
|
Loading…
Reference in New Issue