.;
.;	This is the text of a talk on Bonner Lab RUnoff
.;
.disable number chapter
.enable levels 6,6
.display levels 1,"^*^=" LU ,2,"^*##[" D "]"
.style headers ,,,,,,,,,0
.stc .display levels 1,LU ,2,"##[" D "]"
.stc .style headers ,,,,,,,,,0
.stc .display number "" rl
.stc .c;Bonner Lab Runoff
.stc .c;Symposium slides
.stc .s.c;Table of contents
.no number chapter.nf.dhy
.display number "- " D " -"
.ts 10,20,30,40,50,60,70
.ps 43,52,0,0,2 .header spacing 4
.flags substitute
.FLAGS SPECIAL < >
.flags overstrike
.display number "- " D " -"
.first title Bonner Lab Runoff  $$Date
.fg 12
.c;^=^*Bonner Lab Runoff
.fg 5.c;Author: John Clement\=\*
.page
.hl  Assumptions
.c;You already know something about:
.list 0 .le;RUNOFF
.le;EDITING text
.els
.c;^=^*TALK CONSISTS OF:\=\*
.f
.s;A brief exploration of Bonner Lab Runoff.
Common features of
other RUNOFFS or DSR are omitted.
All new features are underlined.
.nf
.s2.c;NOTE
All slides were produced using RUNOFF.
.page
.hl GOALS
.list
.le;General word processing
.le;Scientific text processing
.le;Thesis quality !!
.els.page
.hl WHY RUNOFF ?
Advantages
.s.list0
.le;Free !!!
.le;Several operating systems
.le;Volumes of text in sections
.le;Usable with any terminal/printer
.endlist 1
Disadvantages
.s.list 0
.le;Needs separate editor
.le;Can't see result as you type it
.endlist 4
.page
.hl WHY BONNER LAB version ?
.list 0
.le;Extra font handling
.le;Extra wide characters 2x,3x . . .
.le;Sub/superscripting
.le;Ribbon color changes
.le;Do-it-yourself escape sequences !
.le;Printer independent support !
.le;Macro processing
.le;Equations
.le;DSR compatible (Digital Standard Runoff)
.le;No preprocessors
.le;Reliable
.le;Fast - table driven
.le;Flexible syntax - ',' optional
.els
.page
.hl DSR features omitted
.list 0
.le;AUTOJUSTIFY
.le;CONTROL CHARACTERS
.le;DATE/NO DATE
.le;FLAGS BOLD
.le;FLAGS COMMENT
.le;NO SUBTITLE
.le;NUMBER INDEX
.le;REPEAT
.le;SET DATE/TIME
.le;SET LEVEL
.le;VARIABLE
.le;XUPPER/XLOWER
.le;Double column index
.els.page
.hl ENHANCED FEATURES
.hl 2 FOOTNOTE commands
.list 0 .display elements '(' LU ')'
.le;.FOOTNOTE
.le;^&.PERMANENT FOOTNOTE\&
.els
.hl TEXT commands
.list 0
.le;^&.CENTER TEXT\&
.i5; ^&.END CENTER\&
.le;^&.RIGHT TEXT\&
.i5;^&.END RIGHT\&
.le;^&.TEXT\&	(keep section on same page)
.i5; ^&.END TEXT\&
.i5;^&.TEXT DEFERRED\&
.le;.TEST PAGE top,^&bot\&
.le;^&.TEST TEXT top,bot\&
.le;_.PARAGRAPH ind,skp,top^&,bot\&
.els
.hl IMMEDIATE commands
.list 0
.le;^&.IMMEDIATE TEST PAGE top,bot\&
.le;^&.IMMEDIATE TEST TEXT top,bot\&
.els
.hl PAGE commands
.list 0
.le;_.PAGE
.le;^&.PAGE ODD\&
.le;^&.PAGE EVEN\&
.els
.hl CHARACTER CONTROL
.list 0
.le;^&.UNDERLINE "characters"\&
.le;^&.NO UNDERLINE "characters"\&
.le;_.PERIOD ^&"characters"\&
.le;_.NO PERIOD ^&"characters"\&
.page
.els
.hl PERMANENT margins
_.PAGE SIZE hght,wdth,^&left,top,spacing\&
.le;TEMPORARY margins
.list 0
.le;^&.TOP MARGIN\&
.le;.RIGHT MARGIN
.le;.LEFT MARGIN
.els
.hl PAGE formatting
.list 0
.le;.LAYOUT command
.br;All layouts with title at top
.br;Page number at botton
.le;^&.CHAPTER LAYOUT\&
.le;^&.HEADER SPACING\&
.els
.page
.hl AUTO commands
.list 0
.le; ^&.AUTOTITLE\&	- use chapter title
.i5; ^&.NO AUTOTITLE\&
.le;^&.AUTOSUBTITLE\&	- use section header
.i5; ^&.NO AUTOSUBTITLE\&
.le;^&.AUTOHYPHENATE\& n1,n2,n3,n4 "characters"
.i5; ^&.NO AUTOHYPHENATE\&
.le; ^&.AUTOBREAK "chars"\&
.i5; ^&.NO AUTOBREAK "chars"\&
.els
.hl STYLE commands
.list 0
.le;.STYLE HEADER
.le;^&.STYLE CHAPTER\&
.le;^&_.INDENT LEVELS left,right\&
.le;^&_.INDENT LEVEL TITLES n1,...,n6\&
.le;^&_.ENABLE ODD\& - Chapters begin on odd pages.
.els .page
.hl DISPLAY commands
.list 0
.le;NUMBER 'pre-chars' CODE 'post-chars'
.le;SUBPAGE
.le;CHAPTER
.le;APPENDIX
.le;ELEMENTS
.le;LEVELS
.le;TITLE
.le;SUBTITLE
.i2;^&CODE	ACTION		EXAMPLE\&
.list 0.display elements "[" RL "]"
.le;D	&Decimal		27
.le;LU	&Letters &Upper	AA
.le;LM	&Letters &Mixed	Aa
.le;LL	&Letters &Lower	aa
.le;RU	&Roman &Upper	XXVI
.le;RM	&Roman &Mixed	Xxvi
.le;RL	&Roman &Lower	xxvi
.els.els
.page
.fg 2
.c;^*The following commands:\*
.s2.literal
.display chapter "^=Chapt [" RU "]\="
.number chapter 9
.el
.s2
.c;^*Produce the title on a chapter:\*
.s2
^=Chapt#[IX]\=
.page
.fg 2
.c;^*The following commands:\*
.s2.literal
.display levels D,LU,LL,"[" RL "]"
.number level 1,2,3,4
.hl
.el;
.s2.c;^*Produce the header level:\*
.s2
[1.B.c.iv]
.page
.fg 2
.c;^*The following commands:\*
.s2
.lit
.display number "- " D " -"
.first title Bonner Lab Runoff  $$Date
.el
.s2
.c;^*Produced the title on this page:\*
.page
.hl TABULATION
.list 0
.le;Left justified
.le;Center justified
.le;Right justified
.le;Specifiable ellipses
.le;Specify field width as +n
.le;Unlimited number of tabs
.le;_.TAB STOPS ^&"ellips" j\& +n,...
.i5;j = L, R, C
.le;^&.TAB PROPORTIONAL "el" j +-n\&,...
.els
.page
.spacing 1
.c;example
.lm+5
.i-5;INPUT:
.s.literal
.tab stops L +10, C +10, "-*-" R +20
	1.2345	1.0	1.0
	79.5	10000.0	123.796
.end literal
.s.i-5;OUTPUT:
.s
.tab stops L +10, C +10, "-*-" R +20
	1.2345	1.0	1.0
	79.5	10000.0	123.796
.lm
.ts +10,+10,+10,+10,+10,+10
.page
.hl REQUIRE
.list 2
.le;.REQUIRE "filename"
.s2
.c text;Same as DSR
.s;May nest files up to 5 levels!!
.s;DSR allows 10 levels
.end center
.le;^&_.REQUIRE BINARY lines, "filename"\&
.s2
.c;No interpretation of input
.els
.page
.hl FLAGS
.list 0
.le;.FLAGS ACCEPT __
.le;.FLAGS BREAK _|
.le;.FLAGS CAPITALIZE _<
.le;.FLAGS CONTROL _.
.le;^&.FLAGS EQUATION\& { } for equations
.le;^&.FLAGS ESCAPE ??\& - design escape seq.
.le;.FLAGS HYPHENATE _=
.le;.FLAGS LOWERCASE _\
.le;.FLAGS OVERSTRIKE _%
.le;.FLAGS PERIOD _+
.le;.FLAGS SPACE _#
.le;^&.FLAGS SPECIAL ??\& - design flags
.le;.FLAGS SUBSTITUTE _$ - design macros
.le;^&_.FLAGS TAB\& [new flag]
.le;.FLAGS UNDERLINE _&
.le;.FLAGS UPPERCASE _^
.els0
.C;^&ENABLE/DISABLE\& mirror flags
.page
.hl Extra flags features
.list 0
.le;BREAK and HYPHENATE flags may be used for line continuation.
.le;BREAK flag controls tab justification.
.els
.page
.hl ESCAPE SEQUENCES
These determine special printer support
^&You\& define any you wish via:
.s
^&.RESET ESCAPE\&
^&.DEFINE ESCAPE\& "XY",opts,numbers,"text" . . .
Options
.list 0
.le;LCK - lock/unlock pair
_^Y locks escape on
_\Y locks it off
.le;VSP - vertical spacing
.le;HSP - horizontal spacing
.le;PSP - permanent spacing
.le;CHR - single character control
#Y may turn on/off for 1 character
.els
.page
.s2.C;EXAMPLES
.list 1
.lm -4
.le;font change for DIABLO
_.DEFINE ESCAPE '_^@',LCK,CHR,14
_.DEFINE ESCAPE "_\_@",LCK,CHR,15
_.FLAGS SPECIAL @
.le;bolding for DIABLO
_.DEFINE ESCAPE "_^_*",LCK,CHR,27,'W'
_.DEFINE ESCAPE "_^_*",LCK,CHR,27,"_&"
_.FLAGS SPECIAL _*
.le;double width chars Florida data
_.DEFINE ESCAPE '_^=',LCK,HSP,2,PSP,14
_.DEFINE ESCAPE "_\_=",LCK,HSP,1,PSP,15
.els0
.page
.hl Special definitions
.list 0
.le;_.DEFINE SUBSCRIPT definition
.le;_.DEFINE SUPERSCRIPT definition
.le;_.DEFINE VARIABLE SPACING n, definition
.els 2
These are needed for EQUATIONS, HALF SPACING, and VARIABLE SPACING.
.page
.hl SUBSTITUTION
.list 0
.le;.RESET SUBSTITUTE
.le;.DEFINE SUBSTITUTE /label/text
.le;_.DELETE SUBSTITUTE /label/
.le;Example
.i-8
^*_.DEFINE SUBSTITUTE /P_$/Digital Equipment_>*_<\*
.DEFINE SUBSTITUTE /P$/Digital Equipment>*<

_$P_$	produces:

^*$P$\*
.s
.le;Substitutions may be nested 3 deep.
.le;Substitutions may include escape seq.
.els0.page
.hl Permanently defined substitutions
.list 0
.ts 30,40,50
^&LABEL\&	- ^&result\&
.le;_$_$DATE	- $$DATE
.le;_$_$TIME	- $$TIME
.le;_$_$YEAR	- $$YEAR
.le;_$_$MONTH	- $$MONTH
.le;_$_$DAY	- $$DAY
.le;_$_$HOURS	- $$HOURS
.le;_$_$MINUTES	- $$MINUTES
.le;_$_$SECONDS	- $$SECONDS
.els
.page
.hl REFERENCES
.list 2
.le;^&_.DEFINE NUMBER CHAPTER "label"\&
.le;^&_.DEFINE NUMBER APPENDIX "label"\&
.le;^&_.DEFINE NUMBER PAGE "label"\&
.le;^&_.DEFINE NUMBER LEVEL "label"\&
.le;^&_.DEFINE NUMBER LIST "label"\&
.le;^&_.DEFINE ITEM "label" format n\&
.le;^&_.NUMBER ITEM "label" +n\&
.le;^&_.DEFINE NUMBER ITEM "label"\&
.els
If 2 pass mode is used references may be used, then defined.
.page
.hl _.DEFINE COMMAND
.list 2
.le;Defines new commands
.le;_% used to pass parameters
.els
.c;Example
_.DEFINE COMMAND /Q/.s % .i % .tt % ,%
.s
_.Q 1,5,10,2
.page
.hl EQUATIONS
.list 0
.le;FORMAT: {numerator}/{denominator}
.le;nesting - 6 deep
.le;DIABLO style sub/sperscripting only
.le;Automatic spacing between lines
.le;example
.flags equation.seq
input:
^*_{A_<1_> + B_>2_<_}/_{C + _{D_}/_{E_}_}\*
output:   ^*{A<1> + B>2<}/{C + {D}/{E}}\*
.els.le;.HALF SPACING
Allows 1{1}/{2}, 2, 2{1}/{2} spacing
.page
.hl 1 DOCUMENTATION
.list 2
.le;RUNOFF.DOC
.le;BRIEF.DOC
.le;RNOVMS.HLP
.le;RNORSX.HLP
.le;BRIEF.HLP
.le;All documentation uses same files:
  .IF HLP	- VMS help file
  .IF HLP.IF RSX	- RSX help file
.els
