diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-29 13:58:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-29 13:58:18 +0000 |
commit | dbf0764647f6b56bbb229562292e5a01705778af (patch) | |
tree | 05de7efb36208710968732fad5d2c15f6949e99a /mdoc.h | |
parent | 09d8ae540417e00bfa6ee4c17de85c9f9d89a570 (diff) | |
download | mandoc-dbf0764647f6b56bbb229562292e5a01705778af.tar.gz mandoc-dbf0764647f6b56bbb229562292e5a01705778af.tar.zst mandoc-dbf0764647f6b56bbb229562292e5a01705778af.zip |
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.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.130 2014/07/02 03:48:07 schwarze Exp $ */ +/* $Id: mdoc.h,v 1.131 2014/07/29 13:58:18 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -280,7 +280,7 @@ enum mdoc_list { enum mdoc_disp { DISP__NONE = 0, - DISP_centred, /* -centered */ + DISP_centered, /* -centered */ DISP_ragged, /* -ragged */ DISP_unfilled, /* -unfilled */ DISP_filled, /* -filled */ |