From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Add example of comments in man.7 and mdoc.7.
Date: Wed, 17 Aug 2011 18:20:14 -0400 (EDT) [thread overview]
Message-ID: <201108172220.p7HMKEW3031808@krisdoz.my.domain> (raw)
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
reply other threads:[~2011-08-17 22:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201108172220.p7HMKEW3031808@krisdoz.my.domain \
--to=kristaps@mdocml.bsd.lv \
--cc=source@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).