aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 17:51:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 17:51:15 +0000
commitd687586337f23b878d3678fc908d2c30b540a058 (patch)
tree4690c1992cd85292996a523727c3307ab8f10c45 /regress/mdoc
parent98b1f2affc51ab2505cc48390d8ea926eaac9e03 (diff)
downloadmandoc-d687586337f23b878d3678fc908d2c30b540a058.tar.gz
mandoc-d687586337f23b878d3678fc908d2c30b540a058.tar.zst
mandoc-d687586337f23b878d3678fc908d2c30b540a058.zip
improve rounding rules for scaling units
in horizontal orientation in the terminal formatter
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/Bd/offset-neg.in4
-rw-r--r--regress/mdoc/Bl/offset.in8
-rw-r--r--regress/mdoc/Bl/offset.out_ascii4
-rw-r--r--regress/mdoc/Bl/offset.out_markdown4
-rw-r--r--regress/mdoc/Bl/tag.in4
5 files changed, 12 insertions, 12 deletions
diff --git a/regress/mdoc/Bd/offset-neg.in b/regress/mdoc/Bd/offset-neg.in
index 30f0fe73..f1d0a2a1 100644
--- a/regress/mdoc/Bd/offset-neg.in
+++ b/regress/mdoc/Bd/offset-neg.in
@@ -6,9 +6,9 @@
.Nd indenting display blocks
.Sh DESCRIPTION
regular text
-.Bd -ragged -offset 8n
+.Bd -ragged -offset 0.76i
outer display
-.Bd -ragged -offset -5n
+.Bd -ragged -offset -0.46i
inner display
.Ed
outer display
diff --git a/regress/mdoc/Bl/offset.in b/regress/mdoc/Bl/offset.in
index 9564b105..923dd68f 100644
--- a/regress/mdoc/Bl/offset.in
+++ b/regress/mdoc/Bl/offset.in
@@ -57,9 +57,9 @@ Bl tag width Ds offset indent
.It tag
Bl tag width Ds offset indent-two
.El
-.Bl -tag -width Ds -offset 4n
+.Bl -tag -width Ds -offset 0.36i
.It tag
-Bl tag width Ds offset 4n
+Bl tag width Ds offset 0.36i
.El
.Bl -tag -width Ds -offset mystring
.It tag
@@ -73,7 +73,7 @@ Bl tag width Ds offset Ds
.It tag
Bl tag width Ds offset 78n
.El
-.Bl -tag -width Ds -offset -3n
+.Bl -tag -width Ds -offset -0.26i
.It tag
-Bl tag width Ds offset -3n
+Bl tag width Ds offset -0.26i
.El
diff --git a/regress/mdoc/Bl/offset.out_ascii b/regress/mdoc/Bl/offset.out_ascii
index 8c871d44..22474aa5 100644
--- a/regress/mdoc/Bl/offset.out_ascii
+++ b/regress/mdoc/Bl/offset.out_ascii
@@ -33,7 +33,7 @@ DDEESSCCRRIIPPTTIIOONN
tag Bl tag width Ds offset indent-two
- tag Bl tag width Ds offset 4n
+ tag Bl tag width Ds offset 0.36i
tag Bl tag width Ds offset mystring
@@ -46,6 +46,6 @@ DDEESSCCRRIIPPTTIIOONN
offset
78n
- tag Bl tag width Ds offset -3n
+ tag Bl tag width Ds offset -0.26i
OpenBSD December 25, 2014 OpenBSD
diff --git a/regress/mdoc/Bl/offset.out_markdown b/regress/mdoc/Bl/offset.out_markdown
index 807950be..a58ce6bc 100644
--- a/regress/mdoc/Bl/offset.out_markdown
+++ b/regress/mdoc/Bl/offset.out_markdown
@@ -42,7 +42,7 @@ tag
tag
-> Bl tag width Ds offset 4n
+> Bl tag width Ds offset 0.36i
tag
@@ -58,6 +58,6 @@ tag
tag
-> Bl tag width Ds offset -3n
+> Bl tag width Ds offset -0.26i
OpenBSD - December 25, 2014
diff --git a/regress/mdoc/Bl/tag.in b/regress/mdoc/Bl/tag.in
index 49cc903e..c7b99822 100644
--- a/regress/mdoc/Bl/tag.in
+++ b/regress/mdoc/Bl/tag.in
@@ -9,7 +9,7 @@
.It tag
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.El
-.Bl -tag -width -3n
+.Bl -tag -width -0.26i
.It tag
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.El
@@ -53,7 +53,7 @@ x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.It quint
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.El
-.Bl -tag -width 5n
+.Bl -tag -width 0.46i
.It indent
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x
.El