diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-07 00:21:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-07 00:21:53 +0000 |
commit | e13eaef731c921e8230fb25465559ac5145a9500 (patch) | |
tree | 2aba2c608fc721db5e2d129f3b71331282011eba | |
parent | 7efdd523df89a52dfe9b30c162bab842bb81840d (diff) | |
download | mandoc-e13eaef731c921e8230fb25465559ac5145a9500.tar.gz |
Parse and ignore the .pl (page length) request;
Daniel Levai reports that Slackware Linux uses this.
-rw-r--r-- | roff.7 | 5 | ||||
-rw-r--r-- | roff.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -935,6 +935,11 @@ Turn on no-space mode. This line-scoped request is intended to take no arguments. Currently, it is ignored including its arguments, and the number of arguments is not checked. +.Ss \&pl +Change page length. +This line-scoped request is intended to take one height argument. +Currently, it is ignored including its arguments, +and the number of arguments is not checked. .Ss \&ps Change point size. This line-scoped request is intended to take one numerical argument. @@ -60,6 +60,7 @@ enum rofft { ROFF_nh, ROFF_nr, ROFF_ns, + ROFF_pl, ROFF_ps, ROFF_rm, ROFF_rr, @@ -256,6 +257,7 @@ static struct roffmac roffs[ROFF_MAX] = { { "nh", roff_line_ignore, NULL, NULL, 0, NULL }, { "nr", roff_nr, NULL, NULL, 0, NULL }, { "ns", roff_line_ignore, NULL, NULL, 0, NULL }, + { "pl", roff_line_ignore, NULL, NULL, 0, NULL }, { "ps", roff_line_ignore, NULL, NULL, 0, NULL }, { "rm", roff_rm, NULL, NULL, 0, NULL }, { "rr", roff_rr, NULL, NULL, 0, NULL }, |