From eac651db10af11a0f7fcb90b50e62a5f4bbd38c0 Mon Sep 17 00:00:00 2001 From: Bill Joy Date: Mon, 17 Dec 1979 18:39:50 -0800 Subject: [PATCH] BSD 3 development Work on file usr/lib/me/tbl.me Work on file usr/lib/me/thesis.me Work on file usr/lib/me/revisions Synthesized-from: 3bsd --- usr/lib/me/revisions | 116 +++++++++++++++++++++++++++++++++++++++++++ usr/lib/me/tbl.me | 108 ++++++++++++++++++++++++++++++++++++++++ usr/lib/me/thesis.me | 18 +++++++ 3 files changed, 242 insertions(+) create mode 100644 usr/lib/me/revisions create mode 100644 usr/lib/me/tbl.me create mode 100644 usr/lib/me/thesis.me diff --git a/usr/lib/me/revisions b/usr/lib/me/revisions new file mode 100644 index 0000000000..c6b672c1e1 --- /dev/null +++ b/usr/lib/me/revisions @@ -0,0 +1,116 @@ +Mod 26 9 Nov 79 +-- Fixed footnote bug that caused the first line of footnotes + that were broken across a page to be indented. + +Mod 25 1 Oct 79 +-- Fixed footnote bug that caused footnotes invoked at the + top of pages to come out in bold font. +-- Fixed equation bug that caused equations at the top of + page to be improperly centered. + +Mod 24 27 Sep 79 +-- Changed delimiter in all \w's to " from ', to allow for + apostrophes in labels. +-- Increased footnote fudge factor. +-- Changed \x factor in \*[ & \*< to be one half previous value. + +Mod 23 24 Aug 79 +-- Changed .ip to start new line if the tag is too long for + the space provided. + +Mod 22 11 Jul 79 +-- Changed .ac to handle new paper (with second parameter + == "*"). + +Mod 21 24 Apr 79 +-- Changed \*[ and \*< to use \x -- to avoid line overlap. + +Mod 20 6 Apr 79 +-- Changed 12-pitch DTC terminals to still space 1/6 inch (instead + of 1/8 inch), unless the 'x' register is non-zero -- do-able with + the -rx1 option on the nroff command line. + +Mod 19 28 Mar 79 +-- Had .ep do a .rs, to avoid occasional problems (like with + .+c (again). +-- Added the 'X' register: if non-zero on startup on a 12-pitch + terminal, it outputs 6 LPI instead of 8 LPI. + +Mod 18 26 Mar 79 +-- Had .+c reset indent, to solve problems of prelim material + after a .ip (as with references) + +Mod 17 19 Mar 79 +-- Fixed a bug in .++ which caused it to renumber pages incorrectly, + the result of nroff starting a new page immediately upon reaching + the end of the previous page (damn!). + +Mod 16 8 Mar 79 +-- Fixed a bug in .++ which caused it to change page number formats + before forcing out the page. +-- Changed tmac.e so that extra '.so's to the package will next to + 'null.me'. +-- Changed .sh so that a title of "_" will cause section depth change + side-effects only (base indent will remain the same, and no output + will occur). + +Mod 15a 7 Mar 79 +-- Fixed a bug in Mod 15 which caused .ip's to fail. + +Mod 15 2 Mar 79 +-- Changed .@p to do paragraph indents normally in keeps, which + will override the indent parameter in keeps with paragraph + forms in them (use .ba to fix this). + +Mod 14 23 Feb 79 +-- Fixed .ip so it would hyphenate correctly. + +Mod 13 16 Feb 79 +-- Added .rs before eqn title output to fix vertical centering + problem. + +Mod 12 15 Feb 79 +-- Changed NROFF bold font to be regular .ul (.cu is a pain). +-- Changed .sh to output regular spaces instead of unpaddable + spaces. +-- Fixed bug in .1c with bad line length (didn't reset \n($l). + +Mod 11 13 Feb 79 +-- Added hook to .$c to call .$C (for index entries or whatever). + +Mod 10 12 Feb 79 +-- Had .xp print in current environment and not reset to single + spacing, to allow more control over output format. + +Mod 9 26 Dec 78 +-- Fixed yet another problem with equation spacing. + +Mod 8 18 Dec 78 +-- Fixed .@q to solve a problem with \n(dn getting lost on + equations at top of page. + +Mod 7 11 Dec 78 +-- Had .@q (equation output) move to end of equation after + equation output (eqn doesn't seem to space quite right). + +Mod 6 27 Nov 78 +-- Fixed the umlaut on DTC output to be prettier. + +Mod 5 5 Nov 78 +-- Fixed a bug with the second parameter to .ip. + +Mod 4 2 Nov 78 +-- Added .uh command (unnumbered heading). +-- Changed .$p and .sh accordingly. + +Mod 3 2 Oct 78 +-- Fixed .ne command in .$p (print section headings). + +Mod 2 25 Sep 78 +-- Changed .np to use () instead of []. + +Mod 1 12 Sep 78 +-- Fixed footnote fudge factor (curse NROFF!!) +-- Put "needs" on .(z, .)z. + +Mod 0 11 Sep 78 diff --git a/usr/lib/me/tbl.me b/usr/lib/me/tbl.me new file mode 100644 index 0000000000..d145fbe5c6 --- /dev/null +++ b/usr/lib/me/tbl.me @@ -0,0 +1,108 @@ +.nr _0 \n(c. +.\" This version has had comments stripped; an unstripped version is available. +.de TS +.sp \\n(bsu +.@C 1 +.if "\\$1"H" \ +\{\ +. di |h +. nr ?T 1 +.\} +.ls 1 +.ch @f -(\\n(_bu+1v) +.. +.de TH +.nr T. 0 +.T# 0 +.di +.nr _i \\n(.i +.in 0 +.|h +.in \\n(_iu +.rr _i +.mk #T +.. +.de TE +.nr ?T 0 +.ch @f -\\n(_bu +.ev +.sp \\n(bsu+\\n(.Lv-1v +.re +.rr 31 +.rr 32 +.rr 33 +.rr 34 +.rr 35 +.rr 36 +.rr 37 +.rr 38 +.rr 39 +.rr 40 +.rr 41 +.rr 42 +.rr 43 +.rr 44 +.rr 45 +.rr 46 +.rr 47 +.rr 48 +.rr 49 +.rr 50 +.rr 51 +.rr 52 +.rr 53 +.rr 54 +.rr 55 +.rr 56 +.rr 57 +.rr 58 +.rr 59 +.rr 60 +.rr 61 +.rr 62 +.rr 63 +.rr 64 +.rr 65 +.rr 66 +.rr 67 +.rr 68 +.rr 69 +.rr 70 +.rr 71 +.rr 72 +.rr 73 +.rr 74 +.rr 75 +.rr 76 +.rr 77 +.rr 78 +.rr 79 +.rr 80 +.rr 81 +.rr 82 +.rr 83 +.rr 84 +.rr 85 +.rr 86 +.rr 87 +.rr 88 +.rr 89 +.rr 90 +.rr 91 +.rr 92 +.rr 93 +.rr 94 +.rr 95 +.rr 96 +.rr 97 +.rr 98 +.rr 99 +.rr #I +.rr #T +.rr #a +.rr ## +.rr #- +.rr #^ +.rr T. +.. +.nr c. \n(_0 diff --git a/usr/lib/me/thesis.me b/usr/lib/me/thesis.me new file mode 100644 index 0000000000..8566972b29 --- /dev/null +++ b/usr/lib/me/thesis.me @@ -0,0 +1,18 @@ +.nr _0 \n(c. +.\" Setup for thesis. +.\" This file should be modified to keep up with the standard +.\" for a doctoral thesis at Berkeley. Other macros which may +.\" be useful for a thesis are defined here. +.\" This version has had comments stripped; an unstripped version is available. +.nr tf 1 +.he '''%' +.if n .if \n(_o \ +. po 1.5i +.if t .po 1.125i +.ll 5.75i +.if n .if 1n=0.1i \ +. ll 5.8i +.m1 1i +.nr ?t 1 +.ls 2 +.nr c. \n(_0 -- 2.20.1