aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitbafbe43e726d9ae496298a955d858961da9e8ba4 (patch)
tree4fe5bcd60931d948647fc4ccaaaf881845e51b33 /roff.7
parent08b7f86267663883d71e98c502652ec334c232bc (diff)
downloadmandoc-bafbe43e726d9ae496298a955d858961da9e8ba4.tar.gz
mandoc-bafbe43e726d9ae496298a955d858961da9e8ba4.tar.zst
mandoc-bafbe43e726d9ae496298a955d858961da9e8ba4.zip
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.716
1 files changed, 11 insertions, 5 deletions
diff --git a/roff.7 b/roff.7
index bc2f24e4..db2ea324 100644
--- a/roff.7
+++ b/roff.7
@@ -1,4 +1,4 @@
-.\" $Id: roff.7,v 1.55 2014/07/07 11:35:06 schwarze Exp $
+.\" $Id: roff.7,v 1.56 2014/08/13 20:34:29 kristaps Exp $
.\"
.\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2010, 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 7 2014 $
+.Dd $Mdocdate: August 13 2014 $
.Dt ROFF 7
.Os
.Sh NAME
@@ -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 ,