]> git.cameronkatri.com Git - mandoc.git/commit
Partial implementation of .Bd -centered.
authorIngo Schwarze <schwarze@openbsd.org>
Tue, 29 Jul 2014 13:58:18 +0000 (13:58 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Tue, 29 Jul 2014 13:58:18 +0000 (13:58 +0000)
commitdbf0764647f6b56bbb229562292e5a01705778af
tree05de7efb36208710968732fad5d2c15f6949e99a
parent09d8ae540417e00bfa6ee4c17de85c9f9d89a570
Partial implementation of .Bd -centered.

In groff, .Bd -centered operates in fill mode, which is relatively
hard to implement, while this implementation operates in non-fill
mode so far.  As long as you pay attention that your lines do not
overflow, it works.  To make sure that rendering is the same for
mandoc and groff, it is recommended to insert .br between lines
for now.  This implementation will need improvement later.
mdoc.h
mdoc_term.c
mdoc_validate.c