=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.270 retrieving revision 1.273 diff -u -p -r1.270 -r1.273 --- mandoc/mdoc.7 2017/10/23 13:54:41 1.270 +++ mandoc/mdoc.7 2018/12/23 16:55:34 1.273 @@ -1,7 +1,7 @@ -.\" $Id: mdoc.7,v 1.270 2017/10/23 13:54:41 schwarze Exp $ +.\" $Id: mdoc.7,v 1.273 2018/12/23 16:55:34 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons -.\" Copyright (c) 2010, 2011, 2013-2017 Ingo Schwarze +.\" Copyright (c) 2010, 2011, 2013-2018 Ingo Schwarze .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 23 2017 $ +.Dd $Mdocdate: December 23 2018 $ .Dt MDOC 7 .Os .Sh NAME @@ -449,7 +449,7 @@ in the alphabetical .It Sx \&Ss Ta subsection header (one line) .It Sx \&Sx Ta internal cross reference to a section or subsection .It Sx \&Xr Ta cross reference to another manual page: Ar name section -.It Sx \&Pp , \&Lp Ta start a text paragraph (no arguments) +.It Sx \&Pp Ta start a text paragraph (no arguments) .El .Ss Displays and lists .Bl -column "Brq, Bro, Brc" description @@ -522,7 +522,6 @@ in the alphabetical .Bl -column "Brq, Bro, Brc" description .It Sx \&Em Ta italic font or underline (emphasis) (>0 arguments) .It Sx \&Sy Ta boldface font (symbolic) (>0 arguments) -.It Sx \&Li Ta typewriter font (literal) (>0 arguments) .It Sx \&No Ta return to roman font (normal) (no arguments) .It Sx \&Bf , \&Ef Ta font block: .Op Fl Ar type | Cm \&Em | \&Li | \&Sy @@ -1234,7 +1233,7 @@ The .Ar month is the full English month name, the .Ar day -is an optionally zero-padded numeral, and the +is an integer number, and the .Ar year is the full four-digit year. .Pp @@ -1264,8 +1263,8 @@ If no date string is given, the current date is used. .Pp Examples: .Dl \&.Dd $\&Mdocdate$ -.Dl \&.Dd $\&Mdocdate: July 21 2007$ -.Dl \&.Dd July 21, 2007 +.Dl \&.Dd $\&Mdocdate: July 2 2018$ +.Dl \&.Dd July 2, 2018 .Pp See also .Sx \&Dt @@ -1474,9 +1473,8 @@ to save the pattern space for subsequent retrieval. .Ed .Pp See also -.Sx \&Bf , -.Sx \&Li , .Sx \&No , +.Sx \&Ql , and .Sx \&Sy . .Ss \&En @@ -1776,12 +1774,13 @@ Examples: .Dl \&.Ic alias .Pp Note that using -.Sx \&Bd Fl literal +.Sx \&Ql , +.Sx \&Dl , or -.Sx \&D1 -is preferred for displaying code; the +.Sx \&Bd Fl literal +is preferred for displaying code samples; the .Sx \&Ic -macro is used when referring to specific instructions. +macro is used when referring to an individual command name. .Ss \&In The name of an include file. This macro is most often used in section 2, 3, and 9 manual pages. @@ -1915,21 +1914,15 @@ Examples: .Dl \&.Lb libz .Dl \&.Lb libmandoc .Ss \&Li -Denotes text that should be in a -.Li literal -font mode. -Note that this is a presentation term and should not be used for -stylistically decorating technical terms. -.Pp -On terminal output devices, this is often indistinguishable from -normal text. -.Pp -See also -.Sx \&Bf , -.Sx \&Em , -.Sx \&No , -and -.Sx \&Sy . +Request a typewriter (literal) font. +Deprecated because on terminal output devices, this is usually +indistinguishable from normal text. +For literal displays, use +.Sx \&Ql Pq in-line , +.Sx \&Dl Pq single line , +or +.Sx \&Bd Fl literal Pq multi-line +instead. .Ss \&Lk Format a hyperlink. Its syntax is as follows: @@ -1943,7 +1936,7 @@ Examples: See also .Sx \&Mt . .Ss \&Lp -Synonym for +Deprecated synonym for .Sx \&Pp . .Ss \&Ms Display a mathematical symbol. @@ -2046,7 +2039,7 @@ Examples: .Pp See also .Sx \&Em , -.Sx \&Li , +.Sx \&Ql , and .Sx \&Sy . .Ss \&Ns @@ -2244,14 +2237,8 @@ Close quoted context opened by .Sx \&Qo . .Ss \&Ql In-line literal display. -This can for example be used for complete command invocations and -for multi-word code fragments when more specific markup is not -appropriate and an indented display is not desired. -While -.Xr mandoc 1 -always encloses the arguments in single quotes, other formatters -usually omit the quotes on non-terminal output devices when the -arguments have three or more characters. +This can be used for complete command invocations and for multi-word +code examples when an indented display is not desired. .Pp See also .Sx \&Dl @@ -2655,11 +2642,10 @@ program. .Ed .Pp See also -.Sx \&Bf , .Sx \&Em , -.Sx \&Li , +.Sx \&No , and -.Sx \&No . +.Sx \&Ql . .Ss \&Ta Table cell separator in .Sx \&Bl Fl column