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 | 497337adb4cbff663bffd46a9081e56a5ae7874e (patch) | |
tree | df13807a3827ad67bfd2f574b5e880b584d0691e /mdoc_validate.c | |
parent | 1146ced33c4a59a115f352a3cd7c07344c04e746 (diff) | |
download | mandoc-497337adb4cbff663bffd46a9081e56a5ae7874e.tar.gz |
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_validate.c')
-rw-r--r-- | mdoc_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c index 6aaddaa8..c8596140 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -802,7 +802,7 @@ pre_bd(PRE_ARGS) switch (argv->arg) { case MDOC_Centred: - dt = DISP_centred; + dt = DISP_centered; break; case MDOC_Ragged: dt = DISP_ragged; |