Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1656d17

Browse files
committed
Changed all \verb\...\ markup to either \code{...} or \samp{...}.
1 parent 2cd0b9b commit 1656d17

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Doc/lib/libmailcap.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ \section{Standard Module \sectcode{mailcap}}
77
as mail readers and Web browsers react to files with different MIME
88
types. (The name ``mailcap'' is derived from the phrase ``mail
99
capability''.) For example, a mailcap file might contain a line like
10-
\verb\video/mpeg; xmpeg %s\. Then, if the user encounters an email
11-
message or Web document with the MIME type video/mpeg, \verb\%s\ will be
10+
\samp{video/mpeg; xmpeg \%s}. Then, if the user encounters an email
11+
message or Web document with the MIME type video/mpeg, \code{\%s} will be
1212
replaced by a filename (usually one belonging to a temporary file) and
1313
the xmpeg program can be automatically started to view the file.
1414

@@ -38,11 +38,11 @@ \section{Standard Module \sectcode{mailcap}}
3838

3939
\var{plist} can be a list containing named parameters; the default
4040
value is simply an empty list. Each entry in the list must be a
41-
string containing the parameter name, an equals sign (=), and the
41+
string containing the parameter name, an equals sign (\code{=}), and the
4242
parameter's value. Mailcap entries can contain
43-
named parameters like \verb\%{foo}\, which will be replaced by the
43+
named parameters like \code{\%\{foo\}}, which will be replaced by the
4444
value of the parameter named 'foo'. For example, if the command line
45-
\verb\showpartial %{id} %{number} %{total}\
45+
\samp{showpartial \%\{id\} \%\{number\} \%\{total\}}
4646
was in a mailcap file, and \var{plist} was set to \code{['id=1',
4747
'number=2', 'total=3']}, the resulting command line would be
4848
\code{"showpartial 1 2 3"}.
@@ -56,7 +56,7 @@ \section{Standard Module \sectcode{mailcap}}
5656

5757
\begin{funcdesc}{getcaps}{}
5858
Returns a dictionary mapping MIME types to a list of mailcap file
59-
entries. This dictionary must be passed to the \code{findmatch}
59+
entries. This dictionary must be passed to the \code{findmatch()}
6060
function. An entry is stored as a list of dictionaries, but it
6161
shouldn't be necessary to know the details of this representation.
6262

Doc/libmailcap.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ \section{Standard Module \sectcode{mailcap}}
77
as mail readers and Web browsers react to files with different MIME
88
types. (The name ``mailcap'' is derived from the phrase ``mail
99
capability''.) For example, a mailcap file might contain a line like
10-
\verb\video/mpeg; xmpeg %s\. Then, if the user encounters an email
11-
message or Web document with the MIME type video/mpeg, \verb\%s\ will be
10+
\samp{video/mpeg; xmpeg \%s}. Then, if the user encounters an email
11+
message or Web document with the MIME type video/mpeg, \code{\%s} will be
1212
replaced by a filename (usually one belonging to a temporary file) and
1313
the xmpeg program can be automatically started to view the file.
1414

@@ -38,11 +38,11 @@ \section{Standard Module \sectcode{mailcap}}
3838

3939
\var{plist} can be a list containing named parameters; the default
4040
value is simply an empty list. Each entry in the list must be a
41-
string containing the parameter name, an equals sign (=), and the
41+
string containing the parameter name, an equals sign (\code{=}), and the
4242
parameter's value. Mailcap entries can contain
43-
named parameters like \verb\%{foo}\, which will be replaced by the
43+
named parameters like \code{\%\{foo\}}, which will be replaced by the
4444
value of the parameter named 'foo'. For example, if the command line
45-
\verb\showpartial %{id} %{number} %{total}\
45+
\samp{showpartial \%\{id\} \%\{number\} \%\{total\}}
4646
was in a mailcap file, and \var{plist} was set to \code{['id=1',
4747
'number=2', 'total=3']}, the resulting command line would be
4848
\code{"showpartial 1 2 3"}.
@@ -56,7 +56,7 @@ \section{Standard Module \sectcode{mailcap}}
5656

5757
\begin{funcdesc}{getcaps}{}
5858
Returns a dictionary mapping MIME types to a list of mailcap file
59-
entries. This dictionary must be passed to the \code{findmatch}
59+
entries. This dictionary must be passed to the \code{findmatch()}
6060
function. An entry is stored as a list of dictionaries, but it
6161
shouldn't be necessary to know the details of this representation.
6262

0 commit comments

Comments
 (0)