summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-12-22 23:45:44 +0000
committerwlemb <wlemb>2001-12-22 23:45:44 +0000
commita412bc099a209f461ea3b5e9d6847383da7f9afd (patch)
treea0d6b05f1b0619093008d56cf4f9a9c558d2360b /tmac/an-old.tmac
parentd32ee60d7e7aba695a0ee5adee3ee9f28e5d5866 (diff)
downloadgroff-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 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac14
1 files changed, 7 insertions, 7 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 357d88c3..e662eb51 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -250,7 +250,7 @@
. in \\n[an-margin]u
. ti 0
. HTML-TAG ".NH \\n[an-level]"
-. it 1 an-trap
+. itc 1 an-trap
. nr an-no-space-flag 1
. nr an-break-flag 1
. ps \\n[PS-SH]u
@@ -267,7 +267,7 @@
. fi
. in \\n[IN]u
. ti \\n[SN]u
-. it 1 an-trap
+. itc 1 an-trap
. nr an-no-space-flag 1
. nr an-break-flag 1
. ps \\n[PS-SS]u
@@ -277,25 +277,25 @@
..
.
.de1 B
-. it 1 an-trap
+. itc 1 an-trap
. ft B
. if \\n[.$] \&\\$*
..
.
.de1 I
-. it 1 an-trap
+. itc 1 an-trap
. ft I
. if \\n[.$] \&\\$*
..
.
.de1 SM
-. it 1 an-trap
+. itc 1 an-trap
. ps -1
. if \\n[.$] \&\\$*
..
.
.de1 SB
-. it 1 an-trap
+. itc 1 an-trap
. ps -1
. ft B
. if \\n[.$] \&\\$*
@@ -304,7 +304,7 @@
.de1 TP
. sp \\n[PD]u
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
-. it 1 an-trap
+. itc 1 an-trap
. if !\\n[an-div?] .di an-div
. ie \\n[an-html] .in \\n[an-margin]u
. el \{\