diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-06 11:07:21 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-07-06 11:07:21 +0000 |
commit | b69b9fd58611283cb941da0f7c4800196b97bf83 (patch) | |
tree | 49d4f68789505b16b04b6ab4ea34c2bb3d420c47 | |
parent | 3cfe4b950fb9e5cbd05852810b1bc337087a8d8a (diff) | |
download | mandoc-b69b9fd58611283cb941da0f7c4800196b97bf83.tar.gz |
Clarified `Bk' operation in mdoc.7.
-rw-r--r-- | mdoc.7 | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1178,27 +1178,29 @@ See also and .Sx \&Sy . .Ss \&Bk -Begins a keep block, containing a collection of macros or text -to be kept together in the output. +Begins a collection of macros or text not breaking the line. Its syntax is as follows: .Pp .D1 Pf \. Sx \&Bk Fl words .Pp -Currently, the only argument implemented is -.Fl words , -requesting to keep together all words of the contained text -on the same output line. Subsequent arguments are ignored. +The +.Fl words +argument is required. .Pp -Examples: +Each line within a keep block is kept intact, so the following example +will not break within each +.Sx \&Op +macro line: .Bd -literal -offset indent \&.Bk \-words -\&.Op o Ar output_file +\&.Op Fl f Ar flags +\&.Op Fl o Ar output \&.Ek .Ed .Pp -See also -.Sx \&Ek . +Be careful in using over-long lines within a keep block! +Doing so will clobber the right margin. .Ss \&Bl Begins a list composed of one or more list entries. Its syntax is as follows: |