aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-11-25 19:24:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-11-25 19:24:20 +0000
commite30a05d61589276c015f65e4ac75df70040c3808 (patch)
treecd0e6ceb3acaf39d7cd2796c21ac8750850a8e15 /mandoc.h
parent06e66f94d3ea6bc0665d39bb5f02c2acb54c0cc1 (diff)
downloadmandoc-e30a05d61589276c015f65e4ac75df70040c3808.tar.gz
mandoc-e30a05d61589276c015f65e4ac75df70040c3808.tar.zst
mandoc-e30a05d61589276c015f65e4ac75df70040c3808.zip
In tbl(7) -T html output,
span cells horizontally and vertically as requested by the layout. Does not handle spans requested in the data section yet. To be able to do this, record the number of rows spanned in the first data cell (struct tbl_dat) of a vertical span. Missing feature reported by Pali dot Rohar at gmail dot com.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 4adb200b..081d8f8d 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.254 2018/10/25 01:32:40 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.255 2018/11/25 19:24:20 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -320,7 +320,8 @@ struct tbl_dat {
struct tbl_cell *layout; /* layout cell */
struct tbl_dat *next;
char *string; /* data (NULL if not TBL_DATA_DATA) */
- int spans; /* how many spans follow */
+ int hspans; /* how many horizontal spans follow */
+ int vspans; /* how many vertical spans follow */
int block; /* T{ text block T} */
enum tbl_datt pos;
};