diff options
author | wlemb <wlemb> | 2001-12-22 23:45:44 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-12-22 23:45:44 +0000 |
commit | a412bc099a209f461ea3b5e9d6847383da7f9afd (patch) | |
tree | a0d6b05f1b0619093008d56cf4f9a9c558d2360b /man | |
parent | d32ee60d7e7aba695a0ee5adee3ee9f28e5d5866 (diff) | |
download | groff-a412bc099a209f461ea3b5e9d6847383da7f9afd.tar.gz |
Adding an `itc' request (input line trap accepting \c).
* src/roff/troff/env.h (environment): New member
`continued_input_trap'.
Make `do_input_trap' a friend function instead of `input_trap'.
* src/roff/troff/env.cc (environment::environment,
environment::copy): Updated.
(environment::newline): Implement it.
(do_input_trap): New function.
(input_trap): Call `do_input_trap'.
(input_trap_continued): New function.
(init_env_requests): Updated.
* src/roff/troff/TODO: Updated.
* tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
`.it'.
* src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
Diffstat (limited to 'man')
-rw-r--r-- | man/groff.man | 12 | ||||
-rw-r--r-- | man/groff_diff.man | 8 |
2 files changed, 18 insertions, 2 deletions
diff --git a/man/groff.man b/man/groff.man index b845985a..1c969999 100644 --- a/man/groff.man +++ b/man/groff.man @@ -1313,8 +1313,16 @@ Change indent according to .scaleindicator m ). . .REQ .it N trap -Set an input-line count trap at position -.argument N . +Set an input-line count trap for the next +.argument N +lines. +. +.REQ .itc N trap +Same as +.request .it +but count lines interrupted with +.esc c +as one line. . .REQ .kern Enable pairwise kerning. diff --git a/man/groff_diff.man b/man/groff_diff.man index 644639e1..8c7df80c 100644 --- a/man/groff_diff.man +++ b/man/groff_diff.man @@ -1264,6 +1264,14 @@ The current hyphenation space is available in the register. . .TP +.BI .itc\ n\ macro +Variant of +.B .it +for which a line interrupted with +.B \ec +counts as one input line. +. +.TP .BI .kern\ n If .I n |