home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.update.uu.se
/
ftp.update.uu.se.2014.03.zip
/
ftp.update.uu.se
/
pub
/
rainbow
/
msdos
/
latrobe
/
t
/
ts11.arc
/
MANUAL.TS
< prev
next >
Wrap
Text File
|
1987-02-07
|
46KB
|
1,197 lines
TypStyl
=======
Version 1.1
Feb. 6, 1987
TypStyl uses the graphics mode of a
Digital LA50, LA100 or similar printer to
generate customized type. It uses "FNT"
files identical to those used by FPRINT.
The program is designed to run only on
the DEC Rainbow computer.
TypStyl has many specialized features
designed to make it as flexible as
possible. These include:
-- Five different justification modes;
-- Semi-automatic hyphenation;
-- Variable indentation;
-- Dot leaders and split lines.
TypStyl is designed to be forgiving of
mistakes. Whenever possible, it allows
you to correct errors as it detects them.
TypStyl is copyright 1986, 1987 by
Carl D. Neiburger
169 N. 25th St.
San Jose, Calif. 95116
Free permission is granted for its use
and non-commercial distribution.
TypStyl
Contents
The basics
Creating an input file . . . . . . . . . . . . . . 1
Command character . . . . . . . . . . . . . . . . . 1
Command sequences . . . . . . . . . . . . . . . . . 1
Loading a font. . . . . . . . . . . . . . . . . . . 2
Font path . . . . . . . . . . . . . . . . . . . . . 2
Changing fonts . . . . . . . . . . . . . . . . . . 3
End paragraph and indent next line . . . . . . . . 3
Quad left . . . . . . . . . . . . . . . . . . . . . 3
Indent the current line. . . . . . . . . . . . . . 3
Set-up mode . . . . . . . . . . . . . . . . . . . . . . 4
Hyphenation on. . . . . . . . . . . . . . . . . . . 5
Justification modes . . . . . . . . . . . . . . . . 5
Paragraph indent. . . . . . . . . . . . . . . . . . 6
Margin set. . . . . . . . . . . . . . . . . . . . . 6
Margin, top . . . . . . . . . . . . . . . . . . . . 7
Margin, bottom . . . . . . . . . . . . . . . . . . 7
Running TypStyl. . . . . . . . . . . . . . . . . . . . . 8
Emergency exits . . . . . . . . . . . . . . . . . . 9
Interpreting commands
Line end commands
Quad left . . . . . . . . . . . . . . . . . . 10
Quad right . . . . . . . . . . . . . . . . . . 10
Quad middle . . . . . . . . . . . . . . . . . 10
Quad center . . . . . . . . . . . . . . . . . 10
End paragraph . . . . . . . . . . . . . . . . 10
Split line and dot leader . . . . . . . . . . . . . 10
Solid dashes. . . . . . . . . . . . . . . . . . . . 11
Pages
Number pages . . . . . . . . . . . . . . . . . 11
Set page number . . . . . . . . . . . . . . . 12
Force a new page . . . . . . . . . . . . . . . 12
Conditional page . . . . . . . . . . . . . . . 12
Set page length . . . . . . . . . . . . . . . 12
Tabulation . . . . . . . . . . . . . . . . . . . . 12
Set tabs . . . . . . . . . . . . . . . . . . . 12
Regular tabs . . . . . . . . . . . . . . . . . 13
Clear tab . . . . . . . . . . . . . . . . . . 13
Clear all tabs . . . . . . . . . . . . . . . . 13
TypStyl
Temporary indentation . . . . . . . . . . . . . . . 13
Add leading . . . . . . . . . . . . . . . . . . . . 13
3
Changing font features
Changing leading . . . . . . . . . . . . . . . 14
Changing word spacing . . . . . . . . . . . . 14
Literal word spacing . . . . . . . . . . . . . 14
Changing kern . . . . . . . . . . . . . . . . 15
Double-strike mode . . . . . . . . . . . . . . . . 15
Appendices
A: What's new in version 1.1 . . . . . . . . . . . 16
B: List of commands . . . . . . . . . . . . . . . . 17
Index . . . . . . . . . . . . . . . . . . . . . . . . . 19
NOTE
Many thanks to A. Christopher Hall, who developed the FPRINT
program and its editor and to J. Anthony Movshon, who
improved both and ported them to MS-DOS. Although TypStyl is
entirely different from FPRINT in its internal structure and
commands, it uses the same .FNT files and therefore the same
protocol for them. Hall and Movshon made the world of "fancy
fonts" available to DEC Rainbow users. I used their programs
for many months and am grateful for their efforts.
For version 1.1, I would also add deep thanks to Craig
Macdonald of Ann Arbor, Mich, a TypStyl user who wrote me
identifying several important bugs in version 1.0 and
suggesting several key improvements. I very much need this
kind of help. I have done my best to make TypStyl functional
and problem-free. While I cannot guarantee its performance,
I will try to correct any problems and make improvements in
future versions. You can help me by sending any comments,
observations and descriptions of bugs to
Carl D. Neiburger
169 N. 25th St.
San Jose, Calif. 95116
TypStyl
TypStyl is designed to be a very versatile "fancy print"
program. It is also designed to be very forgiving. If you
make a mistake, it helps you correct it.
It also has a lot of commands -- 39 of them. But you don't
have to learn them all at once. You can get started using
just a few. First you must
CREATE AN INPUT FILE
TypStyl reads text files in standard "ASCII" letters and
converts them into graphic characters that can be interpreted
by a Digital Equipment Corp. LA50 printer or another printer
that accepts the same graphics code.
To create the text file for TypStyl to read, use any word
processor or text editor capable of saving files in "ASCII"
format. If you are using Word Perfect, save the file using
the "text in/out" function. If you are using WordStar, save
the file in "non-document mode. If you have any doubts about
whether the file is an ASCII file, use the "TYPE" command to
display it on your computer screen. If it is an ASCII file,
it will look pretty much as you typed it.
To start, pick a
COMMAND CHARACTER.
This is a character that you will use to tell TypStyl to
expect a command. It can be any character with an ASCII
value between 0 and 126. It is preferable that the command
character be a non-printing "control character" (value 0 to
31) or a printing character that you use seldom, such as \ or
~. (If you select a printable character, TypStyl will still
let you print it. Just repeat it. For example, if you choose
"\", then type "\\" when you want to print the character.)
In these instructions, we will use an asterisk to represent
the command character.
COMMAND SEQUENCES
tell TypStyl how to format the text. A single command
character can introduce a series of commands, separated by
semicolons. Each command series is terminated by either the
end of a line or "]" -- a right bracket.
1
TypStyl
For example, the series *lf1ascii12;ms1",7";nplc] tells
TypStyl to load ASCII12 as its first font, set the left
margin at one inch and the right one at seven inches and to
put a page number in at the bottom center of each page.
Some commands can be omitted; TypStyl will use default
values. Others are necessary. All begin with two-letter
codes. Some are followed by other letters and numbers. All
commands can be given in upper- or lower-case letters.
Text to be printed using TypStyl must use standard ASCII
characters. No line in the original text file can be longer
than 255 characters.
The first command you have to include is
LF to LOAD A FONT.
TypStyl can handle up to nine fonts, depending on how much
memory your Rainbow has. Each font takes 7 kilobytes to 10
kilobytes. A machine with 192 kilobytes of memory (not
including "M Drive" or "RAM Disk" space) should be able to
handle all nine.
Each font space is numbered 1 through 9, so *LF1ASCII12]
tells TypStyl to load ASCII12.FNT as the first font. If
TypStyl cannot find ASCII12.FNT, it will ask you what disk
directory it is in, display all the FNT files in that
directory and ask you to choose one.
If you keep your fonts in a disk directory other than the
default one, you can tell TypStyl where to look with the
command
FP to identify a FONT PATH.
For example, *fpa:programs\typstyl]. Notice that there is
no space after the FP command. Every time you enter a font
path, whether with an FP command or by responding to a
TypStyl prompt, TypStyl will look for fonts on that path --
and that path only -- until you give it a new path.
Each time it cannot find a font, it will ask for a path
and then display a directory of all the fonts on that path
for you to choose from.
2
TypStyl
When you load more than one font, you can change between them
by using
CF to CHANGE A FONT.
The command is followed by the font's number as in *CF2].
Font 1 is the default font, so you do not need to change to
it if you start TypStyl with that font.
If you try to use a font space that is empty, TypStyl
will tell you so and give you a chance to load a font in
that place.
There are three other codes that you really have to know to
use TypStyl. They are
EP to END A PARAGRAPH and INDENT THE NEXT LINE,
QL to END A LINE QUAD (FLUSH) LEFT,
and
IN to INDENT THE CURRENT LINE.
Unless you tell it not to, TypStyl automatically reformats
lines to fit the page and hyphenates words with your help,
so it doesn't know where to end a paragraph unless you tell
it.
*QL] will end a paragraph without indenting the next line.
*IN] will cause the current line to be indented. If you
are at the top of a file, use *IN] to indent the first
paragraph.
*EP] will end a paragraph and indent the next line. combines
*QL] and *IN].
If you want to insert a blank line followed by an indented
paragraph, enter *QL;EP] before the paragraph. You don't have
to enter a carriage return or leave a blank line to do any of
this, though you may do so to keep your source file more
readable. Except when in "literal input" mode (see below),
the only function of a carriage return in TypStyl is as an
alternate method of ending a command sequence.
3
TypStyl
Now you can start using TypStyl because you can select other
printing options in
SET-UP MODE.
First make a working copy of TypStyl. Store the original as
an "archival copy."
Then call it up like this
>TYPSTYL /S <input.fil> {<output.fil>}
The /S tells it to go into set-up mode.
If you intend to use TypStyl to print something, you must
include an input file name. (If you just want to try out
set-up mode first, you don't have to have an input file yet.)
If you want to send the copy generated by TypStyl directly
to the printer, use PRN for the output file. If you omit an
output file name, TypStyl will create a disk file
TYPSTYL.LST.
When you enter set-up mode, the screen will look something
like this:
//////////////////////////////////TypStyl//////////////////////////////
Enter any character except "0" through "9"
or the numeric value of the character plus RETURN.
Use up/down arrows to move between items; press "EXIT" when finished.
//////////////////////////////////////////////////////////////////////
Command character \ 27
Hyphenation ON
Justification Justified
Paragraph indent 0.50" [ 3p0 ] [ 72 dots]
left margin 0.50" [ 3p0 ] [ 72 dots]
right margin 7.50" [45p0 ] [1080 dots]
top margin 12
bottom margin 12
4
TypStyl
The line reading "Command character" will be highlighted. By
using the up and down arrows, you can move the highlight, and
as it moves, different instructions will appear. The command
character on our sample screen is "\". To change it, press
the command character you have chosen (if it's anything other
than a numeral) or enter its ASCII value. The command
character can only be changed in set-up mode.
The second line lets you chose whether you want TypStyl to
hyphenate. If you do, as it reads your file it will display
words that are candidates for hyphenation and let you decide
where (and whether) to hyphenate. Use the left and right
arrows to turn hyphenation on and off. You can also turn
hyphenation on and off in a file by using the commands
HY for HYPHENATION ON
and
XH for STOP HYPHENATION.
The third line allows you to select the five
JUSTIFICATION MODES.
These can also be selected by file commands. They
are:
JF JUSTIFIED
FL FLUSH LEFT
FR FLUSH RIGHT
RC RAGGED, CENTERED ("Centered" in set-up mode)
LI LITERAL OUTPUT ("Literal" in set-up mode)
Justified means that the type is flush against both margins.
Words are spaced out evenly across the line.
Flush left means that the type is flush against the left
margin but uneven ("ragged") on the right.
Flush right is the opposite of flush left. The type is even
on the right side and ragged on the left.
Ragged, centered means that each line is centered between
the margins so that both sides are ragged.
Literal output produces results similar to flush left. The
difference is that it recognizes the carriage returns from
your text input file to tell it where to end lines. (If a
line is too long for the printer, it will divide it.) This
5
TypStyl
mode has fewer features than the others but it may be more
convenient for setting headlines that will later be cut out
and pasted onto a page.
Select the justification mode the same way you select
hyphenation: with the left and right arrows.
The next three lines let you select the paragraph indentation
and the left and right margins. They measure these on three
scales. You can type in new values in any of the scales:
INCHES:
The value must be followed by an inches sign: ". You may use
up to two decimal places.
PICAS AND POINTS:
A pica is a typesetter's measure equal to about one-sixth of
an inch. In TypStyl, it is exactly one-sixth inch. There are
12 points to a pica. To use picas and points, enter the picas
value (it may be 0), the letter P and the points. Points, if
zero, may be omitted.
DOTS:
These are the increments actually used by the printer
-- 144 dots to an inch. They are less convenient than the
other scales but more precise. An integer with neither a "
nor a P is assumed to be dots.
You may select these values either in set-up mode or in your
text file. In set-up mode, just type in the values. In a
file, use the appropriate commands:
PI PARAGRAPH INDENT
and
MS MARGIN SET.
The margins are measured using a ruler starting at the
print-head's furthest left position.
The margin set command is followed by the new left margin
setting a comma and the right margin setting. Thus
*ms1",5"] would set the left margin at one inch and the right
margin at five inches.
*ms0p,12p3] would set the left margin at zero and the right
6
TypStyl
at 12 picas, 3 points, the standard American width for
newspaper columns.
You can only use margin and indent settings that make sense.
The limits are shown in the instructions at the top of the
screen. You can't set the right margin any less than a
half-inch greater than the left margin and vice versa. The
paragraph indent cannot extend nearer than a half-inch from
the right margin. If you enter values that don't work,
either in set-up mode or in your file, TypStyl will send you
an error message and ask you to select valid numbers.
However, the MS command allows you to set both left and right
margins at once. That will allow you to set the left margin
to the right of the OLD right margin as long as you set the
NEW right margin to the right of the NEW left margin.
The top and bottom margins are measured in twelfths of an
inch, which is the only line unit the LA50 printer can use
in graphics mode. Enter the values in whole numbers -- 12
represents an inch; 18, 1 1/2 inches.
To enter these using a text file use
MT MARGIN, TOP
and
MB MARGIN, BOTTOM
These are measured from the top and bottom of the page,
respectively. They, like the right and left margins, are
limited to possible ranges. You cannot have the top margin
extend below one inch above the bottom one.
When you are finished setting the default values, press the
EXIT key.
TypStyl will give these instructions:
Enter file name of TypStyl program plus RETURN
or just RETURN to make changes only temporary.
If you enter the file name, TypStyl will literally rewrite
itself, so the new defaults will be available when you next
use the program. This is especially valuable for selecting a
permanent command character. If you enter the name of a
non-existent file, TypStyl will ask you to try again.
7
TypStyl
RUNNING TYPSTYL:
Now you are where you would be if you had started TypStyl
without entering /S to put it into set-up mode.
If you have not specified an input file, TypStyl will halt.
Otherwise, it will start reading the input file and executing
your commands. It will tell you when it's reading a font,
because that's a relatively slow process. It will also
display lines from your source file as it reads them.
TypStyl will tell you if you are writing to a named output
file or to the printer. If you are writing directly to the
printer, make sure in advance that the printer is on.
If you are writing to disk, make sure you have plenty of
space. A disk output file can get very large. A single line
of 12-point type on 10-70 margins, which takes only 60 bytes
in the input file, could in the worst instance occupy up to
3456 bytes -- nearly 60 times as much space -- in an output
file.
If you run out of disk space while running TypStyl, TypStyl
will close the output file you have selected and halt. You
can print the incomplete output file by entering
> TYPE {output.fil} > PRN
from the operating system prompt. Otherwise, you can begin
again making sure you have enough disk space or breaking your
source file into several smaller files and running them
separately.
If you have TypStyl in
HYPHENATION MODE,
the program will beep once when it needs your help to
hyphenate. Just use the right and left arrows to move the
hyphen cursor to where you want to break the word, then press
"RETURN." You will not be able to move the cursor further
left than the beginning of the word nor further right than
the last letter that could fit on the line. After you press
"RETURN", TypStyl will reply "Hyphenated" or "Truncated."
If a hyphenated word can be broken on its hyphen, TypStyl
will allow you to do so. Position the hyphen cursor so that
only one hyphen shows. If you move the cursor one space to
8
TypStyl
the left of there, TWO hyphens -- the cursor and the hyphen
in the word -- will show on the screen. If you press the
return key then, TWO hyphens will be printed: one at the end
of the line and one at the beginning.
TypStyl will only hyphenate words at least six letters long
when there is room for at least three letters at the end of a
line.
If you have not selected direct printer output, when TypStyl
is through, it will give you the option of sending the output
file to the printer. If you want to do so, turn on your
printer and type "Y". Whether you do this or not, you can
still print the output file later from the operating system
with the command "TYPE {output.fil} > PRN. If you haven't
given the output file another name, it will be called
TYPSTYL.LST and, unless renamed, will be overwritten the next
time you run TypStyl without specifying an output file name.
Remember that output files are very large. The advantages of
saving one to disk rather than printing directly are that you
can print multiple copies of the same file, print the file
later or print it on a printer not connected to the computer
running TypStyl. In most cases you will find it more
efficient, however, to run TypStyl anew each time you need to
print a file.
EMERGENCY EXITS
If you ever want to stop TypStyl while it is processing or
printing a file, press the "Exit" key. In a few seconds --
longer if it is reading in a font file -- TypStyl will ask
you if you want to abort. Press "Y" and it will stop. Press
"N" and the program will continue.
9
TypStyl
INTERPRETING COMMANDS:
If TypStyl cannot interpret a command, it will ask you to
re-enter it from the keyboard or press EXIT to quit.
Similarly, if you specify parameter beyond its limits, the
program will also ask for correct values.
Here are commands you can use:
QL QUAD LEFT
QR QUAD RIGHT
QM QUAD MIDDLE
QC QUAD CENTER
EP END PARAGRAPH
The first four of these are similar to the first
four justification modes -- flush left, flush right,
justified and ragged center. The difference is that these
commands only affect one line and they terminate that line.
Quad left will end a line and set it flush left.
Quad right will end a line and set it flush right.
Quad middle will end a line and have it justified (if it has
more than one word).
Quad center will end a line and center it between the
margins.
End paragraph will end a line, just like quad left, but the
following line will be indented.
You must end every paragraph with the appropriate code,
including the last line in your file. If you are in
justification mode and do not end the last line with a QL
or an EP, the last line will be justified.
You can also split a line so that half is quad left and the
second half is quad right. If you want, you can have dots
connecting the left and right halves. To do this, insert
the codes
SL SPLIT LINE
or
DL DOT LEADER (if you want dots)
where you want the line divided. End the line with a QM
10
TypStyl
(quad middle) or QL (quad left). Do not use a QC or QR
command. For example:
Start here*DL]end here*QM]
would print as:
Start here . . . . . . . . . . . . end here
If you don't use QL or QM to mark where the line should end,
TypStyl won't know. It may pick up the beginning of the next
line and keep going.
TypStyl has a special way to represent
DASHES
When you type two or more hyphens, TypStyl will automatically
join them together to form a dash equal in length to the
combined length of the hyphens.
If you want to number pages, make sure you are in the font
you want to use for page numbering and then give the command
NP FOR NUMBER PAGES
combined with one of the following codes to tell where the
page number should appear:
UL upper left LL lower left
UC upper center LC lower center
UR upper right LR lower right
If you select a right or left position, it will be flush
with the appropriate margin. TypStyl will automatically
print page numbers in the font you used with the command. If
you want page numbers in different places for odd and even
pages, insert "O" (the letter, not zero) and E after PN. The
command *pnolr;pnell] will put numbers in the lower right on
odd-numbered pages and lower left for even-numbered ones.
To stop page numbering (the default), enter
XN STOP NUMBERING PAGES
11
TypStyl
TypStyl will start counting the pages with No. 1. To reset
the page number to a different value, enter
PN SET PAGE NUMBER
plus the page number, for example: *PN15].
To force TypStyl to begin a new page, enter
PA PAGE
If you want TypStyl to go to a new page only if it is within
a given distance from the bottom margin, enter
CP CONDITIONAL PAGE
followed by the distance in twelfths of an inch. The command
*CP12] would tell TypStyl to page if within an inch of the
bottom margin.
TypStyl starts with the LA50 printer default page length of
11 inches. To choose another page length, enter
PL SET PAGE LENGTH
plus the number in twelfths of an inch, for example: *PL120].
TABULATION
TypStyl can also tabulate. It recognizes the tab control
character -- ^i -- as well as the command
TB TABULATE
if your editing program doesn't let you use ^i. Tabs are set
in inches, picas and points, or dots, just like margins. You
can set as many tabs at a time as you want with the command
ST SET TABS
follow it by the tab settings you want separated by commas.
For example, *TS1.25",3",5.5" will set tabs at 1.25 inches,
three inches and 5.5 inches.
12
TypStyl
If you enter
RT REGULAR TABS,
TypStyl will set tabs every half inch.
You can clear one or more tabs by entering
CT CLEAR TABS
followed by the tab measurements separated by commas.
XT CLEARS ALL TABS
It is possible to combine tabulation with dot leaders or
split lines, providing you tabulate first, for example:
Begin line*TB]Tab here*TB]and here*DL]leader to here
might print:
Begin line Tab here and here . . . . leader to here
If you tried a leader first, then tabs, you would get
results, but the spacing would be unpredictable.
You may want to temporarily indent the left or
right margin for a specific distance, for example,
to leave room for a chart or photograph. To do this, enter
IL INDENT LEFT
or
IR INDENT RIGHT
followed by
-- first, the width of the indent,
-- then a comma, and
-- then the depth in twelfths of inches.
Thus, *IR1",21] would indent the right margin by one inch for
a depth of 1.75 inches.
The spacing between one line of type and the next is called
"leading." You can add vertical space by using the command
AL ADD LEADING
followed by the depth in twelfths of inches. TypStyl will
allow you to add up to a full page of leading this way,
13
TypStyl
provided you are at the top of a page. If the leading would
take you beyond the top of the next page, TypStyl will go
only go to the top of the page.
Most fonts ordinarily come with a leading of one-twelfth of
an inch. If you want to change the current font's leading, to
create a "double-space" effect, for example, use the command
CL CHANGE LEADING
followed by the new leading in twelfths of an inch. For
example, *CL3] would add an extra sixth of an inch between
lines. It would have the same effect as double-spacing on a
typewriter. The minimum leading allowed by TypStyl is one-
twelfth of an inch.
TypStyl normally leaves only one space between each word,
even if you have typed several spaces. In justification
mode, of course, spaces can be very wide. In printing, it is
"normal" for all spaces on a line to be equal width.
Some people prefer the typewriter convention of leaving two
spaces after a sentence. TypStyl can shift into and out of
this mode by using the commands
LS LITERAL SPACING
and
XS STOP LITERAL SPACING
When you give the command *LS, two spaces will show up as
twice as wide as a single space. The width of spaces will
still vary from line to line in justification mode.
Each font also has a specified minimum spacing between
characters and between words. The character spacing is
called the kern, a typesetting term which refers to the
shoulder of a piece of type -- the area on either side of
the raised character. TypStyl keeps the kern for each font
constant unless you change it. If you are in justification
mode, the word spacing may increase to even the lines.
14
TypStyl
Both minimum word spacing and the kern varies depending on
the font. You can make the current font look airier or more
cramped by using the commands
CK CHANGE KERN
and
CS CHANGE WORD SPACING
With a 12-point font, try *CS1] for a cramped effect or *CS9]
for an airy one.
Two other commands let you print darker if your printer
ribbon is worn or you are printing large type that looks
fuzzy:
DS DOUBLE-STRIKE ON
and
XD DOUBLE-STRIKE OFF
When double-strike is on, TypStyl will instruct the printer
to type every line twice. If you are using a disk out file,
this will make the output file twice as large. Double-strike
works only for entire lines, not individual words or
characters. I recommend using it only when necessary. For
example, you might turn double-strike on to print the title
of a paper in large letters, then turn it off to print the
12-point text.
15
TypStyl
Appendix A
What's New in Version 1.1
Several major bugs in TypStyl have been corrected:
-- When TypStyl reads a nonexistent command and prompts
for a correct one, it now accepts the new command and
processes it. In version 1.0, it ignored the new
command.
-- Several corrections have been made in the tabulation
function. It now moves to the right location on
multiple tabs. It also gives the user a choice between
spacing or exiting if a tab moves TypStyl past the last
tab stop. In version 1.0, tabbing past the last stop
sometimes sent TypStyl into an endless loop.
-- TypStyl version 1.0 would not type a blank line
correctly in literal output mode. Instead, it would
repeat the last character in the previous line. This
has been corrected.
These new features have been added:
-- LS and XS optionally permit TypStyl to count spaces
from the input file literally, so that a double space on
input yields twice as long a space on output. Before,
multiple spaces were always ignored.
-- It is now possible to use CK to set a font's kern to
zero for printing of special characters.
-- DS and XD allow TypStyl to send each line to the
printer twice, creating a double-strike mode.
-- TypStyl now strings multiple hyphens together to form
a solid dash.
-- The user can abort TypStyl at most times by pressing
the "Exit" key.
16
TypStyl
Appendix B
Summary of Commands
n indicates an integral number.
x indicates a number in inches, picas or dots.
s indicates a character string.
Page
ALn: Add leading twelfths of an inch) . . . . . . . . 13
CFn: Change font (font number 1 to 9) . . . . . . . . .3
CKx: Change kern (inches, picas or dots). . . . . . . 15
CLn: Change leading (twelfths of an inch) . . . . . . 14
CPn: Conditional page (twelfths of an inch) . . . . . 12
CSx: Change word spacing (inches, picas or dots). . . 15
CTx,...x: Clear a tab (inches, picas or dots). . . . . . . 13
DL: Dot leader . . . . . . . . . . . . . . . . . . . 10
DS: Double-strike on . . . . . . . . . . . . . . . . 15
EP: End paragraph. . . . . . . . . . . . . . . . .3, 10
FL: Flush left . . . . . . . . . . . . . . . . . . . .5
FPs: Set font path (complete path, no spaces) . . . . .2
FR: Flush right. . . . . . . . . . . . . . . . . . . .5
HY: Hyphenate on . . . . . . . . . . . . . . . . . . .5
ILx,n: Indent left. . . . . . . . . . . . . . . . . . . 13
IN: Indent for paragraph . . . . . . . . . . . . . . .3
IRx,n: Indent right . . . . . . . . . . . . . . . . . . 13
JF: Justify. . . . . . . . . . . . . . . . . . . . . .5
LFns: Load font (number 1 to 9, font name) . . . . . . .2
LI: Literal output . . . . . . . . . . . . . . . . . .5
LS: Literal spacing . . . . . . . . . . . . . . . . 14
MBn: Bottom margin. . . . . . . . . . . . . . . . . . .7
MSx,x: Margin set (left/right: inches, picas, dots) . . .6
MTn: Top margin (twelfths of an inch) . . . . . . . . .7
NPs: Number pages (O, E, UL, UC, UR, LL, LC, LR). . . 11
PA: Page . . . . . . . . . . . . . . . . . . . . . . 12
PIx: Paragraph indent (inches, picas or dots) . . . . .6
PLn: Set page length (in twelfths of an inch) . . . . 12
PNn: Set page number (number) . . . . . . . . . . . . 12
QC: Quad center. . . . . . . . . . . . . . . . . . . 10
QL: Quad left. . . . . . . . . . . . . . . . . . .3, 10
QM: Quad middle. . . . . . . . . . . . . . . . . . . 10
QR: Quad right . . . . . . . . . . . . . . . . . . . 10
RC: Ragged, centered . . . . . . . . . . . . . . . . .5
RT: Regular tabs . . . . . . . . . . . . . . . . . . 13
SL: Split line . . . . . . . . . . . . . . . . . . . 10
STx,...x: Set tab (inches, picas or dots). . . . . . . . . 12
TB: Tabulate . . . . . . . . . . . . . . . . . . . . 12
XD: Double-strike off . . . . . . . . . . . . . . . 15
17
TypStyl
XH: Hyphenate off. . . . . . . . . . . . . . . . . . .5
XN: Stop numbering pages . . . . . . . . . . . . . . 11
XS: Stop literal spacing . . . . . . . . . . . . . . 14
XT: Clear all tabs . . . . . . . . . . . . . . . . . 13
18
TypStyl
Index
Command character. . . . . . . . . . . . . . . . . . . . 1, 5
Commands . . . . . . . . . . . . . . . . . . . . . . . 1, 10
Conditional page . . . . . . . . . . . . . . . . . . . . . 12
Dashes . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Dot leaders. . . . . . . . . . . . . . . . . . . . . . . . 10
Dots, widths in . . . . . . . . . . . . . . . . . . . . . 6
Double-strike . . . . . . . . . . . . . . . . . . . . . . 15
End paragraph. . . . . . . . . . . . . . . . . . . . . . . 10
Exit, emergency . . . . . . . . . . . . . . . . . . . . . 9
Flush left mode . . . . . . . . . . . . . . . . . . . . . 5
Flush right mode . . . . . . . . . . . . . . . . . . . . . 5
Fonts. . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Font path, setting . . . . . . . . . . . . . . . . . . . . 2
Hyphenation . . . . . . . . . . . . . . . . . . . . . . 5, 8
Inches, widths in . . . . . . . . . . . . . . . . . . . . 6
Indentation, line . . . . . . . . . . . . . . . . . . . . 3
Indentation, temporary . . . . . . . . . . . . . . . . . . 13
Input file . . . . . . . . . . . . . . . . . . . . . 1, 4, 8
Justifying . . . . . . . . . . . . . . . . . . . . . . . . 5
Kern, changing font . . . . . . . . . . . . . . . . . . . 15
Leading. . . . . . . . . . . . . . . . . . . . . . . . 13, 14
Line, ending a . . . . . . . . . . . . . . . . . . . . . . 3
Literal output . . . . . . . . . . . . . . . . . . . . . . 5
Literal spacing . . . . . . . . . . . . . . . . . . . . . 14
Load font. . . . . . . . . . . . . . . . . . . . . . . . . 2
Margins, left and right . . . . . . . . . . . . . . . . 6, 7
Margins, top and bottom. . . . . . . . . . . . . . . . . . 7
Memory requirements. . . . . . . . . . . . . . . . . . . . 2
Output file. . . . . . . . . . . . . . . . . . . . . . . 4, 8
Page, forced new . . . . . . . . . . . . . . . . . . . . . 12
Page length, changing . . . . . . . . . . . . . . . . . . 12
Page number, setting . . . . . . . . . . . . . . . . . . . 12
Page numbering . . . . . . . . . . . . . . . . . . . . . 11
Paragraph . . . . . . . . . . . . . . . . . . . . . . . 3, 6
Picas and points, widths in . . . . . . . . . . . . . . . 6
Printer, direct output . . . . . . . . . . . . . . . . . . 4
Quad center. . . . . . . . . . . . . . . . . . . . . . . . 10
Quad left. . . . . . . . . . . . . . . . . . . . . . . . 3, 9
Quad middle. . . . . . . . . . . . . . . . . . . . . . . . 10
Quad right . . . . . . . . . . . . . . . . . . . . . . . . 10
Ragged centered mode . . . . . . . . . . . . . . . . . . . 5
Set-up mode . . . . . . . . . . . . . . . . . . . . . . . 4
Split lines. . . . . . . . . . . . . . . . . . . . . . . . 10
Tabulation . . . . . . . . . . . . . . . . . . . . . . 12, 13
TYPSTYL.LST, default output file . . . . . . . . . . . . . 4
Word spacing, changing font . . . . . . . . . . . . . 14, 15
19