summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-12 08:00:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-12 08:00:21 +0000
commit8f5752d2fe1a20c227cf2afa8c9253a374b6d0b2 (patch)
tree0607f2e314e30e34754a48ca52eee05fdf91ffd1
parenteca9b44deb6e6fe964847567a5437b3a46dd2635 (diff)
downloadmandoc-8f5752d2fe1a20c227cf2afa8c9253a374b6d0b2.tar.gz
Deprecated ".i <notext>" support (nobody uses it -- it can be re-added, but adds a bit of complexity that I'd rather avoid).
-rw-r--r--man.715
-rw-r--r--man_term.c14
2 files changed, 12 insertions, 17 deletions
diff --git a/man.7 b/man.7
index 59060167..0130540e 100644
--- a/man.7
+++ b/man.7
@@ -925,8 +925,8 @@ End literal mode begun by
.
.
.Ss \&i
-Italicise arguments. If no arguments are specified, all subsequent text
-is italicised.
+Italicise arguments. Synonym for
+.Sx \&I .
.Pp
See also
.Sx \&B ,
@@ -982,14 +982,21 @@ See also
This section documents compatibility with other roff implementations, at
this time limited to
.Xr groff 1 .
-.Bl -hyphen
+.Pp
+.Bl -dash -compact
+.It
+The
+.Xr groff 1
+.Sx \&i
+macro will italicise all subsequent text if a line argument is not
+provided. This behaviour is not implemented.
.It
In quoted literals, groff allowed pair-wise double-quotes to produce a
standalone double-quote in formatted output. This idiosyncratic
behaviour is no longer applicable.
.It
The
-.Sq sp
+.Sx \&sp
macro does not accept negative numbers.
.It
Blocks of whitespace are stripped from both macro and free-form text
diff --git a/man_term.c b/man_term.c
index 6932c3fb..939bc049 100644
--- a/man_term.c
+++ b/man_term.c
@@ -104,7 +104,6 @@ static void post_RS(DECL_ARGS);
static void post_SH(DECL_ARGS);
static void post_SS(DECL_ARGS);
static void post_TP(DECL_ARGS);
-static void post_i(DECL_ARGS);
static const struct termact termacts[MAN_MAX] = {
{ pre_br, NULL }, /* br */
@@ -129,7 +128,7 @@ static const struct termact termacts[MAN_MAX] = {
{ pre_RI, NULL }, /* IR */
{ pre_RI, NULL }, /* RI */
{ NULL, NULL }, /* na */
- { pre_I, post_i }, /* i */
+ { pre_I, NULL }, /* i */
{ pre_sp, NULL }, /* sp */
{ pre_nf, NULL }, /* nf */
{ pre_fi, NULL }, /* fi */
@@ -244,17 +243,6 @@ pre_I(DECL_ARGS)
/* ARGSUSED */
-static void
-post_i(DECL_ARGS)
-{
-
- /* FIXME */
- /*if (n->nchild)
- p->under--;*/
-}
-
-
-/* ARGSUSED */
static int
pre_fi(DECL_ARGS)
{