From df368ee6242dba2f2ef0fb526f526641e28ed20e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 17 Aug 2011 22:20:14 +0000 Subject: Add example of comments in man.7 and mdoc.7. --- mdoc.7 | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index f29599f8..48484224 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.200 2011/08/17 20:34:53 kristaps Exp $ +.\" $Id: mdoc.7,v 1.201 2011/08/17 22:20:14 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -73,6 +73,14 @@ Furthermore, macro lines with only a control character and optional trailing whitespace are stripped from input. +.Pp +Examples: +.Bd -literal -offset indent -compact +\&.\e\*q This is a comment line. +\&.\e\*q The next line is ignored: +\&. +\&.Em Emphasis \e\*q This is also a comment. +.Ed .Ss Special Characters Special characters are used to encode special glyphs and are rendered differently across output media. @@ -260,9 +268,9 @@ Examples: .It \&.Bl -tag -width 2i two-inch tagged list indentation .Pq see Sx \&Bl -.It \&.br 2v +.It \&.sp 2v two vertical spaces -.Pq see Sx \&br +.Pq see Sx \&sp .El .Ss Sentence Spacing Sentences should terminate at the end of an input line. -- cgit v1.2.3-56-ge451