diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-23 20:18:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-01-23 20:18:40 +0000 |
commit | e2929ff626db08a8421c32b9c2709a9e4da8aada (patch) | |
tree | 6b8a791c1459a02cb7df88797e743a349308c0cb | |
parent | 6a5d7b3417c42d71e00a671bdca73c0a15c8368a (diff) | |
download | mandoc-e2929ff626db08a8421c32b9c2709a9e4da8aada.tar.gz mandoc-e2929ff626db08a8421c32b9c2709a9e4da8aada.tar.zst mandoc-e2929ff626db08a8421c32b9c2709a9e4da8aada.zip |
While ignoring the .ta (set tab stops) and .ti (temp indent) requests
is sometimes harmless, it often causes seriously ugly output,
so flag these requests as unsupported rather than ignoring them.
Discussed with naddy@.
-rw-r--r-- | roff.7 | 10 | ||||
-rw-r--r-- | roff.c | 8 |
2 files changed, 9 insertions, 9 deletions
@@ -1,4 +1,4 @@ -.\" $Id: roff.7,v 1.67 2015/01/23 00:42:00 schwarze Exp $ +.\" $Id: roff.7,v 1.68 2015/01/23 20:18:40 schwarze Exp $ .\" .\" Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010, 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -1439,7 +1439,7 @@ Retrieve the bounding box of a PostScript file. Currently unsupported. .Ss \&pshape Set a special shape for the current paragraph. -This is a Heirloom extension and currently ignored. +This is a Heirloom extension and currently unsupported. .Ss \&pso Include output of a shell command. Ignored because insecure. @@ -1572,7 +1572,7 @@ See .Ss \&ta Set tab stops. Takes an arbitrary number of arguments. -Currently ignored. +Currently unsupported. .Ss \&tc Change tab repetion character. Currently unsupported. @@ -1582,7 +1582,7 @@ See .Sx \&TS . .Ss \&ti Temporary indent. -Currently ignored. +Currently unsupported. .Ss \&tkf Enable track kerning for a font. Currently ignored. @@ -1720,7 +1720,7 @@ Each number may be followed by one optional scaling unit described below The following equations hold: .Bd -literal -offset indent 1i = 6v = 6P = 10m = 10n = 72p = 1000M = 240u = 240 -254c = 100i = 24000u = 24000 +254c = 100i = 24000u = 24000 1f = 65536u = 65536 .Ed .Pp @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.254 2015/01/23 00:42:00 schwarze Exp $ */ +/* $Id: roff.c,v 1.255 2015/01/23 20:18:40 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -608,7 +608,7 @@ static struct roffmac roffs[ROFF_MAX] = { { "po", roff_line_ignore, NULL, NULL, 0, NULL }, { "ps", roff_line_ignore, NULL, NULL, 0, NULL }, { "psbb", roff_unsupp, NULL, NULL, 0, NULL }, - { "pshape", roff_line_ignore, NULL, NULL, 0, NULL }, + { "pshape", roff_unsupp, NULL, NULL, 0, NULL }, { "pso", roff_insec, NULL, NULL, 0, NULL }, { "ptr", roff_line_ignore, NULL, NULL, 0, NULL }, { "pvs", roff_line_ignore, NULL, NULL, 0, NULL }, @@ -640,11 +640,11 @@ static struct roffmac roffs[ROFF_MAX] = { { "sv", roff_line_ignore, NULL, NULL, 0, NULL }, { "sy", roff_insec, NULL, NULL, 0, NULL }, { "T&", roff_T_, NULL, NULL, 0, NULL }, - { "ta", roff_line_ignore, NULL, NULL, 0, NULL }, + { "ta", roff_unsupp, NULL, NULL, 0, NULL }, { "tc", roff_unsupp, NULL, NULL, 0, NULL }, { "TE", roff_TE, NULL, NULL, 0, NULL }, { "TH", roff_TH, NULL, NULL, 0, NULL }, - { "ti", roff_line_ignore, NULL, NULL, 0, NULL }, + { "ti", roff_unsupp, NULL, NULL, 0, NULL }, { "tkf", roff_line_ignore, NULL, NULL, 0, NULL }, { "tl", roff_unsupp, NULL, NULL, 0, NULL }, { "tm", roff_line_ignore, NULL, NULL, 0, NULL }, |