Google
 

Trailing-Edge - PDP-10 Archives - BB-J710A-BM - tools/dsr/dsrinp.hlp
There is 1 other file named dsrinp.hlp in the archive. Click here to see a list.
Summary of DSR input file commands.  All start with "." in column 1.

AX,APPENDIX           start next appendix with rest of line as name
AP,AUTOPARAGRAPH      treat leading spaces as new paragraph
AUTOSUBTITLE n        Promote header levels through n to subtitles.
AT,AUTOTABLE          treat lines without leading space as new paragraph
BB,BEGIN BAR          start a change bar
B,BLANK n             skip n lines
BR,BREAK              start new output line
C,CENTER,CENTRE n     center the next line around column n/2
CH,CHAPTER            start new chapter with rest of line as name
COMMENT               ignore this command
CC,CONTROL CHARACTERS allow control characters
DATE                  Put date on subtitle line under page number
DBB,DISABLE BAR       set to ignore change bars
DISABLE yyy           Don't do anything specified by yyy.   yyy  can  be
                      UNDERLINING, BOLDING, OVERSTRIKING, INDEXING, TOC,
                      HYPHENATION
DISPLAY xxx dd        Where xxx is CHAPTER,  APPENDIX,  SUBPAGE,  NUMBER
                      and  dd  is  a display descriptor.  Display xxx as
                      defined by dd.
DISPLAY ELEMENTS "l",dd,"r" Display list elements for  current  list  as
                      defined  by dd, and surrounded by the characters l
                      and r.
DISPLAY LEVELS dd1,....dd6 Display descriptors for parts 1-6 of a header
                      level number.
DX,DO INDEX           output index with rest of line as title
ELSE name             change sense of IF/IFNOT
EBB,ENABLE BAR        set to allow change bars
ENABLE yyy            Resume doing what's specified by yyy.  yyy can  be
                      UNDERLINING, BOLDING, OVERSTRIKING, INDEXING, TOC,
                      HYPHENATION
EI,ENDIF name         ends conditional input
EB,END BAR            end change bar
END FOOTNOTE          terminate a footnote definition
ELS,END LIST          end a list
EL,END LITERAL        terminate a literal block of text
EN,END NOTE           terminate a NOTE command
ES,END SUBPAGE        stop subpage numbering (resumes page)
Y,ENTRY               same as SUBINDEX, but no page reference attached
FG,FIGURE n           make space for n line figure
FIGURE DEFERRED n     same except maybe on next page
F,FILL                resume filling and justifying each line
FT,FIRST TITLE        include title on first page
FLAGS ALL             enable existing flag characters
FL,FLAGS type ch      change flag character to ch
FN,FOOTNOTE n         start n line footnote (input until !  in col.1)
HD,HEADER x           issue "page" in x (UPPER,LOWER,MIXED) case
HL,HEADER LEVEL n     start section at level n(1-5);  rest is name
IF name               start conditional input if VARIANT name
IN,IFNOT name         start conditional input if not VARIANT name
I,INDENT n            indent next line
IX,INDEX              insert rest of this line in index
J,JUSTIFY             resume justifying text
LO, LAYOUT n          Choose page arrangement "n".  0 is  standard  (and
                      default).   1  means center title/subtitle at top,
                      page number  at  bottom.   2  is  like  2,  except
                      title/subtitle  flip,  being  right for odd pages,
                      left  for  even  ones.   If  n  neq   0,   specify
                      additional parameter, number of lines in footer.
L,LEFT n              start next line n cols from left margin
LM,LEFT MARGIN n      set left margin
LS,LIST n             start list of items with spacing n
LE,LIST ELEMENT       start of item in a list
LT,LITERAL n          start a literal block of text n lines long
LC,LOWER CASE         start footnotes and text in lower case (\\)
NAP,NO AUTOPARAGRAPH  stop autoparagraph mode
NAT,NO AUTOTABLE      stop autotable mode
NAST,NO AUTOSUBTITLE  don't promote header levels to subtitles
NCC,NO CONTROL CHARACTERS don't allow control characters
NF,NO FILL            stop fill and justify
NO DATE               Turn off .DATE
NO FLAGS ALL          disable existing flag characters except .!
NFL,NO FLAGS type     don't use flag character type
NHD,NO HEADER         suppress page headers
NJ,NO JUSTIFY         stop justifying
NNM,NO NUMBER         stop page numbering
NPA,NO PAGING         stop spliting into pages
NPR,NO PERIOD         stop double spacing after period,excl.,ques.,etc.
NSP,NO SPACE          suppress space on this end of line
NST,NO SUBTITLE       suppress subtitles
NT,NOTE text          start indented note with heading "text" centered
NM,NUMBER n           resume page numbering at page n
NUMBER APPENDIX n     set chapter to appendix n
NUMBER CHAPTER n      set chapter number to n
NUMBER INDEX          set chapter number to "INDEX"
NUMBER LEVEL a,b,c... set next HEADER LEVEL to a.b.c...
NUMBER LIST d,c       set list counter depth d to c
NUMBER PAGE n         resume page numbering at page n
NUMBER SUBPAGE ch     set subpage number to ch (A-Z)
PG,PAGE               start new page
PS,PAGE SIZE n,m      paper is n lines by m columns
PAPER SIZE n,m         " " " " " " "
PA,PAGING             resume breaking into pages
P,PARAGRAPH n,v,t     start new paragraph (.I n, .S v, .TP t)
PR,PERIOD             DOUBLE space after .!?:;
PX,PRINT INDEX        start printing index
REQ,REQUIRE "file spec" Process specified file
R,RIGHT n             right adjust next line n cols left of margin
RM,RIGHT MARGIN n     set right margin
SET DATE dd,mm,yy     dd, mm, and yy are numbers indicating day,  month,
                      and  year to be used in the date.  Give nothing to
                      get system date (default).
SET TIME hh,mm,ss     hh, mm,  and  ss  are  numbers  indicating  hours,
                      minutes, and seconds to be used in the time.  Give
                      nothing to get system time (default).
SET PARAGRAPH         Same parameters as .PARAGRAPH, but doesn't start a
                      paragraph, just sets characteristics
STC,SEND TOC n,text   Send text to .BTC file and associate "n" with it.
S,SKIP n              skip n*spacing lines
SP,SPACING n          set spacing (default=1)
SD,STANDARD n         standard setup of width n
STYLE HEADERS r,u,c   Run-on header levels starting with depth r.  Upper
                      case  levels through u.  Capitalize levels through
                      u.
X,SUBINDEX            index with ">" used to delimit sub-indices
SPG,SUBPAGE           start sub-page numbering
ST,SUBTITLE           USE rest of line as subtitle
SUBTTL                 " " " " " "
TS,TAB STOPS n,n,...  set tab stops
TP,TEST PAGE n        skip to new page if fewer than n lines left
T,TITLE               USE rest of line as title
UC,UPPER CASE         start footnotes and text in upper case (^^)
VR,VARIABLE name ch ch declare variable with on/off flags ch, ch

They can be abbreviated if unique.  Numeric arguments can  be  preceeded
by  +  or  -.   ch  is  any  character.   Flag  types  are  BOLD, BREAK,
CAPITALIZE, COMMENT, CONTROL, ENDFOOTNOTE, HYPHENATE, INDEX,  LOWERCASE,
OVERSTRIKE,  PERIOD,  QUOTE,  SPACE, SUBINDEX, SUBSTITUTE, UNDERLINE, or
UPPERCASE.

Special text characters (except in literal blocks):
_    take next character as text (quote)
^    upper case next character (uppercase)
     upper case lock
\    lower case next character (lowercase)
     lower case lock
#    unexpandable space (space)
+    use end of sentence spacing (period)
%    print following character on top of preceeding (overstrike)
*    bold next character (bold)
&    underline next character (underline)
^&   underline lock on
\&   underline unlock (off)
^*   bolding lock on
\*   bolding unlock
$    insert text (substitute)
=    insert a hyphen here (hyphenate)
|    break word without a space (break)
>    (initially off) index following word (index)
<    (initially off) capitalize all of following word (capitalize)

!    (col. 1) end footnote (endfootnote)
.    (col. 1) command line (control)

Say .FLAG SUBSTITUTE and then use $$DATE,  $$TIME,  $$HOURS,  $$MINUTES,
$$SECONDS $$DAY, $$MONTH, $$YEAR to generate these items as specified by
.SET DATE and .SET TIME

Display descriptor dd can be

D         Decimal
O         Octal
H         Hex
RL        Roman numerals, lower case
RU        Roman numerals, upper case
RM        Roman numerals, mixed case
LL        Letters, lower case
LU        Letters, upper case
LM        Letters, mixed case