* mdocml: Add example of comments in man.7 and mdoc.7.
@ 2011-08-17 22:20 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-08-17 22:20 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-17 22:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-17 22:20 mdocml: Add example of comments in man.7 and mdoc.7 kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).