From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Cc: brad@comstyle.com
Subject: ignore .ps and .ns
Date: Sat, 22 Jan 2011 22:26:33 +0100 [thread overview]
Message-ID: <20110122212633.GG12520@iris.usta.de> (raw)
In-Reply-To: <201101151548.20037.brad@comstyle.com>
Hi,
Brad wrote on Sat, Jan 15, 2011 at 03:48:18PM -0500:
> mysql.1:1288:2: ERROR: skipping unknown macro: .ps +1
> mysql.1:1290:2: ERROR: skipping unknown macro: .ps -1
I think we can safely ignore these (point size).
While here, also ignore .ns (no-space mode) for now.
Implementing it is tedious, the macro is rare, and all that
goes wrong are one or two stray blank lines.
Of course, i will add short notes to roff(7).
OK?
Ingo
Index: roff.c
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/roff.c,v
retrieving revision 1.30
diff -u -r1.30 roff.c
--- roff.c 20 Jan 2011 21:33:11 -0000 1.30
+++ roff.c 22 Jan 2011 21:24:52 -0000
@@ -51,6 +51,8 @@
ROFF_ne,
ROFF_nh,
ROFF_nr,
+ ROFF_ns,
+ ROFF_ps,
ROFF_rm,
ROFF_so,
ROFF_tr,
@@ -173,6 +175,8 @@
{ "ne", roff_line_ignore, NULL, NULL, 0, NULL },
{ "nh", roff_line_ignore, NULL, NULL, 0, NULL },
{ "nr", roff_nr, NULL, NULL, 0, NULL },
+ { "ns", roff_line_ignore, NULL, NULL, 0, NULL },
+ { "ps", roff_line_ignore, NULL, NULL, 0, NULL },
{ "rm", roff_rm, NULL, NULL, 0, NULL },
{ "so", roff_so, NULL, NULL, 0, NULL },
{ "tr", roff_line_ignore, NULL, NULL, 0, NULL },
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
parent reply other threads:[~2011-01-22 21:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <201101151548.20037.brad@comstyle.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110122212633.GG12520@iris.usta.de \
--to=schwarze@usta.de \
--cc=brad@comstyle.com \
--cc=tech@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).