From b2d098b772c4b976ea90943ea909bd2e5f294f56 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 9 Jan 2011 16:09:42 +0000 Subject: Only .Bd -literal has 8-character tabs, while .Bd -unfilled has 5-character tabs just like normal text; from kristaps@. --- regress/usr.bin/mandoc/char/space/tab.in | 21 +++++++++++++++++++++ regress/usr.bin/mandoc/char/space/tab.out_ascii | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) (limited to 'regress') diff --git a/regress/usr.bin/mandoc/char/space/tab.in b/regress/usr.bin/mandoc/char/space/tab.in index 6bf6335853d..ef123bf4503 100644 --- a/regress/usr.bin/mandoc/char/space/tab.in +++ b/regress/usr.bin/mandoc/char/space/tab.in @@ -81,6 +81,27 @@ space tab .br tab .Ed +unfilled display +.Bd -unfilled -offset 2n +1 x +22 x +333 x +4444 x +55555 x +666666 x +7777777 x +88888888 x +999999999 x +aaaaaaaaaa x +bbbbbbbbbbb x +cccccccccccc x +ddddddddddddd x +tab space +tab tab +space tab + tab + tab +.Ed literal display .Bd -literal -offset 2n 1 x diff --git a/regress/usr.bin/mandoc/char/space/tab.out_ascii b/regress/usr.bin/mandoc/char/space/tab.out_ascii index f7c32968ea6..a930bd76900 100644 --- a/regress/usr.bin/mandoc/char/space/tab.out_ascii +++ b/regress/usr.bin/mandoc/char/space/tab.out_ascii @@ -25,6 +25,26 @@ DDEESSCCRRIIPPTTIIOONN tab ragged display + 1 x + 22 x + 333 x + 4444 x + 55555 x + 666666 x + 7777777 x + 88888888 x + 999999999 x + aaaaaaaaaa x + bbbbbbbbbbb x + cccccccccccc x + ddddddddddddd x + tab space + tab tab + space tab + tab + tab + unfilled display + 1 x 22 x 333 x -- cgit v1.2.3