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 | 0e3a34d005ada7fe44f2109d7f478eaa1cdebbfe (patch) | |
tree | 2e8e1f3cf1585fa4eaab2be244554b6e5b1c446e | |
parent | 69aa51d6949e1d3de01c2ea5805b786fa4d2822e (diff) | |
download | mandoc-0e3a34d005ada7fe44f2109d7f478eaa1cdebbfe.tar.gz mandoc-0e3a34d005ada7fe44f2109d7f478eaa1cdebbfe.tar.zst mandoc-0e3a34d005ada7fe44f2109d7f478eaa1cdebbfe.zip |
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 | 17 | ||||
-rw-r--r-- | man_term.c | 16 |
2 files changed, 14 insertions, 19 deletions
@@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.50 2009/11/12 05:50:12 kristaps Exp $ +.\" $Id: man.7,v 1.51 2009/11/12 08:00:21 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -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 @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.52 2009/11/12 05:50:12 kristaps Exp $ */ +/* $Id: man_term.c,v 1.53 2009/11/12 08:00:21 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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) { |