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

Skip to content

Commit 64a5aaf

Browse files
committed
Describe the content given as the parameter to the \note and \warning macros
in more detail, and use them where appropriate.
1 parent 0c77cf1 commit 64a5aaf

1 file changed

Lines changed: 13 additions & 10 deletions

File tree

Doc/doc/doc.tex

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -776,16 +776,16 @@ \section{Special Markup Constructs \label{special-constructs}}
776776
The name of a file or directory. In the PDF and PostScript
777777
outputs, single quotes and a font change are used to indicate
778778
the file name, but no quotes are used in the HTML output.
779-
\strong{Warning:} The \macro{file} macro cannot be used in the
780-
content of a section title due to processing limitations.
779+
\warning{The \macro{file} macro cannot be used in the
780+
content of a section title due to processing limitations.}
781781
\end{macrodesc}
782782

783783
\begin{macrodesc}{filenq}{\p{file or dir}}
784784
Like \macro{file}, but single quotes are never used. This can
785785
be used in conjunction with tables if a column will only contain
786786
file or directory names.
787-
\strong{Warning:} The \macro{filenq} macro cannot be used in the
788-
content of a section title due to processing limitations.
787+
\warning{The \macro{filenq} macro cannot be used in the
788+
content of a section title due to processing limitations.}
789789
\end{macrodesc}
790790

791791
\begin{macrodesc}{function}{\p{name}}
@@ -864,7 +864,8 @@ \section{Special Markup Constructs \label{special-constructs}}
864864
user should be aware of when using whatever bit of API the
865865
note pertains to. This should be the last thing in the
866866
paragraph as the end of the note is not visually marked in
867-
any way.
867+
any way. The content of \var{text} should be written in
868+
complete sentences and include all appropriate punctuation.
868869
\end{macrodesc}
869870

870871
\begin{macrodesc}{pep}{\p{number}}
@@ -1001,9 +1002,11 @@ \section{Special Markup Constructs \label{special-constructs}}
10011002
An important bit of information about an API that a user should
10021003
be very aware of when using whatever bit of API the warning
10031004
pertains to. This should be the last thing in the paragraph as
1004-
the end of the warning is not visually marked in any way. This
1005-
differs from \macro{note} in that it is recommended over
1006-
\macro{note} for information regarding security.
1005+
the end of the warning is not visually marked in any way. The
1006+
content of \var{text} should be written in complete sentences
1007+
and include all appropriate punctuation. This differs from
1008+
\macro{note} in that it is recommended over \macro{note} for
1009+
information regarding security.
10071010
\end{macrodesc}
10081011

10091012

@@ -1327,8 +1330,8 @@ \section{\module{bar.foo} ---
13271330
name is given in \var{name}, with the link key given in
13281331
\var{key} if necessary. In the HTML and PDF conversions, the
13291332
module name will be a hyperlink to the referred-to module.
1330-
\strong{Note:} The module must be documented in the same
1331-
document (the corresponding \macro{declaremodule} is required).
1333+
\note{The module must be documented in the same
1334+
document (the corresponding \macro{declaremodule} is required).}
13321335
\end{macrodesc}
13331336

13341337
\begin{macrodesc}{seepep}{\p{number}\p{title}\p{why}}

0 commit comments

Comments
 (0)