From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o5RDUqJE010472 for ; Sun, 27 Jun 2010 09:30:52 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id o5RDUpOD014092; Sun, 27 Jun 2010 09:30:51 -0400 (EDT) Date: Sun, 27 Jun 2010 09:30:51 -0400 (EDT) Message-Id: <201006271330.o5RDUpOD014092@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Document .Bk and .Ek; reminded by kristaps@. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Document .Bk and .Ek; reminded by kristaps@. Modified Files: -------------- mdocml: mdoc.7 Revision Data ------------- Index: mdoc.7 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.7,v retrieving revision 1.126 retrieving revision 1.127 diff -Lmdoc.7 -Lmdoc.7 -u -p -r1.126 -r1.127 --- mdoc.7 +++ mdoc.7 @@ -1116,6 +1116,25 @@ and .Sx \&Dl . .Ss \&Bf .Ss \&Bk +Begins a keep block, containing a collection of macros or text +to be kept together in the output. +One argument is required; additional arguments are ignored. +Currently, the only argument implemented is +.Fl words , +requesting to keep together all words of the contained text +on the same output line. +A +.Fl lines +argument to keep together all lines of the contained text +on the same page has been desired for a long time, +but has never been implemented. +.Pp +Examples: +.Bd -literal -offset indent +\&.Bk \-words +\&.Op o Ar output_file +\&.Ek +.Ed .Ss \&Bl Begins a list composed of one or more list entries. A list is associated with a type, which is a required argument. @@ -1589,6 +1608,8 @@ and .Ss \&Ed .Ss \&Ef .Ss \&Ek +Ends a keep context started by +.Sx \&Bk . .Ss \&El Ends a list context started by .Sx \&Bl . -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv