From c42a1d3d6168df56f966ea1f3ba3ef39ebbff4e4 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 21 Feb 2006 18:37:05 +0000 Subject: add --- tmac/tmac.html | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tmac/tmac.s | 71 +++++++++++++++++++++++++++++++++++++++++-- tmac/tmac.skeep | 2 ++ 3 files changed, 165 insertions(+), 2 deletions(-) create mode 100644 tmac/tmac.html (limited to 'tmac') diff --git a/tmac/tmac.html b/tmac/tmac.html new file mode 100644 index 00000000..d03381e7 --- /dev/null +++ b/tmac/tmac.html @@ -0,0 +1,94 @@ +.de HTML +\! \ +\! \ +.html html +.html head +.if !'\\$1'' .html title \\$1 +.HEAD +.html head +.html body +.. +.de FSFIRST +.de NOTES xx +._NOTES +.rm _NOTES +xx +.em NOTES +.da _NOTES +.sp +.B "Notes +.sp +.da +.. +.de FS +.FSFIRST +.rm FSFIRST +.da _NOTES +.. +.de FE +.sp +.da +.. +.nr png -1 1 +.de TS +.ds pngbase "\\*[basename] +.if '\\*[pngbase]'' .ds pngbase \\n(.B +.ds pngfile \\*[pngbase]\\n+[png].png +.html -
+.\" The .inputpipe must be the last line of the macro! +.inputpipe .TE troff2png >\\*[pngfile] +.. +.de TE +.. +.de PS +.ds pngbase "\\*[basename] +.if '\\*[pngbase]'' .ds pngbase \\n(.B +.ds pngfile \\*[pngbase]\\n+[png].png +.html -
+.inputpipe .PE troff2png >\\*[pngfile] +.. +.de PE +.. +.de B1 +.margin 0 +.nr TW 10 +.nr TW1 80 +.if !'\\$1'' .nr TW \\$1 +.if !'\\$2'' .nr TW1 \\$2 +.html box \ +
\ +\ +\ + \ +\ + +.html box0 +.html box1 \ +\ + +.html box +.margin 1 +.. diff --git a/tmac/tmac.s b/tmac/tmac.s index 0183e2d9..c14de15d 100644 --- a/tmac/tmac.s +++ b/tmac/tmac.s @@ -308,9 +308,11 @@ .di WT .na .fi +.ie h .ll \\n(LLu +.el \{\ .ll 5.0i .if n .if \\n(TN .ll 29 -.if t .if \\n(TN .ll 3.5i +.if t .if \\n(TN .ll 3.5i \} .ft 3 .ps \\n(PS .if !\\n(TN \{\ @@ -318,6 +320,7 @@ . vs \\n(.s+2 . rm CS\} .hy 0 +.if h .ce 999 .. .de TX .rs @@ -358,6 +361,7 @@ . ft 3 . ll 16\}\} .ps \\n(PS +.if h .ce 999 .. .de AX .ft 1 @@ -503,6 +507,7 @@ ABSTRACT .ie \\n(VS>=41 .vs \\n(VSu .el .vs \\n(VSp .ti +\\n(PIu +.fi .. . \"AE - end of an abstract .de AE @@ -704,6 +709,14 @@ Computing Science Technical Report No. \\*(MN .if \\$1H .TQ .nr IX 1 .. +.if h \{\ +.de TS +.nr tp -1 1 +.ds tp x\\n+(tp.png +.html -
+.dp .TE troff2png >\\*(tp +.. +.\} .de TQ .di TT .nr IT 1 @@ -818,9 +831,18 @@ Computing Science Technical Report No. \\*(MN .in .if \\n($1>0 .sp .65 .. +.if h \{\ +.de PS +.nr tp -1 1 +.ds tp x\\n+(tp.png +.html -
+.dp .PE troff2png >\\*(tp +.. +.\} . \" .P1/.P2 macros for programs . .nr XP 1 \" delta point size for program +.if h .nr XP 0 .nr XV 1p \" delta vertical for programs .nr XT 8 \" delta tab stop for programs .nr DV .5v \" space before start of program @@ -832,10 +854,11 @@ Computing Science Technical Report No. \\*(MN .br .nr v \\n(.v .di p1 -.in \\n(P1u +.in +\\n(P1u .nf .ps -\\n(XP .vs -\\n(XVu +.nr xx \\n(.sp .ft CW .nr t \\n(XT*\\w'x'u .ta 1u*\\ntu 2u*\\ntu 3u*\\ntu 4u*\\ntu 5u*\\ntu 6u*\\ntu 7u*\\ntu 8u*\\ntu 9u*\\ntu 10u*\\ntu 11u*\\ntu 12u*\\ntu 13u*\\ntu 14u*\\ntu @@ -1565,6 +1588,50 @@ operating system\\$1 .if \\n(BQ .fi .br .. +.if h \{\ +.de B1 +.margin 0 +.nr TW 10 +.nr TW1 80 +.if !'\\$1'' .nr TW \\$1 +.if !'\\$2'' .nr TW1 \\$2 +.html pic \ +
\ +
\ + \ + \ + \ + \ +
\ + \ + \ + \ + \ +
+.. +.de B2 +.html box1 +.html box0
\ + \ + \ +
\ + \ + \ + \ + \ +
\ +\ + \ +\ + +.html pic0 +.html pic1 \ +\ + +.html pic \} +.margin 1 +.. +.\} .de AT .nf .sp diff --git a/tmac/tmac.skeep b/tmac/tmac.skeep index 40c712dc..63311c64 100644 --- a/tmac/tmac.skeep +++ b/tmac/tmac.skeep @@ -71,12 +71,14 @@ .in 0 .ls 1 .if \\n(TB=0 .ev +.if \\n(TB=0 .KX .if \\n(TB=0 .br .if \\n(TB=0 .ev 2 .if \\n(TB=0 .KK .ls .ce 0 .if \\n(TB=0 .rm KK +.if \\n(TB=0 .KY .if \\n(TB .da KJ .if \\n(TB \!.KD \\n(dn \\n(KV .if \\n(TB .KK -- cgit v1.2.3
\ + \ + \ + \ + \ +
\ + \ + \ + \ + \ +
\} +.. +.de B2 +.html pic1 +.html pic0
\ + \ + \ +
\ + \ + \ + \ + \ +