summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-10-13 23:31:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-10-13 23:31:27 +0000
commit80c3fc838bdb1ca41787522a0ba49e505540dc74 (patch)
tree1b37f6c6e2e49454dcace3fb8dedacb77e570918 /regress
parent7c78f5661149cfc254c11609aeee43567985506a (diff)
implement font modifiers in table layouts
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/tbl/Makefile4
-rw-r--r--regress/usr.bin/mandoc/tbl/fonts.in14
-rw-r--r--regress/usr.bin/mandoc/tbl/fonts.out_ascii19
3 files changed, 35 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/tbl/Makefile b/regress/usr.bin/mandoc/tbl/Makefile
index 872c90cd8d8..ce88001b7c0 100644
--- a/regress/usr.bin/mandoc/tbl/Makefile
+++ b/regress/usr.bin/mandoc/tbl/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.3 2014/08/14 01:58:51 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2014/10/13 23:31:26 schwarze Exp $
-REGRESS_TARGETS = center numbers span vert
+REGRESS_TARGETS = center fonts numbers span vert
SKIP_TMAN ?= ALL
TBL = /usr/local/bin/tbl
diff --git a/regress/usr.bin/mandoc/tbl/fonts.in b/regress/usr.bin/mandoc/tbl/fonts.in
new file mode 100644
index 00000000000..50984d815f3
--- /dev/null
+++ b/regress/usr.bin/mandoc/tbl/fonts.in
@@ -0,0 +1,14 @@
+.TH TBL-FONTS 1 2014-10-14 OpenBSD
+.SH NAME
+tbl-fonts \- font modifiers in table layouts
+.SH DESCRIPTION
+normal text
+.TS
+box tab(:);
+cb | c | ci
+cFI | c | cFB .
+bold:roman:italic
+_
+italic:roman:bold
+and:so:on
+.TE
diff --git a/regress/usr.bin/mandoc/tbl/fonts.out_ascii b/regress/usr.bin/mandoc/tbl/fonts.out_ascii
new file mode 100644
index 00000000000..092f1b1fd0b
--- /dev/null
+++ b/regress/usr.bin/mandoc/tbl/fonts.out_ascii
@@ -0,0 +1,19 @@
+TBL-FONTS(1) General Commands Manual TBL-FONTS(1)
+
+
+
+NNAAMMEE
+ tbl-fonts - font modifiers in table layouts
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text
+
+ +-------+-------+--------+
+ | bboolldd | roman | _i_t_a_l_i_c |
+ +-------+-------+--------+
+ |_i_t_a_l_i_c | roman | bboolldd |
+ | _a_n_d | so | oonn |
+ +-------+-------+--------+
+
+
+OpenBSD 2014-10-14 TBL-FONTS(1)