summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-18 11:14:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-18 11:14:04 +0000
commit45523d60760f6291fb81789a01f1bcf2b8e80a69 (patch)
tree436e47cd1423294a97ec07091d30c06e9001307c /mdoc_html.c
parent19f968cbad5c1bff96a4fcab046b25956485e6b2 (diff)
downloadmandoc-45523d60760f6291fb81789a01f1bcf2b8e80a69.tar.gz
mandoc-45523d60760f6291fb81789a01f1bcf2b8e80a69.tar.zst
mandoc-45523d60760f6291fb81789a01f1bcf2b8e80a69.zip
Added horizontal scaling units to -Tman -Tascii.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index c04280f2..0697d35d 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.30 2009/10/15 01:33:12 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.31 2009/10/18 11:14:04 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -343,6 +343,8 @@ static void
a2offs(const char *p, struct roffsu *su)
{
+ /* FIXME: "right"? */
+
if (0 == strcmp(p, "left"))
SCALE_HS_INIT(su, 0);
else if (0 == strcmp(p, "indent"))
@@ -1372,6 +1374,8 @@ mdoc_bd_pre(MDOC_ARGS)
break;
}
+ /* FIXME: -centered, etc. formatting. */
+
if (MDOC_BLOCK == n->type) {
bufcat_su(h, "margin-left", &su);
for (nn = n; nn && ! comp; nn = nn->parent) {