summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-08-13 20:34:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-08-13 20:34:29 +0000
commitc723dfca801f93364fefe102f1daa270ad740d4f (patch)
tree1dcdbec09fc85e3b795b25697473b85609220b81 /roff.7
parentad2b1e6bad9b1abd3a86026b76e5fb100aaca2e4 (diff)
downloadmandoc-c723dfca801f93364fefe102f1daa270ad740d4f.tar.gz
Begin cleaning up scaling units.
Start with the horizontal terminal specifiers, making sure that they match up with troff. Then move on to PS, PDF, and HTML, noting that we stick to the terminal default width for "u". Lastly, fix some completely-wrong documentation and note that we diverge from troff w/r/t "u".
Diffstat (limited to 'roff.7')
-rw-r--r--roff.712
1 files changed, 9 insertions, 3 deletions
diff --git a/roff.7 b/roff.7
index 4ca48a98..03c1aad2 100644
--- a/roff.7
+++ b/roff.7
@@ -239,8 +239,9 @@ pica (~1/6 inch)
.It p
point (~1/72 inch)
.It f
-synonym for
+scale
.Sq u
+by 65536
.It v
default vertical span
.It m
@@ -254,7 +255,7 @@ width of rendered
.Pq en
character
.It u
-default horizontal span
+default horizontal span for the terminal
.It M
mini-em (~1/100 em)
.El
@@ -262,7 +263,6 @@ mini-em (~1/100 em)
Using anything other than
.Sq m ,
.Sq n ,
-.Sq u ,
or
.Sq v
is necessarily non-portable across output media.
@@ -1348,6 +1348,12 @@ refers to groff version 1.15.
.Pp
.Bl -dash -compact
.It
+The
+.Sq u
+scaling unit is the default terminal unit.
+In traditional troff systems, this unit would change depending on the
+output media.
+.It
In mandoc, the
.Sx \&EQ ,
.Sx \&TE ,