From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (kristaps@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p7HMKESO023275 for ; Wed, 17 Aug 2011 18:20:14 -0400 (EDT) Received: (from kristaps@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p7HMKEW3031808; Wed, 17 Aug 2011 18:20:14 -0400 (EDT) Date: Wed, 17 Aug 2011 18:20:14 -0400 (EDT) Message-Id: <201108172220.p7HMKEW3031808@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: kristaps@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Add example of comments in man.7 and mdoc.7. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Add example of comments in man.7 and mdoc.7. Modified Files: -------------- mdocml: man.7 mdoc.7 Revision Data ------------- Index: man.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man.7,v retrieving revision 1.103 retrieving revision 1.104 diff -Lman.7 -Lman.7 -u -p -r1.103 -r1.104 --- man.7 +++ man.7 @@ -72,6 +72,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. Index: mdoc.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.7,v retrieving revision 1.200 retrieving revision 1.201 diff -Lmdoc.7 -Lmdoc.7 -u -p -r1.200 -r1.201 --- mdoc.7 +++ mdoc.7 @@ -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. -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv