diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-12 08:00:21 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-12 08:00:21 +0000 |
commit | 8f5752d2fe1a20c227cf2afa8c9253a374b6d0b2 (patch) | |
tree | 0607f2e314e30e34754a48ca52eee05fdf91ffd1 | |
parent | eca9b44deb6e6fe964847567a5437b3a46dd2635 (diff) | |
download | mandoc-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.7 | 15 | ||||
-rw-r--r-- | man_term.c | 14 |
2 files changed, 12 insertions, 17 deletions
@@ -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 @@ -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) { |