aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-29 13:58:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-29 13:58:18 +0000
commitdbf0764647f6b56bbb229562292e5a01705778af (patch)
tree05de7efb36208710968732fad5d2c15f6949e99a /mdoc.h
parent09d8ae540417e00bfa6ee4c17de85c9f9d89a570 (diff)
downloadmandoc-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc.h b/mdoc.h
index 6b63b4e7..58ad8131 100644
--- a/mdoc.h
+++ b/mdoc.h
@@ -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 */