Xy4 Command Reference Guide
Xy4 Command Reference Guide
Preface
Getting Started
11- What You Need
1
1- What You Get
3
1- About XyWrite Commands
1-
3 About XyWrite Files
1-4 Getting Help
Filing
2-2 Overview
2-4 Setting the Default Drive
2-6 Clearing the Display
2-8 Appending One File to Another
2-9 Changing a File's Attribute
2-10 Calling a File to the Display
2-13 Changing the Current Directory
2-15 Copying a File
2-18 Deleting a File from Disk
2-20 Displaying a Directory
2-24 Displaying a Directory with Text
2-26 Running DOS Programs Under XyWrite
2-28 Running DOS Under XyWrite
2-31 Sorting the Directory
2-33 Running XyWrite
2-35 Returning to XyWrite from DOS
2-36 Finding a File
2-38 Stopping the Printer
2-39 Logging On and Off
2-41 Merging One File into Another
2-42 Creating a New File
2-45 Printing a File
2-50 Printing to a File
2-54 Printing to the Screen
2-57 Chain Printing
2-61 Quitting XyWrite
2-63 Reading a File
2-64 Renaming a File
2-65 Saving a File to Disk
2-65 Saving a Selected Block
iii
Table of Contents (confd)
2-
68 Storing a File to Disk
70
2- Displaying Subdirectories
2-
71 Waiting for the Printer
2-
72 Converting a File Between XyWrite and RFT:DCA Formats
Editing
3
3- Basics of the Screen, Keyboard and Mouse
3-
19 Editing Text
3-
33 Changing Case
3-
37 Math
3-41 Text Macro Keys
3-53 Search and Replace Text
3-69 Spelling Checker and Thesaurus
3-91 Windows
3-101 Word Count
Formatting
4-5 Overview
4-13 Alignment
4-25 Date & Time
4-31 Footnotes
4-51 Graphic Design Commands
4-71 Headers &: Footers
4-75 Importing Files
4-91 Numbering
4-117 Page Length
4-137 Page Width
4-153 Printer Control
4-163 Styles
4-169 Type Style
4-179 Vertical Spacing
Special Features
5-3 Columns
5-17 Document Assembly
5-25 Fill-In Forms
5-33 Mail Merge
5-55 Redlining
5-65 Sorting
5-77 Table of Contents & Index
5-97 User Programming
iv
Preface
Each section of the reference guide is self-contained so that you can read
sections in any order. For example, you will find the description of
footnotes all in one place, including both the footnote procedures and
commands.
• rWl — Refers to the command line, which is located at the top of the
screen.
• sans serif text — Indicates the keys you press to perform an action.
Statements that appear in this font can be typed literally, letter for
letter. For example:
call chapter.doc
• italic — The use of italic with commands is reserved for words (or
characters) that you are to replace with a specific name, such as
filename.
v
Preface (confd)
• filename — Anywhere you see the term filename, you may substitute the
more general term filename.ext. For example, to call up an existing
document:
call filename
can be replaced by:
call filename.ext
You can also add the path name. For example:
call d:\path\filename.ext
• # — The pound sign means one single character — any letter (A-Z) or
number (0-9).
• n — Represents any number. (The number can contain more than one
digit.)
The symbols in the left column are used throughout this manual to
represent keys on the keyboard. For a description of these keys, refer to
the Keyboard section in Chapter 3, 'Tditing."
vi 11
Introduction
Welcome to XyWrite.
1-1
Introduction (confd)
Once you have typed the command on the command line, you execute it
by pressing either [F9| or 0.
Essential Files
XyWrite Program: EDITOR.EXE
Printer Files: filenatne.PRN
Outline Screen Fonts: filename.SPD
Accessory Files
Startup File: STARTUP.INT
Default File: SETTINGS.DFL
Screen Display Backup Files: COLOR.DSP, MONO.DSP, GAS.DSP
LCD.DSP, G-SCALE.DSP
Help File: XY4.HLP
Menu Files: XY4.MNU, XY4.DLG
Keyboard File: XY4.KBD, XY4-3.KBD
Text Macro File: SAVEGET.SGT
Spelling PERS.SPL, DICT.SPL
Thesaurus WORD.OVR, WFBG.SYN
Hyphenation DICT.HYP
Most of the files listed above are in the XY4 directory. Other standard
XyWrite directories are listed below.
\BTFONTS contains the outline screen fonts.
\DOCS contains user files.
\XY4\FILTERS contains text conversion files.
\XY4\PICTURES contains sample graphic files.
\XY4\PRNFONT contains soft printer fonts.
XyWrite Files Are Pure ASCII. XyWrite does not insert control characters
into your document. Therefore, you can transport files to and from other
ASCII systems.
1-3
Introduction (conCd)
GETTING HELP
You have three sources of help available to you: On-Screen Help, the
documentation set, and telephone assistance. Each is described briefly
here.
Telephone Assistance. If the first two sources cannot help you, then by
all means call or write us at the following location:
The Technology Group
36 South Charles Street
Baltimore, MD 21201
410-576-1960
It will help us if you are at your computer with the problem at hand when
you call.
1-4
Filing
2-1
Overview
Use of Path. A path defines the location of a file. It can include a drive, a
series of directory and subdirectory names separated by backslashes (\),
and a filename. For example:
c:\novehdraft\chap1
If a path begins with a backslash, XyWrite starts its search from the root
directory; otherwise, the search begins at the current directory. Thus, you
can specify a path in either of two ways:
2-2
(confd) Overview
Calling a File Using a Path. Any of the XyWrite commands that use a
filename allow you to specify a path along with the filename. For example,
you can CALL a file as follows:
EHOcall d:path\filename Format
EEJcall c:\memos\vacation Example
Storing a File Using a Path. When you store or save a file, you return it to
the subdirectory from which it was called. Use the command:
Bm store
To STORE a file in some other directory, you must specify the path to that
directory.
2-3
Setting the Default Drive A:
PURPOSE Any drive can be designated the default drive—a diskette drive, hard
drive, or a RAM (virtual) drive. Setting the default drive is done by
entering the drive letter on the command line. For example:
ESJJd:
When you set the default drive, you are telling XyWrite which drive to use
when a filename is given without a drive letter prefix. For example, if
drive B is made the default drive, then the following statement would call
CHAPTER.DOC from drive B:
□call chapter.doc
2-4
(confd) A:
Result: Now every time you SAVE or STORE a file that was called from
drive C or B, XyWrite will save identical copies on both drives C and B.
Drive C is the default drive for all other commands (e.g., DIR, CALL,
PRINT, MERGE). When you specify one or more save-drives, you cannot
SAVE or STORE to just a single drive.
NOTE #1 Menu Option. You can change the default drive using the directories list
box, which appears in a number of dialog boxes (for example, Open File,
Manage Files). To change drives from a dialog box, highlight the drive
letter you want to make current and press 0/ or double-click on the drive
letter. You cannot use the menus to establish a save-drive.
NOTE #2 Changing Drives. If you change the default drive, you must re-establish
the save-drive.
NOTE #4 Default Drives at Startup. By adding the default drive as a line in your
STARTUP file, you can have XyWrite automatically switch default drives
at startup.
2-5
Clearing the Display ABORT
FORMAT toziABORT/nv
/nv (No Verify) is an optional switch that allows you to override the
verification message (see Note #1).
Abbrev ESZJAB/nv
MENU
Purpose ABORT clears the file from the display window and memory. Any
changes made to the file since it was last saved are lost and cannot be
recovered. To reduce the risk of having a file inadvertently aborted,
XyWrite displays the message 'Tile was modified-abort changes? (Y/N)"
when you try to ABORT a file that has been edited. You can override this
prompt by adding the /NV switch to the ABORT command.
Result: If you have not made any changes to the file while it was
displayed, XyWrite clears the screen immediately. If you have made
changes, XyWrite displays the message "File modified, abort anyway?
(Y/N)." If you press Y, the display is cleared. If you press N, the
command is cancelled.
Result: XyWrite clears the screen immediately, whether or not the file has
been modified.
2-6
(confd) ABORT
Note #1 Abort Prompt You can disable the ABORT prompt by changing the EP
(Error Prompt) setting. For more information on the EP setting, refer to
''Default Settings" in the Customization Guide.
NOTE #2 Windows. If there is more than one file open when ABORT is executed,
the file where the cursor is located is the one which is aborted, and the
current window is closed. (See the section on Windows in Chapter 3.) If
you prefer to leave the window open after you ABORT a file, you can
change the NW setting in the default file. Refer to "Default Settings" in
the Customization Guide for more information.
Appending a File APPEND, APT
Purpose The APPEND command adds text to the end of a file on disk. The APT
(Append to Top) command adds text to the beginning of a file on disk. The
text you append can be copied from the file on screen or from another file
on disk.
If you type the APPEND or APT command with only one filename,
XyWrite looks for selected text within the file on your screen. If it finds
selected text, that text is appended to the file you named; otherwise,
XyWrite adds the entire current file to the named file.
If you list two files after the APPEND or APT command, XyWrite copies
the first into the second. The first file remains unchanged.
Result: The current file (or selected text) is now copied to the end of
CHAPTER. If you use the APT command instead, the current file (or
selected text) is copied to the beginning of CHAPTER.
NOTE Deselect Text When adding the current file to another, it's smart to press
the [Esc] key before using APPEND or APT; otherwise, you may be adding
some off-screen selected text instead of the entire file as you intend.
2-8
ATTRIB Changing a File's Attribute
filename is the name of the file whose attribute you want to change.
# (optional) is 0 (for read/write) or 1 (for read-only). If omitted, XyWrite
displays the current attribute of the file on the status line.
MENU E0 E2E33S EEB
Purpose The ATTRIB command lets you determine the status of a file's read-only
attribute. It also allows you to change the attribute from read/write to
read-only or vice versa.
When you create a new file in XyWrite, it is automatically assigned
read/write status. Once you have stored it on disk, you can protect it
from accidental editing by changing its status to read-only. When a file is
read-only, you can open it and examine it; you can even modify it, but you
cannot save the changes under the same filename. If you try to, XyWrite
displays the message "Access denied."
NOTE READ Command. Do not confuse the read-only attribute with the READ
command. You can CALL a read-only file and edit it, although you can
save the edits only under a different filename. If you use the READ
command to display a file, you cannot edit it. (Files displayed with the
READ command have a club symbol before the filename. Read-only files
that you have CALLed do not display the club symbol; you need to use
the ATTRIB command to determine the file's status.)
2-9
Calling a File to the Display CALL
Purpose The CALL command loads a copy of the named file from the disk into
memory and the display for viewing and editing. If there is already a file
or directory displayed in the current window, XyWrite opens a new one.
CALL works by copying the file to the display. The original file remains
safely on the disk. Thus, you may edit or even ABORT the displayed file
without disturbing the original file. (Only when you SAVE or STORE the
file back to the disk does the file on the disk change.)
If you include the optional /F switch, XyWrite does not copy imported
graphic images to the display; in Graphic view, you see the space reserved
for the graphics and their names, but not the images. You can save some
time, particularly if the images are very large, by using the /F option. The
switch is especially useful if you have already reviewed the imported
images and are satisfied that they are scaled, cropped, and positioned the
way you want them.
Result: XyWrite calls the file CHAPTER.DOC to the display from disk
drive B, opening a new window if necessary. (If "b:" were omitted,
XyWrite would look on the default drive for the file.)
2-10
(confd) CALL
NOTE #1 Saving the File. CALL loads the file into memory. The file remains in
memory while you work on it. Any changes you make to the file are not
saved on disk until you SAVE or STORE it. Because memory is lost if the
power fails, it is a good idea to save the file occasionally, say every 15
minutes.
NOTE #2 Calling with Global Filenames. You can substitute the wild cards * and ?
for characters in a filename with CALL, in the same way you use them
with the DIR command—for example: CALL *.DOC. (Refer to
'Displaying a Directory7' for information on global filenames.) When you
use a global filename with CALL, the first file is displayed on the screen.
After you have finished reviewing or editing the displayed file, press
[Ctrl] [Ah] [Shift] N to display the next file that matches the global filename you
specified. If you have edited the current file, you will see the message
S=save, A=abandon edits, C=cancel. Press "S" to store the current file and
display the next one; press "A" to abort the current file and display the
next one; press "C" to keep the current file on the screen for editing.
Repeat this procedure until you see the message zzNo more files/'
NOTE #3 Calling a File Multiple Times. If you try to call the same file into more
than one window at the same time, XyWrite displays the message "File is
already open—open again? (Yes, No, Go, Read)." Press the appropriate
response.
Y Open another copy of the file for editing. When you make this
selection, XyWrite puts square brackets around the filename so that
you know it was not the first version called to the display; you cannot
store this version under the current filename.
N Cancel the command.
G Go to the window that already contains the specified file.
R Display a second copy of the file for reviewing only, not editing.
2-11
CALL (confd)
1. Display a directory for the drive you want (e.g., drive B):
Type: [Fsldir b:[<jl
2. Using the cursor up and down keys, move the cursor onto the desired
filename. Notice that the current line is highlighted.
3. Type: (FgcallH
NOTE #5 Binary Files. The XyWrite program includes several binary files (for
example, EDITOR.EXE and DICT.SPL). These files cannot be edited, and
you should not CALL them to the screen. If you inadvertently CALL a
binary file, you must ABORT it; never STORE a binary file—doing so will
corrupt it.
NOTE #5 RFT:DCA and L3P File Formats. The CALL command automatically
converts files from RFT:DCA and L3P formats into XyWrite format. It
does not change the original file, but converts a copy of it and displays the
copy as an untitled file.
NOTE #6 Other File Formats. You can call files from other word processors to the
display if they are strictly ASCII text. Others require a conversion that can
be accomplished using the menus. (Choose File, Open, Options, and then
highlight the format you want to convert from. Refer to the on-line help
file for more information.)
ALSO SEE Related Commands. A related command calls a special kind of file: CAF
(Call Form File). The READ command displays a file for reviewing only,
not editing.
2-12
CHDIR Changing the Current Directory
Purpose Three commands are covered here: MKDIR, CHDIR, and RMDIR.
These commands are useful to you only if you use subdirectories. The
general forms are:
Type these commands on the command line just as you would any other
XyWrite commands. These three commands are described further in your
DOS manual. The path is described in the Overview section earlier in this
chapter.
2-13
CHDIR (confd)
NOTE Menu Option. There is no explicit menu option for changing directories,
but it can be accomplished through any dialog box that contains a
directories list box (for example, Open File and Manage Files). To change
directories from a dialog box, highlight the name of the directory you
want to make current and press S or double-click on the directory name. If
the directory you want does not appear in the list box, highlight or
double-click on the entry for the parent directory.
also See The TREE Command. The TREE command displays a diagram of all
subdirectories on a drive. You can change to or remove a subdirectory by
placing the appropriate command on the command line, pointing at the
subdirectory name in the "tree," and pressing [F9j.
2-14
COPY Copying a File
PURPOSE The Xy Write COPY command is similar to the COPY command in DOS.
You can copy a file and give the copy a new name (Option 1), or you can
copy a file to a different drive or directory but keep the same name (Option
2).
Result: Two identical files now exist with different names (in the same
directory). Note, the comma is optional—you can use a space instead.
2-15
COPY (confd)
By leaving off the second drive and filename, you can copy a file from
another location to your current directory. For example, to copy REPORT
from drive B:
Type: [F5]copy bireportCT
Result: REPORT is copied into your current directory. (Since a target file
isn't named, XyWrite uses the original name.)
NOTE #1 Duplicate Filename. If the target filename you specify for the copy
already exists, XyWrite displays the message "File Exists, Overwrite It?
Y/N." Press "Y" if you want the copy you are making to supersede the
file that already exists with that filename. Press "N" to abort the COPY
command so you can reissue it with a new name.
If you include the /NV switch with the command, XyWrite automatically
supersedes an existing document with the same filename; no verification
message is displayed.
2-16
(confd) COPY
NOTE #2 Moving a File. If you want to move a file from one location to another,
include the /MV switch with the COPY command. The /MV switch
copies the file to the new location, and then deletes it from the original
location, which has the same effect as moving it from one location to
another. For example:
NOTE #3 Wild Cards. XyWrite does not recognize wild cards with the COPY
command in the same way that DOS does. However, you can include an
asterisk (*) in the target file specification if you want to retain part of the
original filename. For example:
NOTE #4 Copying the Current File. To copy a file that is currently displayed, you
must first save it to disk. COPY looks for and copies only files saved to disk
(rather than the version on your screen). (Use the SAVE and STORE
commands to copy the screen version of a file.)
2-17
Deleting a File from Disk DELETE
PURPOSE DELETE erases the named file from the specified drive. It does not affect
the display or memory. To minimize the risk of files being deleted
accidentally, XyWrite displays the message "Do you wish to delete?
(Y/N)" when you issue the DELETE command. You can override this
prompt by adding the /NV switch to the command.
There are two ways to delete a file (the result is the same either way):
2-18
(confd) DELETE
If you add the /NV switch to the command, the verification prompt does
not appear. For example:
Type: [F5]delete/nv chapter.docH
4. Now move the cursor down the list and stop on the filename you wish
to delete.
5. Press: [F9]
Result: The verification prompt appears. Press "Y" to erase the file from
disk; press "N" to cancel the command. (If you don't want to be bothered
with the verification message, add the /NV switch to the command.) You
can continue down the list and delete other files.
Do not hold down the F9 key! If you do, the autorepeat action will issue
several delete commands before you can see their effect on the screen. In
such a case, press [ctd] | Break I to stop more files from being deleted.
NOTE #1 Delete Prompt You can disable the verification prompt by changing the
EP setting in the default file. For more information on the EP setting, refer
to "Default Settings" in the Customization Guide.
2-19
Displaying a Directory DIR
PURPOSE DIR (Directory) displays names of files and subdirectories on the drive
and in the path you specify. For each file in the list, XyWrite also provides
the number of characters in the file, and the date and time the file was last
saved or stored (see Note #1). At the bottom of the display are the total
number of files and subdirectories in the list, the total number of
characters contained in the files, and the amount of space left on the disk.
You can use the optional switches to change the type of information that
XyWrite displays when you issue the DIR command.
You've got two options: you can display all the files or just the files you
want. The second option is very handy if your directory has more than a
screenful of files.
• Displaying a Complete Directory (Option 1)
ESQ DIR d:\path+
• Displaying a Partial Directory (Option 2)
ESZjDIR d:\path+\globalname
2-20
(confd) DIR
To display the names of just the files (not subdirectories) on another drive,
for example drive B (when the default is drive C), you would type the
following:
Type: [F5]dir7fi b:E]
To display an extended directory with the names of all files in the \XY4
directory and its subdirectories on the C drive:
Type: [gjdir c:\XY4+H
To display an extended directory of all the files with the extension .TMP in
the WORKING directory or any of its subdirectories:
Type: [F5]dir \working+\
.tmpEl
*
• Directories
• Filenames
• Number of characters in
file, includina spaces, tabs
and embedded commands
• Date and time file was
last saved or stored to
disk.
• Total number of files and
characters (bytes).
•Total number of bytes
available.
• Total number of
subdirectories.
2-21
DIR (confd)
DETAIL Global Name. A global name allows you to display a partial directory of
files that meet certain criteria, such as all files that have the extension
.TMP or all files in directories that start with DOC. You create a global
filename or directory name by using wild card characters. (Just like in a
card game, wild card characters represent other characters.) The wild card
characters that can be used with a directory are:
The Asterisk (*)
• When used with DIR, an asterisk (*) means that any character(s) can
occupy the remaining positions in the filename or extension.
• If the asterisk appears alone in the filename or extension, read the
asterisk as the phrase "all files."
• If any characters precede the asterisk, read it as the phrase "all files
that begin with ..." those characters.
• The asterisk represents any number of characters, from one to eight.
For example, ESZJdir f*. lists all files that begin with the letter f.
NOTE #1 Directory Display. If you use wild cards to build a XyWrite directory that
crosses path boundaries (by using the + option or wild cards in the
pathname), XyWrite adds the location of each file to the right side of the
directory display.
2-22
(confd) DIR
NOTE #2 Switch Combinations. You can use the following switch combinations to
display different types of directories:
/na/fi Displays a list of filenames only. No file information, no
subdirectories.
/na/pa Displays a list of subdirectories in the current directory, and
appends a list of available drives. (All entries are enclosed in
square brackets; drive letters are preceded by a hyphen.)
NOTE #3 Keeping the Directory Up-To-Date. Whenever you execute DIR, you get
a list current to that moment. That list is not automatically updated when
you rename, delete, or add files from the command line. You must execute
the DIR command again to update the list.
NOTE #4 Saving the Directory. If you want to, you can save the directory to a file
on disk. After you type DIR to display the directory, type SAVE or
STORE. The directory is saved to a file named DIRECTRY.TMP (unless
you specify a different name).
NOTE #5 Printing the Directory. You can easily print out the directory. Type DIR
to display the directory, then enter PRINT. XyWrite displays the message
"Print directory? (Y/N)." Press Y to print the directory, N to cancel the
command.
NOTE #6 Sorting the Directory. The directory defaults to listing files alphabetically
by filename. Use the DSORT command to sort by extension, date, path, or
to sort in reverse order.
NOTE #7 Date Format. You can change the format of the date in the directory
display by including the FZ setting in the default file. Refer to the
Customization Guide for more information.
2-23
Displaying a Directory with Text DIRL
PURPOSE DIRL (Long Directory) performs the same functions as the DIR command,
except that it also displays the first few lines of text in each file. DIRL
enables you to browse through your files.
Also covered here is the DI setting, which lets you modify how the long
directory is displayed.
2-24
(confd) DIRL
NOTE #1 Text Lines Displayed. The number of text lines displayed will vary from
file to file, due to program rules that attempt to cut off displayed text at a
logical point (e.g., at a period).
To display the file size in kilobytes (KB) and to display about four lines of
packed text, add the following setting to your default file. (Refer to the
Customization Guide for more information on the default file.)
df di=1024,4,1
If you apply this setting to the previous example, the display would look
like this—the text appears disordered since it is packed:
2-25
Running Programs Under XyWrite DO
Because you may encounter an error that prohibits you from returning to
XyWrite, it is a good idea to save your files before running the other
program. To reduce the chance that you might accidentally lose data,
XyWrite displays the message "Suspending XyWrite-save files to
AUTOSAV.TMP files? (Y/N)" if there are open files that have been edited
since they were last saved. Press Y to create the temporary backup files
before starting the program, or N to start the program without creating the
files. (Refer to 'Default Settings" in the Customization Guide for more
information about AUTOSAV.TMP files.) If you include the /NV switch
with the command, XyWrite runs the other program without creating the
backup files and without displaying the prompt.
2-26
(confd) DO
program you are running will not cause any errors that prevent you from
getting back to XyWrite, press N. Otherwise, press Y to create backup
copies of your files. XyWrite then runs the program BASIC. When you
are done with BASIC (that is, when you type the word SYSTEM), control
returns to XyWrite, exactly as you left it.
NOTE #2 Freezing the Display. When you issue the DO command, XyWrite clears
the screen before starting the specified program; when you end the
program, XyWrite restores the screen to its previous state. Depending on
the application, it may not be necessary to clear the screen, particularly if
the program you are running does not produce any on-screen messages.
In such cases, you can add the /X switch to the DO command to freeze the
screen display in its current state.
2-27
Running DOS Under XyWrite DOS
Purpose The DOS (Disk Operating System) command suspends XyWrite, then
loads and runs DOS. You have two options. With Option 1, the familiar
DOS prompt (A>, B>, or C>) appears, along with a prompt that reminds
you how to return to XyWrite. You can run any DOS commands or
programs you wish. When done, you type EXIT to return to XyWrite,
exactly as you left it. XyWrite is frozen in place while you are in DOS.
Option 2 runs just a single DOS command or batch file, and immediately
returns control to XyWrite when done. (In Option 2, DOS /C stands for
"DOS Command.") Use Option 2 when you want to run a DOS command
from a user program file.
Because you may encounter an error that prohibits you from returning to
XyWrite, it is a good idea to save your files before running DOS. To
reduce the chance that you might accidentally lose data, XyWrite displays
the message "Suspending XyWrite—save files to AUTOSAV.TMP files?
(Y/N)" if you have open files that have been edited since they were last
saved. Press Y to create the temporary backup files before loading DOS,
or N to load DOS without creating the files. (Refer to "Default Settings" in
the Customization Guide for more information about AUTOSAV.TMP files.)
If you include the /NV switch with the command, XyWrite loads DOS
without creating the backup files and without displaying the prompt.
2-28
(confd) DOS
2. Type: [F5]dos/nv/zM
Result: The display clears and the DOS prompt appears. Because the
command includes the optional switches, XyWrite does not display the
verification prompt that gives you the opportunity to create temporary
backup files, nor does it display the prompt that tells you how to get
back to XyWrite.
3. Now that you have entered DOS, you can use any commands or
programs that do not remain resident after execution. For instance,
you can copy disks, check disks (CHKDSK) or change the system date
(DATE). Or you can run application programs, such as Lotus 1-2-3,
dBase III, or BASIC, as long as there is enough memory.
2-29
DOS (confd)
Note #2 DOS Requirement In order to execute the DOS command, XyWrite must
be able to find COMMAND.COM. It can be in the current directory, or its
location can be defined in the path statement in the AUTOEXEC.BAT file.
(Refer to your DOS manual or to the Overview at the beginning of this
chapter for more information about path statements.)
also See Related Commands. The following DOS commands are found elsewhere
in this section, and can be executed from the command line on their own:
A:, ATTRIB, CHDIR, COPY, DEL, DIR, MKDIR, RMDIR, and RENAME.
The QUIT command also switches control to DOS, but quits XyWrite
altogether.
2-30
DSORT Sorting the Directory
PURPOSE DSORT (Directory Sort) sets the order in which filenames are displayed in
XyWrite directories. Once you set DSORT, it affects the listing of all
directories (on all drives) and stays in effect until you change it.
You can use the statistics maintained by DOS or by XyWrite to sort the
directory, or you can mix the two categories (see Examples below); you
can sort in forward or reverse order; and you can add a one-line header to
the directory, which shows the name of the directory.
note #1 Setting the Sort Order. STARTUP.INT contains a DSORT command that
automatically sets up the sort order as DSORT F,E (alphabetically by
filename and extension, with no header). Without the DSORT command,
the directory would be displayed as it is in DOS.
NOTE #2 Clearing the Sort Key. If you give the DSORT command without
arguments, then the directory is displayed as it would be in DOS.
Type: [FsJdsortQS
NOTE #3 How DSORT Works. DSORT sorts the filenames as they are read off the
disk—it does not rearrange the filenames as recorded on the disk.
2-32
EDITOR
PURPOSE EDITOR loads and runs XyWrite from DOS. You use EDITOR when you
first start up XyWrite, as the illustration shows. XyWrite, in turn, runs a
program called STARTUP.INT, which establishes starting values for a
variety of things, such as keyboard and printer files, defaults, etc.
If you want, you can type in a filename after the word EDITOR—that file
will be loaded into the display once XyWrite is running. You can also
include the name of an alternate startup file for XyWrite to run after it is
loaded. The choices are:
• Running XyWrite
A>EDITOR
• Running XyWrite and Calling a File
A> EDITOR d:filename
• Running XyWrite and a Startup File
A>EDITOR ,d:startup
• Running XyWrite, Running a Startup File, and Calling a File
A> EDITOR d:filename,d:startup
You can add the optional /E switch to any of the command options shown
above if you want to increase or decrease the amount of expanded
memory used by XyWrite (see Note #1).
|EDITOR J
f Oedltor ram
n
1P
; QUIT
L
|
DOS XYWRITE
2-33
EDITOR (confd)
NOTE #1 Expanded Memory. If you are using a computer that has been set up
with expanded memory that conforms to LIM specification 4.0 or higher,
XyWrite automatically uses up to 4MB of it, freeing conventional memory
for other purposes. The /E switch allows you to increase or decrease the
amount of expanded memory used by XyWrite. For example, if you do
not want XyWrite to use any expanded memory, at the DOS prompt:
Type: editor/eO
If you want XyWrite to use 2MB of expanded memory, at the DOS
prompt:
Type: editor/e2000
NOTE #2 Restoring a Logged Session. The menus give you the option of saving the
current window settings, including window number and size, filename,
current view, bookmarks, and cursor position for each window. If you
logged the previous XyWrite session before quitting, you can use the
Restore Session feature to return to where you were when you exited.
After starting XyWrite with the EDITOR command, press Ictri]L to display
the Log/Restore Session dialog box, activate the Restore Session radio
button, and press CT.
2-34
EXIT Returning to XyWrite from DOS
FORMAT c>exit
Purpose EXIT returns you to XyWrite from DOS as shown in the illustration below.
You type EXIT at the DOS prompt. (EXIT is not a command you can type
at the XyWrite command line.) EXIT works only if DOS is running under
XyWrite—that is, if DOS was entered using the DOS command (described
earlier in this section).
NOTE EXIT vs. EDITOR. Notice that you use EXIT rather than EDITOR to re
enter XyWrite. EDITOR would unnecessarily load and run a second copy
of XyWrite.
ALSO SEE The DOS Command. EXIT is used in conjunction with the XyWrite DOS
command.
2-35
Finding a File FIND, FINDL
Purpose The FIND and FINDL (Find Long) commands search through all files on a
disk for a file you specify. The FIND commands are especially useful if
you use subdirectories (such as on a hard disk)—FIND and FINDL search
through all subdirectories on the specified drive and list all occurrences of
that filename. In addition, FINDL lists the first few lines of text in each
file.
These commands fill several needs. The most obvious is to locate a file
anywhere on your disk. Since they display all files with the same name,
you will know if you've saved the same file in more than one subdirec
tory. If you have several different files with the same or similar names,
FINDL can help you identify which one contains the information you
want.
FIND and FINDL accept wild card symbols to help you find sets of files.
For example, FIND *. displays a list of every file on the disk you specify.
Refer to "Global Filenames" under the DIR command description for
more information about wild cards.
2-36
(confd) FIND, FINDL
NOTE #1 Customizing the Display. You can use the DI setting to customize the
FINDL display, just as you do with the DIRL display. Also, the FZ
(Format Date) default setting affects the FIND and FINDL display.
NOTE #2 Order of Displayed Files. FIND and FINDL display files in the order
they are stored on disk. They do not sort the files.
ALSO SEE Directory Command. You can use the DIR and DIRL commands to
perform the same functions as FIND and FINDL. The command format
is:
DIR\+\/t7emwze
DTRL\+\/i/ename
2-37
Stopping the Printer KILPRN
Purpose KILPRN (Kill Print) stops the output of a file to a printer (PRINT). It also
stops the printing of a file to a file (PRINTF).
NOTE Suspending Printing. You can use the menus to suspend printing of the
current job rather than killing it. When you suspend printing, you can
resume later at the point at which you stopped. To use this menu option,
choose Manage Jobs from the File menu.
2-38
LOGON, LOGOFF Logging On and Off
Purpose Before you can use XyWrite, you must log on to identify yourself to the
program. On stand-alone versions, the logon process is performed
automatically when you start up. On LAN (local area network) versions,
the LOGON command is displayed on the command line as soon as
XyWrite is loaded. Logon names are used by XyWrite's Document
Information and Redlining features to identify who created and edited
files. On LAN versions, logon names have the additional benefit of
allowing you to establish your own system preferences, which are
automatically loaded after you log on.
The LOGOFF command clears the screen and signs you off of XyWrite.
Although XyWrite is still loaded, you cannot call, create, or edit a
document without logging on again (see Note #1). LOGOFF is an optional
command: when you exit XyWrite, you are automatically logged off.
However, if you are working in an environment where several users share
a computer, you might want to develop the habit of logging off when you
leave the computer for an extended period. Otherwise, any files created or
edited by the next person who sits down at the computer will be
associated with your logon name.
2-39
LOGON, LOGOFF (confd)
TIP You can log on with one step by typing your user name, a comma, and
your password. For example:
[F5] logon black,whiteS
When you enter your password in this fashion, it appears on the screen
when you type it.
NOTE #1 XyWrite Settings. When you log off of XyWrite, all of the XyWrite settings
that were in effect remain in memory. Unless you are certain that you
were the last one to use XyWrite at a particular workstation, it is a good
idea to quit and reload XyWrite, rather than just log on. That way, you
know exactly what settings are in effect. To quit XyWrite:
Type: [F5]quitCTl
To reload it, at the DOS prompt:
Type: editor CT
NOTE #2 Limited Functions. Before you log on, there are a few XyWrite commands
that you can execute. These commands include RUN, LOAD, and
DEFAULT, which are commands used to load initial XyWrite settings.
2-40
MERGE Merging One File into Another
Purpose MERGE copies the entire text of the file you specify into the file you are
working on. The text is inserted at the cursor location. Its general form is:
m MERGE d:filename
The obvious application for MERGE is to copy one entire file into the one
you're working on. However, this command is also great for inserting so-
called boilerplate text into a file—that is, text which is used repeatedly.
Keep each boilerplate section in a separate file.
NOTE RFT:DCA and L3P File Formats. The MERGE command automatically
converts files from RFT:DCA and L3P formats into XyWrite format when
it copies them.
2-41
Creating a New File NEW
Purpose NEW creates a new file in a new window so you can begin typing. (This
new file is created in memory—see Note #1.) When you create a new file,
you have three options. The formats for these three choices are:
• Creating an Untitled File
ESS new (Option 1)
• Creating a New File with an Assigned Name
ESO NEW newfile (Option 2)
• Creating a New File and Copying into It
ESQ NEW newfile,existingfile (Option 3)
When you are finished with the untitled file, you can ABORT it to clear
the display and close the window—your file will be gone from memory. If
you decide you want a copy of this file on disk, use either the SAVE or
STORE command rather than ABORT. XyWrite will ask you to specify a
filename for the file when it stores it.
2-42
(confd) NEW
TIP You can combine options 1 and 3 to copy an existing file into a new,
untitled file. For example:
Type: [F5]new .lesson.one0
Note #1 Saving the New File. NEW creates the new file in memory, not on the
disk. The file is not saved on disk until you SAVE or STORE it.
2-43
NEW (confd)
NOTE #2 Naming a File. The rules for naming a file in XyWrite are the same as
they are in DOS. The general format is:
filename.ext
filename is from one to eight characters in length
.ext (optional) is an extension, which can be one to three characters in
length. There are no reserved extensions in XyWrite.
Valid characters include:
Letters A-Z, numbers 0-9
! @ #$% A &()_-{} ‘ ’
Invalid characters are:.
* + = ,.?"/\[];: |<>
and ASCII characters less than 32.
Any place in this manual where a filename appears, you can preface the
name with a drive letter and path name. (If either is left off, the default
drive or path is used.) For example:
Format d:\path\filename.ext
Example c:\working\chapter.doc
Reserved Names. Certain names are reserved for special uses and cannot
be used as filenames: STARTUP. INT, FO.TMP, REVIEW.TMP,
DIRECTRY.TMP, AUX, CON, COMI, COM2, LPT1, LPT2, LPT3, PRN.
NOTE #3 Checking for Filenames. If you try to use a filename that already exists in
the current directory, XyWrite displays the message "Filename already
exists" and waits for you to supply a new name and re-execute the
command.
NOTE #4 Document Summary. When you create a new file, XyWrite maintains
summary information about it. The summary information includes such
data as the name of the original author, name of the person who last
modified the file, comments, and keywords. The IO (Information On)
default setting turns the collection of this information on and off. Refer to
"Default Settings" in the Customization Guide for more information.
2-44
PRINT Printing a File
PURPOSE print sends text to your printer for printout. The text can originate from
a file stored on disk (Option 1) or from the displayed file (Options 2 and
3). You can print any number of copies or range of pages you wish, print
odd and even pages to produce two-sided copies, print uncollated copies,
print the pages in reverse order, or request the printer to pause after each
page (for sheet feeding).
2-45
PRINT (corn'd)
2-46
(cant'd) PRINT
BHOpnnt/nc/5 chapter.doc,3-12
Prints five uncollated copies of pages 3 thru 12 (see Note #3).
Ml print chapter.doc,3-12/18/23-26
Prints one copy of pages 3 thru 12,18, and 23 thru 26.
ESHprint chapter.doc,,p
Prints one copy of all pages, pausing after each page. Notice the two
commas when no pages are specified.
ESQ print chapter.doc,3-12,e
Prints one copy of even pages from 3-12 (see Note #10).
When you issue PRINT with a displayed file, XyWrite first copies the
displayed file to a temporary file. The printer prints from the temporary
file, freeing you to return to the original file (or any other file) to continue
editing and saving the file. (The temporary file is deleted when printing is
done.)
EXAMPLES Examples of Printing the Displayed File. These examples are similar to
those on the previous page except the filename CHAPTER.DOC is
omitted. The commas must be included as shown.
rann print
Prints one copy of all pages from the display (without pausing).
ESOprint/2 ,-12
Prints two copies of the first page thru page 12.
ESO print ,,p
Prints all pages, pausing after each page.
FM print ,3-12,e
Prints one copy of even pages from 3 to 12 (see Note #10).
2-47
PRINT (confd)
Result: To verify that you want to print the selected block and not the
entire displayed file, XyWrite displays the message 'Trint the selected
block? Y/N." Press "Y" to print the block, or "N" to cancel the command.
(You can override the message by adding the /NV switch to the
command.)
When you print a selected block, all formatting commands outside the
selected block are ignored. Therefore, you might not get the format you
expect.
NOTE #2 Reverse Option. The /RV (Reverse) switch is designed for use with laser
printers that output the pages so that the first page is on the bottom of the
stack and the last page is on the top. If you add the /RV switch to the
PRINT command, you don't have to reorganize the pages after printing.
NOTE #3 Uncollated Option. The /NC (Non-Collated) switch lets you print
multiple copies a page at a time. To use this option, you must have a
printer that can output uncollated copies (for example, one of the Hewlett
Packard LaserJet series), and you must use it in conjunction with the /#
switch.
NOTE #4 Pointing at a Filename. You can also point to the filename of the file you
want to print. Just display a directory, type PRINT (and any optional
arguments) on the command line, put the cursor on the name of the file
you want to print, and press [F9]. If you inadvertently leave the cursor on
the command line, XyWrite will display the message 'Trint the
directory? Y/N."
NOTE #5 Load Printer File. When printing, you should have the correct printer file
loaded. Look at the printer setup menu to find the name of your printer
file(s). (See the description of the SETP command in the Customization
Guide for more information.)
2-48
(confd) PRINT
NOTE #6 Set Page Number. When you use the SP (Set Page No.) command to
change page numbers, those are the numbers used by PRINT when you
print selected pages. If you prefer to have PRINT refer to the sequential
page number (e.g., the tenth page out of the printer, regardless of printed
page number) then change the SQ setting in the default file. For more
information on SP, see Chapter 4. For information on SQ, see "Default
Settings" in the Customization Guide.
NOTE #7 Print Queue. Because a printer can only process one job at a time,
XyWrite keeps track of your requests and lines them up in a print queue. If
you edit a file before it reaches the top of the print queue, XyWrite prints
the current version of the file, not the version that existed when you
issued the PRINT command. (The exception to this rule is a file that was
printed from the display rather than from disk; because the PRINT
command immediately makes a temporary copy of a displayed file, edits
made after the PRINT command was issued are not printed.)
You can review the status of the queue, change the order of files in it, or
delete a file from the queue by choosing Manage Jobs from the File menu.
NOTE #8 Formatting. When you issue the PRINT command, XyWrite
automatically formats the file before printing it. Format means to carry out
the embedded commands (represented by triangles in the text)—that is,
inserting any running headers or footers, footnotes, margin offsets, page
numbers, and widow/orphan page break decisions. PRINT also prepares
the file for the printer by inserting printer codes selected in the printer file
for typeface, type size, vertical spacing, and whatever else is specified.
NOTE #9 Pause and Prompt While Printing. You can insert the PR (Prompt) and
PA (Pause) commands anywhere in the text. These enable you to stop
printing at that point and display a message such as "Change to
letterhead." Refer to "Printer Control" in Chapter 4 for more information.
NOTE #10 Double-Sided Printing. If you want to print on both sides of the page
but your printer does not support duplex printing, use the "o" and "e"
options:
1. First print the odd-side of the pages:
[F5]print report„o£3
2. Remove the pages and reorient them as required for printing on the
other side.
3. Print the even pages:
[F5]print report„eG3
NOTE #11 Kill Printer. To stop the file currently being printed, type KILPRN (or KP)
on the command line. The printer will not stop printing until the text
stored in its internal buffer empties. Use KP Q to kill all files in the queue.
2-49
Printing to a File PRINTF
• Checking the character substitution table. You can view the text in
the target file to see if XyWrite is substituting characters as you expect.
•Sending files to other devices, such as a port (COMI or COM2) or
line printer (LPT1 or LPT2). Simply use the device name as the target
file.
• Diagnosing the printer file. Also, printing a file with PRINTF allows
you to see exactly which printer codes XyWrite inserts into the file.
2-50
(confd) PRINTF
With any of these options, you can add the / AS switch to create an ASCII
version of the file (see Note #2).
2-51
PRINTF (confd)
EXAMPLES You also have the ability in option 2 of naming the target file and printing
only certain pages.
ESOprintf,result.doc
Prints the displayed file to RESULT.DOC.
EHZJprintf,result.doc.2-5
Prints only pages 2 thru 5 of the displayed file to RESULT.DOC.
R5TZ1 print! „2-5
Prints only pages 2 thru 5 of the displayed file to FO.TMP.
NOTE #2 ASCII File. When you add the /AS switch to the PRINTF command,
XyWrite creates a target file that is stripped of all embedded commands.
This allows you to eliminate all format commands unique to XyWrite—for
example «MDBO» and «MDUL». You might find this helpful when
sending a file to someone using a different word processor.
NOTE #3 Print Queue. You cannot issue a PRINTF command while XyWrite is
printing a document or while there are files in the print queue.
NOTE #4 What Specifically Does PRINTF Do? The following changes are made to
a file when it is processed by PRINTF.
1. All embedded triangles are removed and replaced with hard text and
spaces, exactly as with PRINTS. These changes are listed under the
PRINTS command.
2. PRINTF also processes the file through the printer file. As a result, the
target file has printer codes embedded in it. Examples of these codes
are given in the following statements.
• All character modes are converted to printer codes.
• Line Ending (LE), Paragraph Ending (PE), File Begin (FB), File End
(FE), and Page End (PG) printer codes are inserted into the target
file.
• Any default settings specified in the printer file take effect (unless
they are explicitly overwritten by settings in the text).
2-52
(confd) PRINTF
4. PRINTF merges into your file the contents of any files you have
specified with the IN (Include) or IG (Import Graphic) command.
NOTE #5 Printing a Target File. Once you use PRINTF to create a target file on
disk, you can print it using the DOS PRINT command. The conversion to
printer codes has already taken place with the original PRINTF.
NOTE #6 DOS Device Names. You can "print'' directly to or from DOS devices by
using the device name in place of the target file—for example, PRINTF
Chapter,LPT1. Valid devices are: COMI, COM2, LPT1, LPT2, etc. Text is
sent directly from the file or display.
2-53
Printing to the Screen PRINTS
Purpose PRINTS (Print to Screen) displays a file on the screen almost as it would
be printed. It shows you all running headers, footers, footnotes, page
breaks, and page numbers. It does not display typefaces, type sizes, or
graphics, but is still a good way to preview a file to make sure it's correctly
formatted before printing it. If s much faster than printing, and you can
preview just a specific range of pages.
Option 1 allows you to preview a file stored on a disk drive. Option 2 lets
you preview the file that is currently displayed. The general, simplified
forms are:
• Previewing a Stored File (Option 1)
bfrld PRINTS dfilename
• Previewing the Displayed File (Option 2)
prints
2. Type: [F5]printsS
Result: The displayed file is printed to another window. (If there is a long
delay, refer to Note #2.) You can examine this file to get an idea of how it
would print out on paper.
NOTE #1 Speeding up PRINTS. When printing to the screen, a long file (over 20K)
may take over a minute. To speed this up, specify only the range of pages
you need, rather than the entire file. If you must print the entire file,
perform Option 1 with only one window open, to free up memory.
NOTE #2 Stopping PRINTS. The longer the file is, the longer it takes PRINTS to
complete its operation. If you find it is taking too long, use fctri] iBreakj. This
stops the process and displays what has been computed up to that point.
NOTE #3 What Specifically Does PRINTS Do? The following changes are made to
a file when it is processed by PRINTS. All embedded commands are
carried out by XyWrite as hard text and their triangles are removed.
Horizontal lines are inserted between pages, to indicate page breaks.
Other noticeable changes made by PRINTS include:
RH Running headers are incorporated into the text
RF Running footers are incorporated into the text
FN Footnotes are incorporated, with numbering
FD Soft page breaks are converted to hard breaks
PN Page numbers are inserted
DA Current date is inserted
TM Current time is inserted
RM Soft returns are converted to hard returns
TS Tabs are converted to series of spaces
TP Top margins are inserted as blank lines
BT Bottom margins are inserted as blank lines
OF Offset is incorporated as a shift in margins
LS Line spacing is incorporated as blank lines
WD Widow paragraph breaks take effect
OP Orphan paragraph breaks take effect
IX Index is extracted
TX Table of contents is extracted
Soft hyphens are converted to hard hyphens or are removed
2-55
PRINTS (confd)
PRINTS does not process the file through the printer file in the same way
that PRINTF does. As a result, the following statements hold true.
• All character modes remain unchanged. For instance, a word which
was originally underlined remains underlined.
• Justification is not apparent on the display.
• Printer codes are not embedded in the displayed file.
NOTE #4 Range of Pages. The same rules that apply to the PRINT command apply
to PRINTS for printing a specified range of pages. (See the examples
under the PRINT command.)
NOTE #5 Saving a Preview File. You can save a file created with PRINTS simply
by using SAVE with a filename. (If you don't specify a filename, XyWrite
uses REVIEW.TMP, which will be overwritten the next time you issue a
PRINTS command.)
NOTE #6 Print Queue. You cannot issue a PRINTS command while XyWrite is
printing a document, or while there are files in the print queue.
ALSO See Graphic View. If you have installed screen fonts and have the correct
hardware configuration, you can also use graphic view to preview your
file. Graphic view performs most of the functions of PRINTS, plus it
provides on-screen representation of the different fonts and point sizes in
your document, and allows you to edit text and formatting commands.
Graphic view also shows justified line endings and any graphic files you
have included in your file.
Graphic view does not work with chained files, nor does it display mail
merge fields, references, line numbering, or text macros entered with the
IS command.
2-56
PRINT @ Chain Printing
PURPOSE The PRINT @ command prints a sequence of files to the printer, one after
another, automatically. One benefit is that you may group files into sets.
A set of files is treated as a single document—with a single run of page
numbers, footnote numbers, chapter numbers, a single Table of Contents
and a single Index accumulated from across all named files.
2-57
PRINT @ (confd)
b. List the names of all of the files you want printed as a set. Separate
the names by spaces. At the end of the set, press 0. (You are not
constrained as to the number of files in a set. The files may word
wrap to subsequent lines and still be considered a set.)
Type: outline proposal0
c. List as many sets as you want. Make sure you end the last set with
a carriage return.
Type: chapterl chapter2 chapter30
2-58
(confd) PRINT @
Result: This single command prints all five files as shown in the
illustration below. In our example, notice that the two lines in EPIC
produce two sets of page numbers, as follows:
• OUTLINE and PROPOSAL are printed as one document, with
pages numbered from 1 to 15 in this example.
• CHAPTER1 through CHAPTER3 are printed as one large
document, starting at page 1 (and footnote 1) with one continuous
set of page numbers, footnotes, Table of Contents, and Index.
2-59
PRINT © (unit'd)
NOTE #1 Reverse Option. The /RV (Reverse) switch is designed for use with laser
printers that output the pages face up, so that the first page is on the
bottom of the stack and the last page is on the top. If you add the /RV
switch to the PRINT command, you don't have to reorganize the pages
after printing.
NOTE #2 Uncollated Option. The /NC (Non-Collated) switch lets you print
multiple copies a page at a time. To use this option, you must have a
printer that can output uncollated copies (for example, one of the Hewlett
Packard LaserJet series).
NOTE #3 Missing File. If a filename in the parent file is not found, XyWrite
displays the message "File not found." It does not print any of the files
listed in the parent file. Correct the parent file and reissue the PRINT @
command. (Be sure the parent file includes the path of any files not in the
current directory.)
NOTE #4 Page Format The overall page format commands (such as Offset, Top
Margin, Running Header) can be placed at the beginning of the first file of
a set. Their effects carry over into the following files of that set only, but
not to following sets. (The DEFAULT conditions take over again at the
start of each new set.)
The same is true for numbering systems, including page, chapter, and
footnote numbering. You can put DC (Define Counter), FN (Footnote),
and related commands in the first file of a set—the formats and sequences
are maintained throughout that set only. This is a very powerful
capability for printing a complete book from several files. (See
"Footnotes" and "Numbering" in Chapter 4 for details.)
NOTE #5 Background Printing. Once printing begins, you may continue editing.
But wait until a particular file is completely printed before saving to it.
NOTE #6 Kill Printing. One Kill Print (KP) command is all that's necessary to stop
all the files from printing.
NOTE #7 Related Command. The Set Page Number (SP) can be used to reset the
page numbers anywhere in the text.
NOTE #8 Referencing Other Files. You can use the Reference commands to refer to
labeled text that appears in earlier files in the chain, but you cannot refer
to subsequent files in the chain. Similarly, you cannot use the Final Page
command when chain printing. (See Chapter 4 for more information on
these commands.)
2-60
QUIT Quitting XyWrite
FORMAT E33QUIT
MENU E3EJ
Purpose QUIT terminates the current editing session by clearing any open files
from the display and returning control to DOS. Its general form is:
• rm QUIT (Option 1)
• ICtfi] [Ah] [Dei] (Option 2)
If you wish to re-enter XyWrite after quitting, you must enter the
following at the DOS prompt:
Type: editor^
2-61
QUIT (cont'd)
If you have files open, XyWrite alerts you to that fact and asks if you want
to quit anyway. If you respond with a Y (for yes), XyWrite then asks if
you want to save the open files to the disk you specify. In this way,
XyWrite allows you to save files even if your system is locked up.
However, it does not save these files using their original names. It saves
the file in window #1 as QUIT1.TMP, the file in window #2 as
QUIT2.TMP, and so on up to QUIT9.TMP.
NOTE #1 Logging the Session. The XyWrite menus include a Log Session feature
that lets you capture the status of your work before quitting. When you
activate Log Session, XyWrite saves the open files to disk and captures
your window settings, including window number and size, filename,
current view, bookmarks, and cursor position for each window. To use
this feature press [^ilL or choose Log Session from the File menu. To later
restore the session, press again or choose Restore Session from the
File menu.
also See The DOS Command. The DOS command also switches control to DOS,
but without disturbing XyWrite. XyWrite is suspended as-is. You can use
the EXIT command to return to any files left open. In contrast, QUIT
requires open files to be stored or aborted. (The DOS command can be
found earlier in this chapter.)
2-62
READ Reading a File
Purpose The READ command loads a copy of the named file from the disk into
memory and into the display for reading only. You can scroll through the
file, select and save blocks of text, and copy selected blocks to another file,
but you cannot add, delete, or move text in the displayed file.
Result: This example displays the file CHAPTER.DOC for your review.
The file is loaded to the screen from the \NOVEL subdirectory on disk
drive C. To indicate that this file is open for reading only, XyWrite
displays a 4 immediately before the filename.
NOTE #1 Pointing at a Filename. You can also point to the filename of the file you
want to read. Just display a directory, type READ on the command line,
put the cursor on the name of the file you want to read, and press [F9].
NOTE #2 Global Filenames. You can use the wild cards * and ? for characters in the
filename. (See the CALL command for more information on global
filenames.)
2-63
Renaming a File RENAME
Purpose The RENAME command lets you change the name of a stored file. It is
identical to the RENAME command in EXDS.
You can use RENAME to transfer a file to a different directory on the same
drive, but you cannot transfer a document to a different drive.
Result: The file is changed from MEMO to REPORT. The file MEMO no
longer exists.
If you do not specify a drive, XyWrite assumes the file you are renaming is
located in the current drive and directory.
NOTE Wild Cards. XyWrite does not recognize wild cards with the RENAME
command in the same way that DOS does. However, you can include an
asterisk (*) in the target file specification if you want to retain part of the
original filename. For example:
Type: [^rename chap 1 .doc,
.old
* £3
The filename is changed from CHAP1.DOC to CH API .OLD.
2-64
SAVE Saving a File to Disk
Purpose The SAVE command saves the displayed file to a file on disk. Unlike
STORE, it does not clear the file from the display. There are two ways to
save a file, the first being the one you typically use:
• Saving a File Under Its Own Name
hflWl! SAVE (Option 1)
• Saving a File Under a Different Name
MO SAVE d:filename (Option 2)
You can save part of your file with SAVESEL (Save Selected Block).
• Saving a Block of Text
fcM SAVESEL dfilename (Option 3)
2-65
SAVE (confd)
NOTE #1 Saving to Another Drive. If you want to save the displayed file to
another drive but keep the same name, you can save with just the drive
letter:
Type: [F5]save b:0
This example saves the displayed file to drive B under the name
EXERCISE.DOC. If this is a new filename, XyWrite goes ahead and
creates a new file with that name. However, if this filename already exists,
XyWrite will ask if you want to write over the existing file.
If you add the optional /NE switch, XyWrite saves the displayed file to
the new name, then aborts the displayed file and redisplays it under its
new name.
Result: The block of text is now copied to drive B in the file ITEM.DOC.
The original block remains highlighted in the file. This new file can be
called to the display whenever you desire for editing.
NOTE #2 Save Frequently. As a precaution, it's a good idea to SAVE your file
frequently, say every 15 minutes. Then if a power failure occurs, you lose
only the changes you made since you last saved.
2-66
(confd) SAVE
NOTE #3 Windows. If there is more than one file open when SAVE is executed, the
file where the cursor is located is the one which is saved. (See the section
on Windows in Chapter 3.)
NOTE #4 Saving All Files at Once. The SL function call lets you save all open files
with one keystroke. (See "Keyboard Files" in the Customization Guide for
information on modifying the keyboard file.)
NOTE #5 DOS Devices. You can SAVE directly to DOS devices (for example, SAVE
LPT1). The text is sent without the benefit of the printer file.
NOTE #6 SAVE %. You can save the contents of a text macro key to a file on disk
with SAVE %. For example, SAVE %A saves the contents of text macro A
to a file it names A.SAV.
NOTE #8 ASCII Format. If you want to save the file to ASCII format, use the
PRINTF command with the / AS switch. (See "Printing to a File" for more
information.)
NOTE #9 Other Formats. The menus allow you to save files to other word
processor formats. Choose Save As from the File menu for a list of
options.
Storing a File to Disk STORE
Purpose STORE saves the displayed file to a disk drive and clears the display. You
are then free to call another file to the display, or quit XyWrite. You have
two ways to store a file, the first being the more frequently used:
• Storing a File Under Its Own Name
few) STORE (Option 1)
• Storing a File Under a Different Name
ES3 STORE d:filename (Option 2)
Result: The file is stored to the filename shown at the top of the display.
(Note: If there were no directory named TEST, the file would be stored to
the filename TEST.)
2-68
(confd) STORE
Result: This example stores the displayed file to a file named CHAPTER
in the \BOOK directory on drive C. If this is a new filename, this
command creates a new file with that name. If this filename already
exists, XyWrite will ask if you want to write over the contents of that file.
NOTE #1 Windows. If there is more than one file open when STORE is executed,
the file where the cursor is located is the one which is stored, and the
window is closed. (See the section on Windows in Chapter 3.) If you
prefer to leave the window open, you can change the NW setting in the
default file. Refer to the Customization Guide for more information.
NOTE #2 Storing All Files at Once. The SF function call lets you store all open files
with one keystroke. (See "Keyboard Files" in the Customization Guide for
information on modifying the keyboard file.)
NOTE #3 Automatic Abort. If you have not made any changes to the displayed file,
XyWrite aborts the file rather than storing it. This saves time, because the
disk does not have to be updated.
NOTE #4 Storing Under a Different Name. If you store a file under a different
name or to a different drive, the original file is not updated.
ALSO SEE Storing to Two or More Drives at Once. You can tell XyWrite to store to
two different drives each time you execute STORE (or SAVE). This is great
for keeping backup files. Refer to the procedure "Setting the Default
Drive and Save-Drives" earlier in this chapter.
2-69
Displaying Subdirectories TREE
Result: The subdirectory you selected is now the current directory. The
tree display remains on the screen.
You can use the same method to execute the DIR and RMDIR commands.
2-70
WAIT Waiting for the Printer
FORMAT MWAIT
MENU Not a menu item.
Purpose The WAIT command causes XyWrite to wait until printing jobs are
finished before the next keystroke is executed. When you execute the
WAIT command, the display freezes. XyWrite does not act on any further
keyboard or keystroke input until the PRINT or PRINTF command is
completed. Any keystrokes are saved and will be acted on when the
current PRINT or PRINTF job is finished.
You might use WAIT in a user program where you want to use the result
of PRINTF (Print to File) for further action. For example, if you were to
use PRINTF REPORT,RESULT and wanted to next call up RESULT, it
would be prudent to include a WAIT:
BC printf report,result
BC wait
BC call result
If you did not include WAIT, XyWrite would accept input (keyboard or
program) before PRINTF was complete, which means it would attempt to
call up RESULT before PRINTF was finished.
Note #1 Pause While Printing. The WAIT command is incompatible with the
embedded PA (Pause) commands and with the P (Pause) modifier to the
PRINT commands. That's because both require keyboard input (0) which
XyWrite will not read until printing is complete.
2-71
XyWrite/RFT:DCA File Conversion X2R, R2X
d: (optional) is the letter you specify for the drive you want. If you omit
the drive letter, the default drive is used.
sourcefile is the name of the file to be converted.
targetfile is the name of the converted version of the file.
menu e3ESS,E3EH3
1. Decide on a name for the target file. We'll use CHAPTER.TRN. (If you
omit this name, R2X will add the extension ".XY4" to the input
filename, e.g., CHAPTER.XY4.)
2-72
(confd) X2R, R2X
NOTE #2 Exceptions. DCA is a formatting standard, and therefore does not have
equivalents for many of the special features that are part of XyWrite.
Specifically, the following XyWrite functions are not available in DCA:
• Mail Merge
• Automatic Numbering (counters and reference commands)
• Most printer control commands (Include, Printer Insert, AutoPause)
2-73
NOTES
2-74
Editing
Intro This chapter covers basic editing. It begins with the screen and keyboard
and progresses into methods you can use to modify text. These tools are
the same whether you are writing a new document or modifying an
existing one.
3-1
Editing (confd)
3-91 Windows
3-94 Window Menu EdJE
[F6], [Shift] [F6], ®[F6]
3-97 Switching Windows
3-98 Opening a New Window WINDOW
3-99 Removing a Window RS
3-2
Basics of the Screen, Keyboard, and Mouse
Intro The screen, keyboard, and mouse are useful topics for beginning a
description of XyWrite. The screen section is fairly elementary—you can
cover it in one reading. You may find yourself referring to the keyboard
and mouse sections several times until you're familiar with them.
3-16 Mouse
3-16 Toggling Between Command Line and Action Bar
3-16 Selecting Menu Options
3-16 Moving Around in a File
3-17 Moving Between Windows
3-17 Moving Around in a Dialog Box
3-17 Activating Items in a Dialog Box
3-17 Selecting Text
3-3
Screen
Purpose The display is divided into two separate areas: the header, which is the
top three lines, and the text area, which is the rest of the display. Those
features of XyWrite visible on the screen are described here.
Cursor. The cursor is the blinking square or underline on the screen. The
position of the cursor marks the "point of action" where text or commands
are entered or deleted.
The shape of the text cursor is a square in Insert Mode and an underline in
Overstrike Mode. (You switch modes with the Qns] key.)
Command Line/Action Bar. The top line of the screen is where you "talk"
to XyWrite, either with commands or by using menus. If you press [F5] to
enter a command such as NEW or PRINT, the command line—which
begins with the current drive and path name in reverse mode—appears on
the top line of the screen. If you press [Rio] to activate menus, the action bar
appears on the top line.
6 7
1
CM CO
Status Line. This is the second line on the display. It has several parts,
and provides useful information about where you are working, and what
conditions are in effect.
Prompt area—The beginning of the line is where XyWrite displays
messages for you.
3-5
Screen (confd)
• Toggle indicators tell you the state of certain XyWrite functions. They
include:
C (Caps Lock) c (Auto-Check/Correct)
S (Scroll Lock) r (Auto-Replace)
N (Numeric Lock) A (Automatic Uppercase)
I (Insert) R (Redlining)
o (Word Overstrike) X (Temporary File)
O (Character Overstrike)
The first eight toggle indicators are associated with keys and are
described later in this section. The A and R indicators are associated
with commands; refer to the appropriate command descriptions for
more information. The X indicator appears when XyWrite is writing
information from memory out to disk.
Ruler. This is the third line on the display. The ruler has markings for
margin, tab and indent settings. It is described in detail in Chapter 4.
The Text Area. This is where you view and revise documents. This
viewing area is 20 lines long and 78 characters wide, and is surrounded
by borders. The top border displays the filename (including drive and
path) of the open file. The right and bottom borders are scroll bars,
which you can use with a mouse to move vertically and horizontally in
a file.
You can split the text area to work on two or more files at once. You can
view them side-by-side, one above the other, or staggered; in fact, you
can create any arrangement you want. Within the text area, you can
scroll a document up and down; you can also move it left and right—a
document can be as wide as 256 characters (see Note #3).
NOTE #1 Replacing the Ruler Line. If you want to change the ruler to a solid
line or remove it completely so you have an extra line of text displayed,
use the NR function call. This function call cycles between the three
possible states for the third line of the display: ruler, solid line, text.
Refer to "Keyboard Settings" in the Customization Guide for more
information on using function calls.
NOTE #2 Turning Off Borders. You can turn off borders and increase the
amount of text displayed on the screen by setting the MW default to 0.
Refer to "Default Settings" in the Customization Guide for more
information.
3-6
Keyboard
Purpose The keyboard, of course, is where you type text into your computer.
The keyboard has basically three sections to it, as shown below. We
will describe on the following pages those parts of the keyboard that
are unique to XyWrite.
Function Keys
3-7
Command Line Keys
Purpose The command line is an important part of XyWrite. If you plan to use
the command interface rather than menus, you need to become com-
fortable with the keys associated with the command line: [F5], ishiftl |F5|,
Iral, Icirtll+l.and
NOTE #2 Commands Within Programs. XyWrite does not "stack" commands that
are issued within XyWrite programs, which means it does not stack
commands that are issued from the menus.
3-8
Cursor Keys
Cursor keys allow you to move the cursor or scroll the text. We have
listed all cursor keys in the following tables. Note that with all of these
functions, holding down the key will repeat the function.
SCROLLING UP OR DOWN
Keys Function Scroll
[PflUpI One screen up Screen
|PgDn| One screen down
®[Sup1 One line up Line
ICtrll JPgDnl One line down
[AitlfPgUpl One printed page up Printed Page
[Ait]|PgDn| One printed page down
ICtrll iHomel To top of document Document
ICtrll (End| To bottom of document
3-9
Cursor Keys (confd)
Keys Function
EH Move to and erase command line
lSh’rftllF5l Switch between command line and text area
3-10
Function Keys
PURPOSE The function keys are the twelve keys EJ through [F12I on the top row of the
keyboard. (On PC and XT keyboards, there are 10 function keys on the left
side of the keyboard.) These keys provide frequently used editing
functions and commands. Once you know these functions you have a
powerful set of tools for editing your text.
ED# Insert Text Macro. Copy text from the specified text macro (#) to the cursor
location.
[Shift] [F21# Define Text Macro. Save the selected block of text to the text macro specified
by the next key struck.
eseh List Macros. Display a list of the defined text macro keys.
Undelete. Restore the last text deleted or display the delete stack. (Same as
eud
E] Begin/End Block Selection. Begin or end selecting a block of text of any size.
[Shift] [F31 Extend Selection. Extend selected block to current cursor location.
ICM1E21 List Selection Options. Display a list of selection options.
®Eg Begin Column Selection. Begin selecting a column of text.
Ei Clear Command Line. Clear the command line and move the cursor there.
[shift] [F5] Toggle Between Command Line and Text. Move the cursor between the
command line and text without clearing the command line.
[C«i]|F5| Command Stack. Display a list of commands in the command stack.
Eg Cycle Through All Windows. Move the cursor through all open windows in
sequence.
[shift] [F6] Cycle Through All Windows. Move the cursor through all open windows in
reverse sequence.
3-11
Function Keys (corn'd)
Spell Check. Display a menu of spell checking options you can apply to the
open document.
[Shift] [F7] Thesaurus. Display a list of synonyms for the current word.
[cjra Spell Check Word. Check the spelling of the current word.
Auto-Check. Turn automatic spell checking on or off.
|F8) Draft View with Page Breaks. Move from current view to Draft view with
page breaks.
[Shift] [F8] Graphic View. Move from the current view to Graphic view.
[sra Expanded View. Move from the current view to Expanded view.
Draft View. Move from the current view to Draft view without page breaks.
[H0| Action Bar. Toggle between action bar and text area.
[Shift] [FiQl Most Recent Menu. Redisplay last dialog box.
EH Edit Marker. Opens the marker under the cursor so it can be modified.
(Same as fAhl [fT|.)
[shiftllFiil Show/Hide Markers. Turn the display of markers (▲ and <-) on or off.
Undelete. Restore the last text deleted or display the delete stack. (Same
as ®[g].)
[Shift) [F12] Delete Selected Text. Delete the text currently selected.
[teillF121 Delete Paragraph. Delete the current paragraph.
3-12
Toggle Keys
Purpose Toggle keys affect the way that you enter text. Each key has two states—
on and off. XyWrite's toggle keys are:
• Insert/Overstrike [ins]
• Numeric Lock iNum Lock I
• Scroll Lock I Scroll Lock !
• Caps Lock leaps Lock I
• Auto-Check [Alt] [F71
• Auto-Replace [Ctrl] [shift] A
The toggle keys are executed by pressing the key(s) shown above. The I Shift I
key is also described here.
NOTE Word Overstrike. Once you press [ah] [Ins] to turn on word overstrike mode,
that becomes the prevailing overstrike mode. When you subsequently
press [ins], XyWrite toggles between Insert and Word Overstrike. If you
want to restore the character overstrike capability, issue the following
command from the command line:
[F5]default wo=0£3
3-13
Toggle Keys (confd)
TOGGLE KEYS
Switches between Insert and Overstrike. XyWrite is always in one mode or the
other.
• Insert Mode. As you type on the keyboard, the characters are inserted into
the text without destroying any of the text already present. The new text
pushes the existing text out of its way. XyWrite starts up in Insert mode.
• Overstrike Mode. The characters you type replace the characters (or tabs)
already in the text. This is useful when you want to change text from one
thing to another.
Switches between Insert and Word Overstrike. In Word Overstrike mode, you
can type over everything except tabs, spaces, and carriage returns.
I Num Lock I Press once to turn on, and again to turn off. When on, the letter N is at the top
right of the screen.
• Numeric Lock On. The numeric keypad shifts to number keys 0-9, for use
as a calculator keypad.
• Off. The numeric keypad operates as cursor keys.
I Scroll Lock) Press once to turn on, and again to turn off. This function is used only in
program editing; refer to Chapter 5 for details. When Scroll Lock is on, the
letter S is at the top right of the screen.
|CapsLock| Press once to turn on, and again to turn off. When on, the letter C is at the top
right of the screen.
• Caps Lock On. All letters are locked in uppercase. No other keys are
affected. This contrasts with [Shift] which shifts not only letter keys, but all
keys, including number, punctuation, and cursor keys.
• Off. All keys are unshifted—letters are lowercase.
|ShSl Shift Key (momentary). Press and hold down to keep on. Release to turn off.
• Pressed In. All keys are shifted to uppercase, including letter, number,
punctuation and cursor keys. If the Caps Lock key is on, pressing |Shift| shifts
the keyboard to lowercase.
• Released. All keys are unshifted.
@0 Turns Auto-Check on or off. When on, the letter c is at the top right of the
screen.
• Auto-Check On. XyWrite checks the spelling of each word as you type. If
you misspell a word, you will hear an error beep.
• Off. XyWrite performs no spell checking as you type.
3-14
(confd) Toggle Keys
3-15
Mouse
Purpose if you have a mouse installed on your computer, you can use it to move
quickly around the screen and to perform some basic text editing
functions.
Toggling Between Command Line and Action Bar. To change the first
line on the screen from the action bar to the command line (or vice versa),
point at it, hold down the right button and double click the left button.
If window borders are displayed, you can use the mouse to scroll
vertically and horizontally through a file. To turn borders on, set the MW
(Maximize Windows) default to 1. Refer to "Default Settings" in the
Customization Guide for more information on the MW setting.
With borders on, use the following procedures to scroll a file horizontally:
• A line at a time: Point at the up or down arrow in the scroll bar and
click.
• A screen at a time: Point at the space between the slider box and the up
or down arrow and click.
• To a particular place: Drag the slider box up or down until you reach the
relative position you want in the file.
With borders on, use the following procedures to scroll a file vertically:
• One character at a time: Point at the left or right arrow on the horizontal
scroll bar and click.
3-16
(confd) Mouse
• Eight characters at a time: Point at the space between the slider box and
the left or right arrow and click.
• To a particular place: Drag the slider box right or left until you reach the
relative position you want on the line.
Moving Around in a Dialog Box. You move around in a dialog box just
as you do in the text window: point to the location you want and click.
Selecting Text. You can use the mouse to select words, blocks, or
columns of text by using the following procedures:
• Words: Point at the word you want to select and double click.
• Blocks: Point at the beginning of the block you want to select; press and
hold down the button. Drag to the end of the block you want to select
and release the button.
• Columns: Point at the beginning of the column you want to select, then
drag to the end of the column.
In addition, you can use the [Shift] key in conjunction with the mouse button
to extend a selection from the anchor point (the point at which you started
the selected block) to the current position. To use this feature, press and
hold down [Shg], and click on the character or space that follows the last
character in the extension.
NOTE #1 Mouse Buttons. XyWrite supports 2- and 3-button mice, and is set up for
right-handed users. Unless otherwise noted, the instructions to click mean
to press the left button. If you prefer to reverse the functions assigned to
the left and right buttons, change the RB (Reverse Buttons) default setting.
(Refer to "Default Settings" in the Customization Guide for more
information.)
3-17
Mouse (confd)
NOTE #2 Installation. To use the mouse with XyWrite, you must load the mouse
driver before starting XyWrite. Once XyWrite is loaded, turn on the
mouse by setting the UR default to 1. (Refer to the documentation
provided with your mouse for information about loading the mouse
driver; refer to "Default Settings" in the Customization Guide for more
information on the UR setting.)
NOTE #3 Exception. You cannot use the mouse with the thesaurus dialog box.
NOTE #4 Default Settings. There are several default settings that apply to mouse
use. They are as follows:
• CR (Cursor). Allows you to change the color of the mouse pointer that
appears in Draft and Expanded views.
• R1 (Reverse Interval). Allows you to set the time interval for a click.
• R2 (Mouse Repetition Rate). Allows you to set the time interval for a
double click.
• RX and RY. Allow you to set the mouse-to-pixel ratio for horizontal
and vertical movement.
• RB (Reverse Buttons). Allows you to change the default mouse button
from the left one to the right.
• UR (Use Pointer). Turns the mouse pointer on or off.
3-18
Editing Text
Intro Once you have written a document with XyWrite, you will be ready to
revise it. The following functions cover the essentials for making revisions.
3-19
Selecting a Block of Text
Purpose When you select text, you are marking it as a block to be acted on in some
way (e.g., moved, copied, deleted, saved or printed). The overall list of
possibilities is shown in the diagram below.
Practical Uses. Here are some instances when the block editing features
would be useful:
• Select a word in order to move it to another part of your document or
to another document altogether.
• Select a word in order to underline it ((ciril U).
• Select a heading in order to capitalize it (UC).
• Select a line of text in order to print out just that line (PRINT).
• Select a sentence in order to save it to a text macro key ([shift] [F2]#). You
can later recall it with a keystroke (£2]#).
• Select a block of text in order to protect it from modifications (NM).
• Select a block of text in order to indent it (IP).
3-20
(conCd) Selecting a Block of Text
SELECT KEYS
[F3] Select Any Size Block of Text Follow the procedure "Selecting a Block
of Text.” This procedure allows you to select any size block of text, from
one character to the entire document.
[Shiftl [F31 Extend Selection. Extends selected text boundary to the current cursor
position.
[Shift] [F4] Select by Sentence. Selects the sentence that the cursor is on. It selects
all characters from the previous sentence separator or hard return, up to
and including the next sentence separator or hard return (0] is the hard
return). To select successive sentences, hold down I Shiftl and repeatedly
press |F4].
[Esc] De-Select. Releases any selected text, so that it can no longer be acted on
as a block. Text is returned from bright to normal to indicate it is no longer
selected. You may then select a new block of text. You should release any
selected text when you finish using it.
NOTE #1 Other Select Text Keys. In addition to the keys described in the
preceding table, you can use |Shrft| in conjunction with a cursor
movement key to select the block of text associated with the cursor
movement. For example, [ctri]0 moves the cursor to the next word;
[Shift] [ctrtl 0 moves the cursor to and selects the next word.
NOTE #2 Mouse. You can also select text with the mouse. Refer to the
mouse procedures earlier in this chapter for more information.
3-21
Selecting a Block of Text (confd)
2. Move the cursor anywhere within the text you want to select.
3. Press the key(s) corresponding to the amount of text you want selected.
For example, to select a sentence:
Press: [shift] [F4]
Result: The selected text appears brighter than normal. You can now
move it, copy it, delete it, protect it, or save it as you wish.
2. Begin the block select Move the cursor to the first character of the
text you want to select.
Press: [F3|
3. Select the size of the block. Now move the cursor to the other end of
the text you want to select. Notice that as you move, the area of text
between the cursor and where you started is highlighted.
Result: The block of text is now selected (see Notes #2 and #3). Now you
can move it, copy it, delete it, protect it, or save it as you wish.
3-22
(confd) Selecting a Block of Text
Note #1 Releasing Selected Text. It is a good habit to release any selected text
with [Esc] when you are through using it, as there are a number of functions
that do not work while a block of text is selected.
NOTE #2 Automatically Ending a Block. Unless you are going to move the selected
block or copy it to a different location in the document, you don't need to
press [F3] to end the selection. Simply move the cursor to the end of the
block you want to select and execute the action you want (delete, save,
print, change case, etc.). XyWrite assumes you have completed the
selection process when you issue instructions to act on the block.
NOTE #3 Extending Selected Text If you end a selected block and then realize that
you want to include more text, you don't have to start the selection
process all over. Just move the cursor to the point where you now want to
start or end the block and press [Shift] [F3]. XyWrite automatically extends the
selected block to the current cursor position. Press [F3] to complete the
selection at the new point.
NOTE #4 Requirements for Column Selection. You can select columns only for
copying or moving. You cannot print, protect, or change the character
mode or case of a selected column. In addition, the lines to which you are
copying or moving the column of text must end in hard returns. Column
selection applies to text that is tabbed or spaced; it does not apply to
columns that were set up with the CT (Create Table command).
If you use column selection on word-wrapped lines, XyWrite highlights
the text in the first line of a paragraph only. This allows you to select a
column from a table in which another column wraps to several lines.
3-23
Selecting a Block of Text (confd)
NOTE #5 Selected Status Indicator. You can track the status of the selection
process by referring to your header. Normally the window field consists
of the window number followed by a blank space. When you start
selecting a block of text by pressing [F3], a hyphen appears after the
number. When you complete the selection by pressing [F3] again or when
you press one of the select unit keys (e.g., [F4]), the hyphen becomes an
equals sign. And when you release the selected block by pressing [Escl. the
equals sign disappears and there is again a space after the window
number.
NOTE #7 Selecting Blocks in Tables. To select a block of text within a table, refer to
the section on tables in Chapter 5.
3-24
[CtrilC Copying a Block of Text
FORMAT @C
menu emesi
PURPOSE allows you to copy a selected block of text to another part of the
document, or to another document altogether (in another window). It
leaves the original text unchanged.
NOTE #2 Copying Text Between Windows. When you press @C, XyWrite first
looks within the current document for the selected block of text. If it can't
find a selected block there, it looks in the previous window for a selected
block to move. You can move blocks only between the current and
previous windows.
3-25
Moving a Block of Text JcTrtlM
FORMAT [CtrilM
MENU E3 C33
Purpose IcirilM moves a selected block of text to another part of the document, or to
another document altogether.
Result: The text selected in Step 1 is inserted at the cursor location and
deleted from its original location. This completes the operation. [Esc] is not
necessary after Step 3 since the text is automatically released when you
move it (but not when you copy it).
NOTE #2 Moving Text Between Windows. When you press [ctrii]M, XyWrite first
looks within the current document for the selected block of text. If it can't
find a selected block there, it looks in the previous window for a selected
block to move. You can move blocks only between the current and
previous windows.
3-26
NM Protecting a Block of Text
FORMAT MNM
MENU
Purpose The NM (No Modifications) command marks a block of text that you do
not want modified. When you issue the command, an embedded
command triangle appears at the beginning and end of the block. You
cannot edit text between these triangles, although you can move the
cursor through text so you can review it. You can also define and save
protected blocks, or copy them to another part of the document, but you
cannot add or delete text within a protected block, nor can you move it
from its current location.
You might use NM to protect the formatting commands at the beginning
of a document, or to protect standard blocks of text, such as addresses,
that never change.
NOTE #1 Embedded Command Triangles. The two triangles that mark the
beginning and end of a protected block of text represent the commands
NM 1 and NM 0. These commands always appear as a pair. The only way
you can delete the triangles is to switch to Expanded view.
Deleting Text
PURPOSE XyWrite offers many different ways to delete text, as listed on the next
page. There is also an undelete function, which is described in the next
section.
Important: If you hold a key down too long, characters may continue to be
deleted after you release the key. If that happens, use [ciril |Break! to stop it.
1. Select the block of text you want deleted. (For more details refer to the
section "Selecting a Block of Text" earlier in this chapter.)
2. Press: [shift] [H21
3-28
(confd) Deleting Text
DELETE KEYS
IS] Delete Character. This key deletes the character at the cursor location.
1 Backspace1 Delete Character to Left (Backspace). Deletes the character to the left
of the cursor.
[Ctrl] [Del] Delete Word. This deletes the word the cursor is on. If the cursor is not
on a word, it deletes the word which follows. (When held: Delete
Words to Right.) (See Notes #1 & #2.)
1 Ctrl | [Backspace I Delete Previous Word. This deletes the word to the left of the word the
cursor is on.
[Ait] [Dei] Delete to End of Line. This deletes the characters from the cursor
position to the right end of the line (see Note #1).
[Shiftl [F121 Delete Selected Block. This deletes whatever block of text is currently
selected. Follow the procedure “Deleting a Selected Block of Text.” This
procedure allows you to delete any size block of text, from one
character to the entire document (same as |Alt| |Shift| |F2|).
[s»in Delete Row. This deletes the table row that contains the cursor. (Use
the □ on the numeric keypad.)
EHJEH Delete Paragraph. This deletes the paragraph that contains the cursor.
SI EH Delete Sentence. This deletes the sentence that contains the cursor.
NOTE #1 Error Beep. The delete word, delete line, and delete paragraph
functions beep if any text is already selected. To avoid the beep,
press [Esc] (to release any selected text) prior to executing the
function. For example, press [Escl before [Ait] [Dei]. (These functions
do not work if any text is already selected, because they
themselves must use the feature of selected text.)
3-29
Undeleting Text [F121
[F121
FORMAT
MENU E3 C3E33
Purpose The Undelete function allows you to retrieve recently deleted text from
memory and insert it into your documents. In order to understand how
Undelete works, you need to understand how XyWrite saves deleted text.
1. Position the cursor where you want the deleted text to reappear.
2. Press [F12].
Result: The Undelete/Clipboard Text dialog box appears, displaying
the first 50 or 60 characters in each entry.
3-30
ED Undeleting Text
NOTE #1 Multiple Unit Delete. As explained earlier, XyWrite treats all text deleted
between cursor movements as a single entry, so one undelete stack entry
could be made up of several smaller units. In other words, if you press
two or more delete keys without moving the cursor, XyWrite makes one
entry on the stack. You can undelete text in the same increments that you
deleted it by activating the Play Back pushbutton.
NOTE #2 Shortcut Deletions do not get added to the undelete stack until you move
the cursor. Therefore, if you delete text and immediately realize you made
a mistake, you can bypass the undelete stack and reinsert the text by
pressing [F12].
NOTE #3 Clipboard. The undelete stack also saves text that was deleted with the
Cut to Clipboard option. You can retrieve the most recently cut text either
by pasting from the clipboard (iShiftl Rnsl) or by activating the Undelete
function (IF121). Text that has been previously cut to the clipboard can be
retrieved by activating the Undelete function. (Text that has been copied to
the clipboard is not saved to the undelete stack.)
NOTE #4 Default Settings. The DI setting controls two undelete stack features: (1)
the number of entries on the undelete stack and (2) the minimum number
of characters it recognizes as a delete unit. By default, XyWrite saves up to
30 separate entries on the undelete stack, but it does not save units of less
than three characters. You can increase or decrease both values by
changing the DI setting in the Default File. Refer to the Customization
Guide for more information.
NOTE #5 Disabling the Undelete Stack. Setting the DI default to 0 disables the
undelete stack. When it is disabled, XyWrite saves only the most recently
deleted text in memory. You can retrieve it by pressing [F12].
NOTE #6 Saved Sessions. When you save an editing session, the contents of the
undelete stack are saved along with the file and window settings.
3-31
Transposing Text EJC, EJW, 0S, QP
Purpose XyWrite's Transpose Text feature allows you to swap the positions of text
units. It offers you four options:
• Transpose the current character and the previous character (see Note
#1)
• Transpose the current word and the previous word
• Transpose the current sentence and the previous sentence
• Transpose the current paragraph and the previous paragraph
NOTE #2 Alternative Keys. The Transpose Text functions are also assigned to
number keys 1-4:
Transpose Characters 01
Transpose Words 02
Transpose Sentences 03
Transpose Paragraphs 04
3-32
UC, LC, CC, CF Changing Case
FORMAT MUC
IW1LC
imcc
EH3CF
MENU
Purpose The case commands allow you to change letters to uppercase or lowercase.
You can change the character at the cursor location or change an entire
block of selected text. The following four commands are at your disposal:
• UC (Uppercase)—Changes text to uppercase (capital letters)
• LC (Lowercase)—Changes text to lowercase
• CC (Change Case)—Changes uppercase to lower and lowercase to
upper
• CF (Capitalize First)—Changes the first letter in a word from lower to
uppercase
The following procedures provide two different ways to change the case
of text:
• Changing the Case of Individual Letters (Option 1)
• Changing the Case of Selected Text (Option 2)
1. Move the cursor to the character whose case you want to change.
2. Enter UC, UL, CCzorCF(seeNote#l). For example, to change the
character to uppercase:
Type: [F5]uc[F9]
3. Press [F9] once for each character you want to make uppercase.
Result: The lowercase characters are changed to uppercase. Uppercase
letters remain uppercase.
3-33
UC, LC, CC, CF (confd)
Result: The selected text changes case in Step 4. Notice that by pressing
(F9) repeatedly, you can toggle the case back and forth, from upper- to
lower- to uppercase.
NOTE #1 Capitalize First Letter. Unlike other case commands, the CF (Capitalize
First) command only affects the first letter in a word. If you select a block
of text and issue the CF command, the first letter of each word will be
capitalized, but the other letters will be unchanged. If you issue the CF
command when the cursor is not on the first letter of a word, the
command has no effect.
NOTE #2 Keyboard Shortcuts. The Change Case command is assigned to [CtrilN and
[CtrflH. In addition, if you select text and press [ctri]H, XyWrite cycles through
the commands LC, CF, and UC.
3-34
AU Automatic Uppercase
FORMAT EMAU
MENU E3J EfflEEEl
NOTE #1 How AU Works. The AU command capitalizes the first letter following a
period, regardless of what the period is used for—including abbreviations
and numbers (as a decimal point). If you have a lot of abbreviations or
numbers, this mode may not be for you. However, if you are typing
straight text, this mode can save you time.
NOTE #2 Keyboard Shortcut You can turn Automatic Uppercase on and off by
pressing [Ctril [Shift]U,
3-35
notes
3-36
Math
Intro If you need to make calculations, you don't need to leave XyWrite for
some other program—you can perform calculations right on the command
line. And in the text area, you can add, subtract, multiply, or divide
numbers one-by-one, total a selected block of numbers in your document,
or evaluate a math expression with just a few keystrokes.
3-37
Math + -*
/ =
FORMAT + Addition
Subtraction
Multiplication
/ Division
= Equals
MENU WUW Calculate..
Purpose The math functions enable you to perform math calculations in two ways:
• Header Calculations. You can perform addition, subtraction,
multiplication and division on the command line.
• Cursor Arithmetic. You can add, subtract, multiply, or divide
numbers one at a time. You can total a column of numbers. And you
can evaluate any type of math expression by using block select.
3-38
(confd) Math
Tip Clearing Selected Text. Prior to using any math functions, it is a good
idea to do two things:
1. Press [Esc] (to release any selected numbers or text).
2. Clear the internal sum with the CLRSUM command (see Note #1).
This will ensure you are summing only the numbers you have explicitly
selected.
NOTE #3 Decimal Precision. The result of any calculation involving division is one
decimal position greater than the number of decimal positions used by the
most precise input number. For example, 2/3=.6 but 2.0/3=.66.
3-39
NOTES
3-40
Text Macro Keys
Intro This section describes the capability to store and recall frequently used
text. The first section, Text Macro Procedure, covers the overall process.
Individual commands are described in the second part.
Commands
3-46 Save Text [Shiftl[F21#
3-47 Get Text E3#
3-48 Display Text Macro Directory
3-49 Store Text Macro Keys to Disk STSGT
3-50 Load Text Macro Keys from Disk LDSGT
3-51 Clear Text Macro Keys CLRSGT, REMOVE
3-52 Insert Text Macro Text IS
3-41
Text Macro Procedure
Purpose Text macro keys allow you to save information for later recall. You do this
by defining a block of text and saving it to any one of 36 keys (A-Z, 0-9)
which, when preceded by F2, will reproduce the text macro. Text macro
keys are often called save)get keys because you can save text on them and
later get that text back. You can recall the saved information as many
times as you want, whenever you want.
The process is quite simple. For example, to save a sentence to the A key,
position the cursor within the sentence and select it using the |Shift|[F4] (Select
Sentence) function. Next, press [Shift] [g] and then press A to create the text
macro on key A.
To recall the block you just saved, press 0 A. You can recall the block as
many times as you want (until the key is cleared or its contents modified).
The following procedure runs through the entire sequence of (1) saving
text temporarily to text macro keys, and (2) saving a set of text macro keys
to disk.
3-42
(confd) Text Macro Procedure
3-43
Text Macro Procedure (confd)
2. Get the Text To insert the text from one of the keys (say, text macro X)
into the file:
Press: [F2]x
You can repeat Step 2 to insert the text in this or other documents as
many times as you wish.
2. Loading Text Macro Keys from Disk. Once the text macro keys have
been saved to disk, they can be loaded back into use at other editing
sessions as follows.
Enter LDSGT along with the name of the text macro set you stored in
Step 1.
Type: [F5]ldsgt tmacros.sgtH
When this new set of keys is loaded, it overlays the previous set.
Unassigned keys in the new set do not disturb previously assigned keys.
(If you prefer to clear the old text macro keys before loading a new set,
enter CLRSGT at the command line.)
(Optional) To check that the text macro keys were indeed loaded, view
them by pressing [Ctri][F2]. When done viewing the text macro keys, press
[E3-
3-44
(confd) Text Macro Procedure
NOTE #1 Pre-Defined Text Macro Files. XyWrite includes several pre-defined text
macro files. Most define special characters. Another text macro file,
SAVEGET.SGT, includes several useful command shortcuts; for example,
SAVEGET.SGT assigns the command to insert a date to text macro D. To
review a list of all the text macros defined in SAVEGET.SGT, load it and
then press [ciri][F2].
NOTE #3 Removing a Text Macro. The process of storing new text to a text macro
key clears the previous text from that key. You can also use the REMOVE
command to clear text from a key (see "CLRSGT, REMOVE" section in
this chapter).
NOTE #4 Attention! A text macro file is not an ordinary file. Just as you don't store
it with the usual STORE command, you cannot call it for editing with
CALL. If displayed with CALL it is not readable; and if it is stored with
STORE, the file will be ruined. This file cannot be edited directly. Instead,
put the text to be edited into a regular file (e.g., using |F2|x), edit it and
SAVE the new version to the same key (using fshift] [F2jx). Then store the set
of text macros back to disk with STSGT.
NOTE #5 PRINT % and SAVE %. You can print the contents of a single text macro
using the PRINT % command. For example, use PRINT %A to print the
contents of text macro A. Similarly, use SAVE %A to save the contents of
text macro A to disk in its own file (saved as A.SAV).
3-45
Save Text tShiit1[F21#
FORMAT [Shih|[F21#
# is a letter (A-Z) or number (0-9) key.
MENU eeii Text bom i Macro 11
Purpose |Shift||F2|# copies the selected block of text to the text macro key you specify.
(This is a short-term save—that is, the text is saved until you overwrite
that key or quit XyWrite.) You can recall the text at any time by pressing
[F2] and that same letter or number key. You can save as much text as
memory allows. For an overview of the text macro key procedure and
what it's used for, see the previous section, "Text Macro Procedure."
If text is already present on the text macro key, this command erases that
text when saving the new text.
Result: Any text previously saved to text macro key X (if any) is erased
from memory, and the text selected in Step 1 is saved to that key. The
status line then says "Done."
NOTE Appending to a Text Macro. The AD function call allows you to append
the currently selected text to the end of a previously defined text macro
key. Refer to "Keyboard Files" in the Customization Guide for information
on assigning this function call to the key of your choice.
346
EH# Get Text
FORMAT EH#
# is a letter (A-Z) or number (0-9) key.
Menu rt | Text from a MacroT
Purpose £2]# copies text from the text macro key to the cursor location. You can
recall the text at any time (as many times as you wish).
£2] # inserts text into the text area only. No text will be inserted on the
command line (unless the text macro contains a program).
Result: This gets the text from text macro A and inserts it into the
document at the cursor location.
3-47
Display Text Macro Directory ISDEI
FORMAT [sSEH
MENU CEU SSEEU2ES
PURPOSE ISjJED displays the entire set of text macro keys. This enables you to check
which text macro keys are currently available, and reminds you what text
is saved to each key.
Result: The Text Macro dialog box appears, displaying a list of text
macro keys. Each entry begins with its identifying letter or number.
There is one line per text macro—only the first 35 characters of each
text macro are displayed (see Note).
NOTE Viewing a Single Key. The SK function call allows you to view up to one
screenful of text for a macro key. Refer to "Keyboard File" in the
Customization Guide for information on assigning this function call to a
key.
3-48
Store Text Macro Keys to Disk
Purpose STSGT stores the set of current text macro keys to the specified file on
disk. This enables you to reload the keys for use at a later editing session.
You can also save several sets of text macro keys and load each one for a
different purpose.
In this case, PROPOSAL.SGT is the filename to which the keys are stored.
You can save to any filename you wish, but we recommend that you use
the SGT extension, and store the file in the same directory as
EDITOR.EXE. If you follow those conventions, XyWrite will include the
new text macro file when it creates a list of text macros.
3-49
Load Text Macro Keys from Disk LDSGT
Purpose LDSGT loads all of the text macro keys from the specified file on disk.
This enables you to use the keys saved in a previous editing session. To
see how this complements the STSGT command, refer to the illustration in
the earlier section "Text Macro Procedure."
You may now insert the text from any of these keys into any file you call
up.
NOTE #1 Overlaying Sets of Text Macro Keys. Loading a set of text macro keys
replaces only those keys contained in the loaded set. The content of all
other keys remains unchanged. For example, if keys A,B,C and D are
originally defined, and you load a new set containing C,D,E and F, you
will end up with the old A, old B, new C, new D, new E and new F.
NOTE #2 Clearing Text Macros. If you would prefer to clear the text macro keys
before loading a new set, use CLRSGT.
TIP Starting XyWrite with Text Macros Loaded. When you start XyWrite, the
file SAVEGET.SGT is automatically loaded. You can edit the LDSGT
command in STARTUP.INT to load the text macro file you want. If the
text macro file is not in the same directory as EDITOR.EXE, be sure to
include the path to it as part of the filename, or in the path statement in
AUTOEXEC.BAT.
3-50
CLRSGT, REMOVE Clear Text Macros
PURPOSE CLRSGT clears all of the current text macro keys from memory. You
might do this before loading in a new set of text macro keys.
REMOVE clears any single text macro key (or user program) from
memory.
CLRSGT and REMOVE have no effect on any text macro files stored on
disk.
3-51
Insert Text Macro Text
FORMAT EBZJiS #
# is any letter or number.
MENU Not a menu option.
Purpose The IS (Insert) command allows you to insert any text macro block into
the text at printout. IS performs the same function as |F2]A except that AIS:A
is displayed on-screen instead of the actual text.
The IS command gives you the ability, for example, to make up a form
letter using the text from various text macro keys. To do this, save each
block you want inserted in the letter to a text macro, insert an IS command
at each point in the letter where you want text macro text inserted, and
then print the letter.
When you use the PRINT or PRINTF command, information in the text
macros is printed. You can also use PRINTS with the file stored.
3-52
Search and Replace Text
The GO command takes you quickly to the point in the file you specify,
while the Compare commands locate the likenesses and differences
between two versions of the same document.
Some time spent learning these commands can pay off well.
3-53
Searching for Text SEARCH
string (optional) is the text you want to find. If omitted, XyWrite searches
for the last search string entered.
MENU EM
Purpose The SEARCH command and its variations allow you to search through a
document or selected block to find the text you specify (string). You have
the four search choices listed above. You can search in either
direction—the search continues until it finds the string or reaches the end
of the document. To search through more than one file, refer to the next
section "Searching Through Files."
Absolute Case Match. The "A" (Absolute) at the end of SEARCHA and
SE ARCHB A means absolute case match: The search stops only for text
that has exactly the same uppercase and lowercase letters that you
specify—they must match letter-for-letter. (See the examples that follow.)
String. The string shown above in the format statements includes all
characters that appear between the separators, shown here as vertical bars
(I), including spaces, punctuation and symbols (see Note #1). If omitted,
XyWrite searches for the string specified in the previous search command.
Switches. The Search command accepts four optional switches (or
modifiers), which are separated from the Search command by a slash. Use
a separate slash for each switch.
The /F (First Character) switch tells XyWrite to put the cursor on the first
character of the string whenever a match is found. (The default is to put
the cursor immediately after the string.)
The /S (Selected Text) switch tells XyWrite to search the currently selected
block. The default is to search from the cursor location to the end of the
document (see Note #2).
3-54
(confd) Searching for Text
The /W (Word) switch tells XyWrite to treat string as a word. That means
XyWrite does not stop on string if it is part of a word.
The /T (Top of File) switch tells XyWrite to start the search at the
beginning of the file. (The default is to start at the current cursor location.)
It finds only the first occurrence of string. The /T switch is useful if your
cursor is in the middle of a long document, and you want to check to see if
a word or phrase appears anywhere within the document. If no match is
found, the cursor remains where it was when you first issued the
command.
Wild Card Search Characters. At the end of this section is a list of wild
card characters that are veiy useful in searches (see Note #3).
3-55
Searching for Text (confd)
KEJseba I orange!
Searches backward only for "orange" (skipping over "Orange" and
"ORANGE").
rBTZlse
Searches for the string defined in the previously executed Search
command (in this case "orange"). Enters the string, with delimiters, on
the command line, but it does not enter any command switches.
NOTE #1 The Vertical Bar (!) Separator. You are not required to use the vertical bar
(I) to begin and end the string. You can use any character that does not
appear in the string. In fact, you must not use a vertical bar if it appears in
the string. You can even use the single space as the separator as long as
the space is not included in the string—this is why the shortcut in Note #4
works. (The command line is initially a row of spaces. Therefore, you get
a space at the end of the word automatically.)
NOTE #2 Searching a Selected Block. If the cursor is within the selected block
when you issue an SE/S command, the search starts at the current cursor
location and continues to the end of the selected block. If the cursor is
outside the selected block, the search starts at the beginning of the block.
NOTE #3 Wild Card Characters. The following wild card characters can be used in
searches. We call these wild card characters because (like joker cards in
poker) they can represent other values. They provide you with powerful
search capabilities.
3-57
Searching for Text (confd)
3-58
(confd) Searching for Text
NOTE #4 Shortcut To search for just one word, you can use:
EKflse orange
Note there are two spaces between "se" and "orange." This does not work
when searching for more than one word (see Note #1).
NOTE #5 Spaces are Characters Too. Spaces are counted in the search the same as
any printable character. For example:
ESZJse I babysit'
would not stop at "baby sit."
NOTE #6 Special Characters. All characters that appear between the vertical bars
(I) are searched for, including the following special characters:
Tab Press: [Tab] (in the Search dialog
boxes, press [Ait] [shift] [Tab] to enter a
Tab character).
Space Press: |space8ar|
Carriage return Press: [ctrf] H
Left double-angle bracket («) Press: [ctrfl [<]
Right double-angle bracket (») Press: [Ctrl] 0
NOTE #7 Character Modes. A search will not match text that is partially bold,
underline, or reverse. For instance, SEARCH I fulltime I will stop on
"fulltime," but will not stop on "fulltime." This is because the latter has
«MDUL» embedded in it, which is seen as characters in the search. In
expanded view, you would see:
full«MDUL»time
NOTE #8 Searching for a Function Call. To search for a function call that is
mapped to a key, type the search command up to where you want to in
sert the function call; press (Scroll Lockl; press the key associated with the
function call you are searching for; press I Scroll Lock] again; complete the search
command.
If you want to search for a function call that is not assigned to a key, or if
you want to put the search command within a program, you have to use
the following format:
EDse/fn [string cfmnstring'
where string (optional) is text that precedes or follows the function call
and mn is the two-character function call. The /FN switch tells XyWrite
that the search contains a function call and the d* (ASCII 11) instructs
XyWrite to interpret the next two characters as a function call.
3-59
Searching Through Files SEARCH
Purpose When you specify a range along with the SEARCH command, you can
search across multiple files to find the string of text you want. XyWrite
searches all the directories you specify in range. You would use this
procedure when you are looking for text but are not sure what file it may
be in. The other forms of the command (SEB, SEBA, CH, CV) do not work
across multiple files.
When you search through more than one file, you must start with an empty
window. XyWrite allows you to browse quickly through the files, one at a
time. Files are displayed in expanded view—this is what allows it to work
quickly.
Range. The range is the series of filenames you want to search through,
separated by commas (but no spaces following the commas).
String. The string is the same as defined earlier for the Search command.
It can include any wild card characters, as described in the previous pages.
3-60
(confd) Searching Through Files
Result: If you type "C" or "N," the search continues until the next
occurrence of "orange." If you type "O" or "S," the search stops. When
the search is over, XyWrite displays on the status line the number of times
the specified string was found.
NOTE #2 Searching Binary Files. The Search command is not designed for use
within binary files. If you encounter a binary file (e.g., EDITOR.EXE)
when you are searching a range of files, press "N." XyWrite will abort it
and continue the search in the next file.
3-61
Changing Text CH, CV
PURPOSE Each of the Change commands searches forward through the document to
find the text you specify, in order to replace it. The search ends when
XyWrite completes the number of changes you requested (with /#) or at
the bottom of the document. The changes are not displayed until they are
all done.
Verify means that when XyWrite finds the string, it asks you whether or
not to make the change. You must respond before it looks for the next
occurrence.
Absolute Case Match. The "A" (Absolute) at the end of CVA and CHA
means absolute case match: The search looks only for text that has exactly
the same uppercase and lowercase letters that you specified in string!.
They must match letter-for-letter.
Replacement Text. string2 is always inserted into the text "as is," with its
letters uppercase or lowercase exactly as you typed them.
Wild Card Search Characters. The Change commands allow the use of
the same wild cards as the Search commands. You can use the wild cards
in string! and string2. (See Note #1 for details.)
Switches. The Change command accepts four optional switches, which are
separated from the Change command by a slash. Use a separate slash for
each switch.
The /S (Selected Text) switch tells XyWrite to change the selected block.
(The default is to search from the cursor position to the end of the file.)
3-62
CH, CV Changing Text
The /W (Word) switch tells XyWrite to treat string as a word. That means
XyWrite does not stop on string if it is part of a word.
The /T (Top of File) switch tells XyWrite to start the change at the
beginning of the file. (The default is to start at the current cursor location.)
If no match is found, the cursor remains where it was when you first
issued the command.
The /# (Number) switch tells XyWrite how many times you want the
specified change to be made. (The default is to continue to the end of the
file.)
3-63
Changing Text (confd)
Result: If you type "Y" or "N," the search continues for the next
occurrence of "orange." If you type "S," "O," or [Esc], the search stops.
2. Enter CH or CHA. For example, let's use CH to search for the word
"orange" and replace it with "grape":
Type: [F5]ch I orange 'grape 1 £0
Result: The search begins at the cursor location and continues forward;
at each occurrence of "orange" it removes the word and replaces it
with "grape." Since we specified CH (and not CHA), the command
changes "Orange" or "ORANGE" or any other combination of
lowercase and uppercase letters. The changes continue non-stop until
the end of the document is reached, at which point the status line says
DONE.
3. Emergency Stop. If you need to stop a search before it reaches the end:
Press: [ctri] |Break|
NOTE #1 Wild Cards. Like the Search commands, the Change commands allow you
to use wild cards to represent other values. You can use them as part of
stringl only, or you can use them in both strings of the Change command.
For a list of valid wild cards, refer to the description of "Searching for
Text" earlier in this chapter.
When you use wild cards in stringl and string2, XyWrite looks at what the
match was in stringl and inserts that value in string?. Therefore, the wild
cards in stringl must correspond to the wild cards in string2.
3-64
(confd) Changing Text
NOTE #2 Verify Option. You can have XyWrite verify that you really want to
execute the CH command by prompting you with the question: "Cannot
recover changes-proceed anyway? (Y/N)" If you press "Y," XyWrite
carries out the instructions in your CH command. If you press "N,"
XyWrite waits for further instructions.
To enable this prompt, add the following setting to the default file:
df cv=1
To turn off the prompt, change the setting to df cv=0 (this is the initial
default setting).
NOTE #3 Deleting Text. You can use the Change command to delete text. You
simply omit string! from the command (but keep the three separators).
For example, to delete the word "orange" from your document, use:
ch iorange 11
ALSO SEE Related Commands. Refer to the Search commands to search without
replacing text. The notes in that section also apply for these Change
commands with one exception: All Change commands search in a forward
direction—you cannot search and replace backwards.
3-65
Go to Page GO
FORMAT ErraGOm-n
m is the page number. (If m is omitted, GO uses the current page.)
n is the page depth. (If n is omitted, GO uses 1 inch.)
MENU
Purpose The GO command allows you to go directly to the page and depth you
specify. This page and depth correspond to the page-page depth numbers
that appear on the status line.
Result: The page-page depth display turns on (if not already on) and the
cursor moves to the line that is 3 inches from the top of page 4.
Note #1 Options. You can move to a specific depth on the current page by
omitting the page number. You must precede the page depth with a
hyphen. For example, GO -3 moves the cursor to the line that is 3 inches
from the top of the current page.
To move to the top of any page, as a shortcut, specify only the page
number. For example, GO 11 moves the cursor to the top of page 11.
NOTE #2 Jump Command. The JMP (Jump) command allows you to jump to a
specific character position within the current file. Use the form JMP n,
where n is the number of characters from the start of the file. For example,
JMP 9885 positions the cursor on the 9885th character of the file. Each «-
counts as two characters: carriage retum/line feed. The characters within
embedded commands (that appear in the expanded view) also count—
thus, «RM7IN» counts as 7 characters.
3-66
isdmjb Comparing Two Files
FORMAT
SB
MENU EEOEnSlEEH
Purpose The Compare function allows you to examine two similar files character-
by-character to find likenesses and differences. You might use this
function to compare an edited version of a file against die original.
3. Place the cursor at the point where you want the comparison to begin.
Result: Compare searches through both files until it finds a match. The
cursor stops at that point in both files.
8. Continue alternating the Find Difference (Step 6) and Find Match (Step
7) commands until you have finished the comparison.
NOTE #1 Length of Match String. You can change the number of characters
XyWrite uses to find a match. The default is 40. To redefine it, change the
MA setting in the default file.
NOTE #2 Cursor Location. The Compare function starts its search at the current
cursor location in both files. Be sure that the cursor starts at the same point
in both files or Compare will not find where the files match.
3-68
Spelling Checker and Thesaurus
An on-line thesaurus is also available. To help you find just the right
word, XyWrite quickly displays a list of words that have a similar
meaning.
Spelling Commands
3-75 Word Check
3-76 File Check SPELL
3-79 File Correct CORRECT
3-82 Auto-Check/Correct
3-84 Auto-Replace fCtrll [Shiftl A
3-86 Auto-Expand
3-87 Saving the Temporary Dictionary STSPELL
3-69
Spelling Checker Procedure
Purpose The spelling checker compares the words in your document with one or
more dictionaries. If it does not find a match, the spelling checker notifies
you that it has found a questionable word, and suggests several
alternative spellings.
There are three ways to check words with the spelling checker:
• Auto-Check. Check each word as you type it in. A beep notifies you
that a word is questionable.
• Word Check. Check the current word.
• File Check. Check a block of selected text, a file, or a list of files with
the SPELL command.
There are three ways to correct words with the spelling checker:
• Auto-Correct Correct your misspellings as you type. (You can also use
this feature to expand an abbreviation into the word or phrase it
represents.)
• Word Correct Correct by selecting from a list of alternatives that the
spelling checker presents.
• File Correct. Correct the list of questionable words found by the SPELL
command by supplying replacements. You update the file(s) in one
pass by issuing the CORRECT command.
The spelling checker uses three types of dictionaries: main, personal, and
temporary. The main dictionary is named DICT.SPL; it is a large
(approximately 100,000 words), built-in dictionary that is in binary format
and cannot be directly edited.
The personal dictionaries contain specialized words that you use often.
They include such things as proper names, product names, technical terms
relating to your line of work, etc. You can have several different personal
dictionaries. Your program disks contain some examples: LEGAL.SPL,
which contains common Latin and other foreign terms; BUSINESS.SPL,
which contains standard business and political terms; and PERS.SPL,
which contains general supplemental words as well as some very common
misspellings and their corrections to support automatic correction.
3-70
(cont'd) Spelling Checker Procedure
2. Type: [FslspellCT
Result: XyWrite checks to see if the main spelling dictionary,
DICT.SPL, is loaded into memory. If it is not, XyWrite automatically
loads it. The cursor moves to the first questionable word in your file
and displays the spelling dialog box.
3-71
Spelling Checker Procedure (confd)
NOTE #2 Multiple Dictionaries. If you use the LOAD command to load more than
one personal dictionary, [F5] and [F6] add words only to the first personal
dictionary you loaded. If you use the menus to load more than one
personal dictionary, [fs] and [F6] add words only to the last personal
dictionary you loaded.
3-72
(confd) Spelling Checker Procedure
5. Store your new dictionary and then load it into memory. (See "Loading
the Dictionary" in this section.)
NOTE #4 Multiple Entries. A word cannot appear more than once in a personal
dictionary. That means you cannot have two different capitalizations of
the same word (e.g., corp, and Corp.), nor can you have a word and then
use it again with an expanded form (e.g., "corp." and "corp,
corporation").
3-73
Spelling Checker Procedure (cont'd)
NOTE #6 Adding Abbreviations. You can add abbreviations that end in a period
(such as "Blvd.") to the personal dictionary by calling up the dictionary
and typing the word and the period, followed by a carriage return. (Don't
forget that you have to reload the dictionary into memory every time you
edit the file.) You cannot add an abbreviation ending in a period to a
dictionary by using the spelling dialog box.
Result: Both the personal dictionaries are loaded into memory from this
single command. You can now use any of the spelling checker options. For
more information about the LOAD command, refer to the Customization
Guide.
NOTE #7 Location. When XyWrite loads DICT.SPL, it looks first for the file in the
current subdirectory; if the dictionary is not there, it searches the
subdirectories defined in the DOS path statement.
3-74
edezi Word Check
@EzI
FORMAT
MENU [2E3 eeh
Purpose [ciri] [F7] is a quick way to check the spelling of a single word. After you check
the word, the cursor moves to the start of the next word, so you can
quickly continue checking additional words if you want.
2. Press: [ctd1|F7|
NOTE Reassigning Word Check. The function call for Word Check is SO (Spell
One Word). You can reassign this function to another key in your
keyboard file. (See "Keyboard File" in the Customization Guide for more
information.)
3-75
File Check SPELL
Purpose The SPELL command lets you search existing text for words that don't
appear in one of the dictionaries that you loaded into memory. SPELL also
automatically loads DICT.SPL into memory if it is not already there.
There are four ways you can use the SPELL command:
• Ona selected block
• Ona displayed file
• On a single stored file
• On a list of stored files
You can also use the SPELL command to search one or more stored files
and make a list of questionable words. When SPELL finishes, you can
review the list at your convenience and make corrections. The CORRECT
command can then be used to update your file(s). (See "File Correct.")
1. Move the cursor to the point in the file where you want the check to
begin (or select the block of text you want to check).
2. If you want the check to include the text in running headers, footers,
footnotes, and index entries, switch to expanded mode.
Press: ®[F8]
3-76
(confd) SPELL
Type: [F5]spellH
Result: If there are no questionable words, the cursor moves to the end of
the file or selected block, and the message "n words, 0 questionable"
appears on the status line (n is the total number of words in the file or
selected block). If there is a questionable word, the cursor moves to that
word and the spelling dialog box appears on the screen.
This process continues until the SPELL program reaches the end of the file
or selected block. At that point, the message "n words, p questionable"
appears on the status line (n is the total number of words found during the
search, and p is the number of questionable words found).
2. List the names of all the files that you want XyWrite to spell check.
Type each filename on a line by itself.
chapter! <-
chapter2«-
chapter3<-
3-78
CORRECT File Correct
Before running the CORRECT command, you have the option of editing
the list of questionable words created by the SPELL command. You can:
delete a word from the list, which means that CORRECT will ignore it and
the word will remain in your files as you originally typed it; provide a
replacement for a word, which CORRECT will insert into your files; use
Word Check on a word to display the spelling dialog box with a list of
alternates; or leave it as it appears in the list.
3-79
CORRECT (confd)
2. Move the cursor to the first questionable word. You now have several
options:
• If the word is correct and you do not want to add it to a dictionary,
delete it from the list.
• If the word is correct and you want to add it to a dictionary, display
the spelling dialog box and select the option you want.
Press: [evil [f7]
Press: [F3] or [F5]
• If the word is incorrect and you know how to fix it, type a space and
the correct spelling of the word. For example:
Type: mi spell misspell
• If you are not sure of the spelling of a word, display the spelling
dialog box (press [Ctril[F71) for a list of alternates or leave it alone.
3. Repeat step 2 for each word on the list.
4. Store the file.
Type: [FslstCT
Result: The correction list is ready to use with the CORRECT command.
2. Select the option you want from the spelling dialog box. For example,
to add the word you originally typed to the temporary dictionary:
Type: [F3j
To use this function to create an index, you must create a new file. On the
first line of the file, type, in bold, the filename of the document you want
to index, followed by a carriage return in normal mode. On succeeding
lines, enter the single-word index entries in normal mode, ending each
entry with a carriage return. Store the file and then issue the CORRECT
command. For example, if the file of index entries is named LIST:
Type: gs]correct list,«x1»0
Result: The CORRECT command goes into your document and appends
an index marker to the words that you typed in the file LIST. When you
extract the index with the IX command, all occurrences of these words will
be included in the index. (For more information on indexes, see "Table of
Contents and Index" in Chapter 5.)
3-81
Auto-Check/Correct EEL [CtrtJE
FORMAT
ICtrilE
MENU AutoCheck
When you hear the error beep, you have several choices:
• You can keep on typing to complete your train of thought, and then
return to the word in question.
• You can stop immediately to correct the word by using either
XyWrite's normal editing functions or the spelling dialog box.
• You can ignore the beep entirely. (You might choose this option if you
have correctly typed a name or specialized term that does not appear in
one of the dictionaries and if you don't wish to add it to your personal
dictionary.)
1. Turn on Auto-Check/Correct.
Press: [Ctrl]A
Result: A lowercase "c" appears in bold mode at the top right comer of
the screen. Auto-Check/Correct is now active.
3. Type in the text of your document until you hear an error beep.
3-82
(confd) Auto-Check/Correct
7. When you are finished, you can store your file and call another one.
Auto-Check/Correct remains on until you turn it off. To turn it off:
Press: [Ctrl] (fTJ
NOTE #2 Previous Error. Pressing [ctri]E returns the cursor to the last word that
Auto-Check/Correct detected as questionable. If you correct that error
and then press [cifi] E again, the cursor will not move to another word.
Auto-Check/Correct remembers only the one position.
NOTE #3 Reassigning Keys. You can reassign these functions to other keys in your
keyboard file. (See "Keyboard File" in the Customization Guide.) The
function call for Auto-Check/Correct is AC, and the function call to move
the cursor to the previous error is FS (Fix Spelling).
NOTE #5 Changing the Beeps. You can change the tone of or even completely turn
off the error and correction beeps by changing the EB and CB settings,
respectively. (See"Default Settings" in the Customization Guide for more
information.)
3-83
Auto-Replace [CtrilfShiftlA
FORMAT E3®A
MENU Auto-Replace
PURPOSE Auto-Replace lets you use the automatic replacment feature of the spelling
checker without having XyWrite load the main spelling dictionary into
memory.
Whenever you type a tab, space, or carriage return, XyWrite checks the
personal dictionaries in memory to see if the word you typed appears with
a replacement word or phrase. If it does, XyWrite makes the replacement
and beeps to indicate that a change has been made. It does not check the
spelling of the word.
1. Load the personal dictionaries that contain the replacement words and
phrases you want inserted into your text. For example:
Type: [FsJIoad pers.splS
2. Turn on Auto-Replace.
Press: [Ctrl] [Shtft] A
Result: A lowercase "r" appears in bold mode at the top right comer of
the screen. Auto-Replace is now active.
5. When you are finished, you can store your file and call another one.
Auto-Replace remains on until you turn it off. To turn it off:
Press: [Ctrf| [ShF|A
NOTE #1 Using Multiple Windows. When you turn Auto-Replace on, it is on in all
nine windows and remains on until you cancel it.
3-84
(confd) Auto-Replace
NOTE #2 Reassigning the Key. You can reassign this function to another key in
your keyboard file. (See "Keyboard File" in the Customization Guide for
more information.)
NOTE #4 Audible Signals. You can change the tone of or even completely turn off
the correction beep by using the DEFAULT command to change the CB
setting. Refer to "Default Settings" in the Customization Guide.
3-85
Auto-Expand
FORMAT [fid]
1. Load the personal dictionaries that contain the replacement words and
phrases you want inserted into your text. For example:
Type: [Fsjload pers.spl£3
3. Type in the text of your document. When you get to a point where you
want to expand an abbreviation that is defined in the personal
dictionary:
NOTE #1 Defining Abbreviations. When you are entering abbreviations and their
expanded forms in the personal dictionary, think about how you plan to
work with them. If the Auto-Replace feature, which offers automatic
expansion of all abbreviations, appeals to you, then you should avoid
using abbreviations that you might want to enter as text. For example, if
you enter NY New York in the dictionary and turn on Auto-Replace, every
occurrence of NY will be expanded. However, if you prefer the Auto-
Expand feature which requires you to request expansion each time you
want it, you are free to define abbreviations to letters that you may want
to expand only some of the time.
3-86
STSPELL Saving the Temporary Dictionary
Purpose The STSPELL command lets you save the words stored in the temporary
dictionary to a text file. The temporary dictionary contains all of the
words from the personal dictionaries that you loaded into memory, plus
any words you added through the spelling dialog box.
Once you have saved the contents of the temporary dictionary, you can
delete a word that you have entered incorrectly and then reload the
dictionary. You can also quit XyWrite and later reload the words you
added to the temporary dictionary during the current editing session.
3. Call the file to the screen and fix the incorrect entry.
3-87
Thesaurus
FORMAT
MENU Ml Thesaurus.-
PURPOSE XyWrite's thesaurus displays a list of synonyms. To use it, you simply put
the cursor on the word for which you want a synonym and press iShiftl fF7|.
XyWrite looks in its thesaurus for words with a similar meaning. When it
finds them, it displays a list organized by parts of speech and by meaning.
You can review the list and take one of the following three actions:
• Select one of the synonyms listed and insert it in your document with
the same capitalization and in the same display mode as the original
word
• Leave your original word intact
• Display a new list of synonyms based on one of the words in the
original list
The thesaurus uses the files WORD.OVR and WFBG.SYN, both of which
are installed in the \XY4 directory by default. WORD.OVR is a program
file that XyWrite needs to execute the thesaurus function and WFBG.SYN
is the dictionary of synonyms. These files are not loaded into memory, so
XyWrite goes to disk each time you use the thesaurus.
3-88
(confd) Thesaurus
c ’ 1'\
loo J:
noun • MhfeHt-Ii1. front, instrument, pawn, peon, puppot, stooge;
* apparatus, appliance, contraption, contrivance, device, doodad,
doohickey, gadget, gimmick, gizmo, implement, instrument, Invention,
machine, meclianism, thingumajig, utensil, widget.
verb • auger, bore, drill, pierce, ream.
\__________________________________________ 7
The first thing in the menu is the word you are looking up (in this case,
"tool"). Next are all the synonyms for the word "tool" if you are using
it as a noun. Notice that there are two sets of noun synonyms, which
means there are two different definitions for "tool." After the nouns,
there are several verb synonyms. (Depending on the word you are
looking up, you may see a list of adverbs, adjectives, and other parts of
speech in addition to—or instead of—the nouns and verbs.)
3. Choose the option you want. For example, to replace the word "tool"
with the word "utensil."
a. Highlight "utensil."
b. Press &
Result: The word "utensil" appears in your file, replacing the word
"tool," and the dialog box is cleared from the screen.
3-89
Thesaurus (corn'd)
3. Press [ctri]|PgDn|.
Note #1 When There Are No Synonyms. Occasionally, you may ask XyWrite to
give you a synonym for a word that doesn't have one. When that happens,
XyWrite displays the message "No alternates" on the command line and
clears the dialog box from the screen.
NOTE #2 Mouse. You cannot use the mouse with the thesaurus dialog box.
NOTE #2 Word Forms. The thesaurus contains only the root form of many words.
For example, when you look up the word "dictionaries," XyWrite displays
a list of synonyms for the word "dictionary." If you activate the Replace
option, you have to edit the replacement to make it plural. You have to
make similar adjustments for different tenses and parts of speech.
NOTE #3 Reassigning the Key. You can assign this function to another key. The
function call for the thesaurus is SY. (See "Keyboard File" in the
Customization Guide for more information.
3-90
Windows
Intro XyWrite gives you access to more than one document at a time. In fact,
you can view as many as nine documents at once. XyWrite does this by
displaying each document in a separate window. These rectangular
windows can be any size you want and they can overlap. You control the
manner in which the windows are displayed.
3-92 Windows
3-94 Window Menu @[F6)
3-97 Switching Windows E], [Shift] El, ®[F6]
3-91
Windows (confd)
Purpose It's often handy to work on two files at the same time, or maybe even
three or more. The windows feature allows you to do just that. With
windows you can switch between documents with one or two keystrokes.
You can access as many as nine documents this way. You can arrange
these files inside windows that overlap or are side by side. For example,
you may want to refer to several different note files quickly and easily as
you are working on a chapter of your novel.
A window is a rectangular area on the screen through which you can view
a document, as in the illustrations on the next page. Each document
requires its own window. XyWrite starts with a single full-screen
window, and automatically opens more windows as they are needed so
you can view other documents without storing the documents that are
already open. You can move or copy text directly from one window to
another.
Open Window. When you are using more than one window, the windows
that you are using are called open windows. These windows can have
documents in them or not. A window which is not open is labeled
CLOSED in the window menu. Once you open a window, it remains open
until you store or abort the file that is in it.
Active Window. When you have more than one window open, only one is
active at a time; the others are suspended. The top of the screen tells you
which window and file are active. You can type into the active document,
modify it, scroll it, and save it.
The keys [F61, |Shfft|[F61 and [Ah][F61 control the movement of the cursor from
window to window. The cursor remembers its position in each document,
so that it can return to where you last left it.
3-92
(confd) Windows
WINDOW Command
• Opening a Window with the Window Command
RMVSCR Command
• Closing a Window
C:\XY4\DOCSca addendua.doc
1-1.13IN 3 C:\XY4\DOCS\ADDENDUM.DOC X I
....... ► •••• 2- •• ► ..3... 4- 5* .6--..
r2-C:\XY4\DOCS\ARTICLE.DOC
XYWRITE 4.0 DEBUT
-
*
<-
As most of you have noticed by now, we have a new word processing
program in-house. XyWrite 4.0 made its debut a month ago at the
home office to rave reviews. Managers, engineers, salespeople,
and secretarial staff have all agreed on how easy the program is
*-
to learn and use — and how powerful it is!
«-
This article outlines a few of the special functions of XyWrite
4.0, r3-C:\XY4\DOCS\ADDXMDUM.DOC-----------, them for yourself.
It al In two weeks, vou will see tvou may be unfamiliar
with. rl-C:\XY4\DOCS\----
<DIR>
Starr <DIR>
ADDENDUM DOC
XyWriU ADDRESS FRM
capabilities, like cutting, pasting, copying, ch ARTICLE DOC
highlighting text, setting page breaks, and prin FAX TPL
also provides you with some interesting and powe GRID
you may not have used before.
-
* LETTER DOC
3-93
Window Menu ®[F6]
fCtrt|[F6]
FORMAT
MENU EGE ESB/ E3EESE
Purpose XyWrite automatically opens new windows as you need them, and closes
them when you STORE or ABORT your files. If you change the NW (New
Window) setting in the default file, opening and closing of windows is no
longer automatic. In that case, vou use Ictri] |F6| to handle all of the options
that are available for controlling windows within XyWrite. You can:
• Open and close windows.
• Change the size of windows.
• View the contents of the nine windows.
• Conceal or display the window borders.
3-94
(confd) Window Menu
You can accomplish the same thing with the WINDOW command. See the
description later in this section.
2. Press: C
Result: The borders are concealed. By repeating the procedure, you can
display them again.
3-95
Window Menu (coat'd)
NOTE #1 Saving Size Changes. When you close a window, any sizing changes
associated with it are lost. If you want to keep the size changes for the
current editing session (or until you modify them), change the MW setting
in the default file. (See "Default Settings" in the Customization Guide for
more information.)
NOTE #2 Disk Drive and Memory. The window menu displays the amount of
memory being used by each displayed file, as well as the amount of
memory still available for other uses. In addition, whenever XyWrite
creates a temporary overflow file, the window menu displays the letter of
the drive that contains the overflow file.
NOTE #3 Staggered Windows. You can stagger windows so that the top and right
borders of the previous window remain displayed when you open a new
window. Because the top border displays the window number and
filename, this is an easy way to keep track of exactly what is open. If you
want to turn on this option, set the MW (Maximize Window) default to 2.
(See "Default Settings" in the Customization Guide for more information.)
3-96
[rel, IshittHrel.lAitlfral Switching Windows
Purpose You use [F6] to cycle forward through all open windows (up to nine), and
I Shift | [F6] to cycle backward through all open windows. (Forward and backward
refer to the order in which windows are opened, which is not necessarily
numerical order.)
The main use for ® [F6] is to move back and forth between two
windows—that is, between the currently displayed window and the one
displayed previously. (If a second window is not open, ®[F6] automatically
opens one.)
To return to the window you just left, press the same keys again:
Press: ®[F6)
Result: By successively pressing [m][F6], you can switch back and forth
between the same two windows. To select a new pair of windows, select
them one at a time from the Window Menu.
TIP Shortcut If you know the number of the window you want to make
active, press [ctif]Ishiftl and that number.
3-97
Opening a New Window WINDOW
Purpose The WINDOW command lets you define a window from the command
line without going through the window menu. It defines the size of the
window and makes that window active (see Note #1).
NOTE #1 Saving Size Changes. When you close a window, any sizing changes
associated with it are lost. If you want to keep the size changes for the
current editing session (or until you modify them), change the MW setting
in the default file. (See "Default Settings" in the Customization Guide for
more information.)
NOTE #4 Restoring Full Size. You can reset a window to full size with the
following command:
l^vZl window nf<J]
where n is the number of the window being restored to full size.
3-98
RMVSCR Removing a Window
Purpose XyWrite automatically closes the window when you store or abort a file.
If you change the NW setting in the default file so that the closing of
windows is no longer automatic, you need the RMVSCR (Remove Screen)
command. RMVSCR closes the window that the cursor is located in and
returns the display to the previously displayed window. In general, we
use the terms window and screen interchangeably.
Result: The window closes and the display returns to the previously
displayed windows (if any).
NOTE #1 Identifying the Active Document In the case of a split screen, there are
two ways to tell which window is currently active:
• The filename of the active document appears at the top of the screen.
• The cursor is located in the active window. (If necessary, press [Shift] [fs]
to move cursor off the command line and into the window.)
3-99
NOTES
3-100
Word Count
Intro XyWrite's word counting commands let you know exactly how many
words you have written so far. This function is very useful whether you
have been asked to write a 1,000-word magazine article or a 10,000-word
term paper.
3-101
Word Count WC, WCB
FORMAT Esawc
ESO WCB
MENU EJ3 I Word Count..
Purpose The WC and WCB commands count the number of words in your file or
the number of words in a selected block. They then display the exact
number of words on the status line of the header.
Result: XyWrite counts the number of words from the current cursor
position to the end of the file (or the entire selected block) and displays the
total number on the status line.
Result: XyWrite counts the number of words from the current cursor
position (or in the displayed block) to the beginning of the file and
displays the total number on the status line.
3-102
Formatting
4-1
Formatting (conCd)
4-5 Overview
4-5 Embedded Commands
4-8 Units of Measure
4-9 Draft/Graphic/Expanded Views [F81, [Shiftl [F81. [Ctril [F8|, ZOOM
4-13 Alignment
4-14 Flush Lett / Center / Right FL, FC, FR, LJ
4-16 Justification JU, NJ
4-17 Non-Breaking Space [Ctrl] [Shift] | Space Bar]
4-2
(confd) Formatting
4-3
Formatting (confd)
4-4
Embedded Commands Overview
4-5
Embedded Commands (confd)
4-7
Units of Measure
For example, the following command sets a left indent 3 picas, 6 points:
Type: [F5]ip 3pi6pt,3pi6pt0
NOTE #1 Default Measurement Units. You can use the UV (Unit Vertical) and the
UH (Unit Horizontal) settings to change the default unit of measure. See
"Default Settings" in the Customization Guide for more information.
NOTE #2 No Measurement Unit You can enter commands directly into your file by
switching to expanded view and typing, for example, «lml.5in». (Press
Ictrfl E] and [Cui] [>) to enter the « and ».) Be careful to include the unit of
measure if you are embedding commands directly into your file in this
way; XyWrite does not append them to the command as it does when you
enter a command from the command line. If you embed a command in
the file without a unit of measure, the value is interpreted as tenths of an
inch if it applies to horizontal measures and as lines if it applies to vertical
measures. For example, if the command «TS1» is embedded in a file, it
means a tab stop at 1/10 inch, not 1 inch as you might expect.
4-8
Formatted/Draft/Graphic/Expanded Views
Purpose Formatted view, draft view, graphic view, and expanded view are four
different ways to display a document.
• Formatted view shows the line endings as they will be printed and also
shows page breaks as a solid line. Embedded commands appear as
triangles, keeping the screen uncluttered, and text is displayed in a
monospaced screen font.
• Draft view also shows the embedded commands as triangles and
displays text in a monospaced screen font. Unlike formatted view,
however, draft view does not show page breaks, and it may not show
true line endings (see Note #3).
• Graphic view approximates how the document will look when it is
printed. That includes justification, graphics, lines and borders,
typeface and point size changes, margins, and indents. Embedded
commands are shown as curved lines.
When you are in graphic view, you can use the ZOOM command to
enlarge or reduce the view of a page. (The ZOOM command is
described in detail in the next section.)
• Expanded view reveals all embedded commands within double-angle
brackets — that is, they are expanded for viewing. You can then move
the cursor into the embedded commands and change them. Line
endings are not shown as they will be printed, but instead wrap to fit
the size of the window (see Note #3).
NOTE #1 Page Break Indicators. There are two page break indicators: page-page
depth numbers at the top of the screen and horizontal lines between
pages. Both these indicators are turned off in draft and expanded views.
To turn them on, press |F8] to return to formatted view.
NOTE #2 Default Settings. In expanded view, the built-in default settings are used
in place of the document's own settings. Therefore, the ruler line looks
different in formatted and expanded views.
4-9
Formatted/Draft/Graphic/Expanded Views (confd)
NOTE #3 Wrap to Fit In draft and expanded views, XyWrite breaks lines at the end
of the window so you don't have to horizontally scroll text. If you prefer,
you can change the WF (Wrap to Fit) setting in the default file so that draft
view displays line endings as they will print and expanded view displays
lines that are 80 characters wide. Refer to "Default Settings" in the
Customization Guide for more information.
4-10
(confd) Formatted/Draft/Graphic/Expanded Views
/----
Q
||- •»•!........ > 2 >• -31 > > 5.......► b >....... 71-. •
l-« ■ M MT-------------------------------------- r
•UI.SW^Wb.SIflM. T
Thia la a evaparisoa of the aaae text ia Expaadcd, kraft, tad Graphic aleea.
Tou cat svltch aodcs at a ay tlae by prmlag the appropriate tey- re for
Bratt, Shift, re for Graphic, a ad Ctrl-n for Cxpaaded,.
«lr.3IR,.3I!W
•raft Ulev. [sledded coaaiada appear as triaagles.
*
tepaaded Vie
*. btedded cveMadi appear expanded vithia faille eagle
Expanded
hrachcte. 5oae o( these coaaaads aoraally “ aarkrrs, telle others
appear aa display aodre. Itotlce that the iadeit does sot »trc
* r '• Lrfeaded
• lev. fteltbcr do the Ute or aarjlao — all screes foraattlag appears It the
default set tlags.»
^cmiBMnzinnfuuiiiHnnriuTuiiiinnumnmuoannigHF
k /
/ ■x
Formatted
Graphic
k y
4-11
Zoom Graphic View ZOOM
Purpose The ZOOM command lets you enlarge or reduce the graphic view of a
page: you can zoom in to get a close-up of a section of a page, or zoom out
to get a snapshot of an entire page.
Because you are still in graphic view after you issue the ZOOM command,
you can make edits to the text or format, and XyWrite automatically
adjusts the display to reflect those edits.
You can use relative values with the ZOOM command by adding a plus
(+) or minus (-) sign before the percentage. When XyWrite sees a plus
sign before the percentage, it adds that value to the current percentage;
similarly, when XyWrite sees a minus sign before the percentage, it
subtracts that value from the current percentage.
2. Issue the ZOOM command to reduce the size of the page to 50% of its
current size.
Type: [F5]zoom 50[Z]
3. If that isn't enough to fit the bottom of the page on the screen, reduce it
an additional amount. For example:
Type: [F5]zoom -200
Result: The current page is now displayed at 30% of its original size.
4-12
Alignment
You may want to modify the appearance of text by changing its alignment.
The four alignments available are shown in the figure below. This section
covers these alignments and explains how to apply them to a single line or
to the whole document. Also described in this section are two related
topics — Non-Breaking Space and Hyphenation.
4-16 Justification
Justify JU
No Justify NJ
4-18 Hyphenation
4-18 Automatic Hyphenation
4-20 Show Hyphenation SHOHYP
4-21 Hyphenation On/Off HY
4-22 Manual Hyphenation
4-13
Flush Left/Center/Right FL, FC, FR, LJ
PURPOSE The alignment commands control the horizontal alignment of text. You
can align text to the left (the most common alignment), to the right, or
center it between the margins. You can freely switch from one alignment
to another by typing the command for the new alignment.
XyWrite offers two sets of alignment commands: one set controls the
alignment of the current line and the other controls the alignment of the
document. The commands are:
Line Document
Left LJO FL
Center LJ1 FC
Right LJ2 FR
4-14
FL, FC, FR, LJ (confd)
NOTE #1 Keyboard Shortcuts. You can use the following keys to change the
alignment of a document:
Flush Left [ciri] [Shift] L
Flush Right @ IshiftlR
Force Center [Ctrl] [Shift] C
NOTE #2 Menu Option. The Line Justification (LJ) commands are not available
through the menus.
4-15
Justification JU NJ
Purpose The JU (Justify On) command causes the text to be printed justified — that
is, the text is even along both its left and right edges. JU and NJ are
complementary — you use JU to turn justification on and NJ to turn it off.
1. Move the cursor to the start of the line you want justified.
2. Type: [F5]ju|7i]
Result: The text following the JU embedded marker will be justified when
it is printed. Justification stays in effect throughout the remainder of the
document unless NJ is encountered to turn it off. To turn off justification:
1. Move the cursor to the line whose alignment you want to change.
2. Type: [F5]niCT
Result: The text following the NJ is flush left (or flush center or flush right
if it was last in effect).
NOTE #3 Combinations of Alignments. If you use FL, FR, or FC with JU, the body
of text is justified; however, short lines — lines which end with hard
returns — are pushed left, right, or center, according to whether FL, FR, or
FC preceded JU.
NOTE #4 Display of Justification. To view justified text on screen, press [Shg] [F8] to
switch to graphic view.
4-16
|Ctri] IShiftl [Space Bar| Non-Breaking Space
FORMAT [cirtltshiitlfs^tol
MENU Not a menu item.
PURPOSE S dES I space Bari inserts a space that will not break at the end of a line. This
is useful when you want to prevent two words from ever being separated.
The non-breaking space is displayed in formatted, draft and expanded
views as a ▼ ; in graphic view, it is displayed as a space.
Type: Route
Type: 66
4-17
Automatic Hyphenation
1. Call DICT.HYP.
2. Move the cursor to the point where you want to add the word (see
Note #4) and type the word you want to change.
a. If you want to change where the hyphens appear, type the word
with the hyphens in place. For example, you may prefer to
hyphenate "dictionary" before the "n" rather than after it.
Type: dic-tio-nary
b. If XyWrite hyphenates a word that you do not want hyphenated,
type the word with no hyphens. For example:
Type: Harold
*
c. If your word is seven characters or longer, you might want to
include an asterisk (*) at (or near) the end of the word. (See Note
#2.)
4-18
(confd) Automatic Hyphenation
NOTE #2 The Asterisk. When an asterisk (*) is not present in a word, XyWrite loads
only the first seven characters of that word into memory — only these
characters are compared to the text. To load more than seven, insert an
asterisk after all the letters you want included. Only the letters ahead of
the asterisk are loaded into memory.
NOTE #3 Saving Dictionary Space. The dictionary memory buffer is 64K; to save
space, you can place the asterisk so one root word represents several
forms. This is because the part of a word after the first seven letters (or
after the asterisk) is handled by the same internal rules that hyphenate
most words.
For example, lef s look at the root word "approximate." The dictionary
contains "ap-prox-i-m
*
ate." Here's how other forms will be broken:
approximately is treated as ap-prox-i-mate-ly
approximation is treated as ap-prox-i-ma-tion
approximating is treated as ap-prox-i-mat-ing
Before you enter a word and place the asterisk in it, jot down all the
alternate forms you want covered. Then put the asterisk where it correctly
handles all or most of them. Save and load the dictionary and try each
form. If one doesn't break correctly, switch back to the dictionary and
experiment with the placement of the asterisk, or list the errant form
separately.
NOTE #4 Ordering the Words. You don't need to order the words alphabetically in
the dictionary. However, we recommend that you insert them
alphabetically to help you locate words easier.
ALSO SEE Related Command. The HV (Hyphenation Variable) setting controls the
minimum size of hyphenated words. Refer to "Default Settings" in the
Customization Guide for more information.
4-19
Show Hyphenation SHOHYP
Purpose The SHOHYP (Show Hyphenation) command enables you to see all of the
hyphenation points in a list of words. It does this by creating a new file
(HY.TMP) which lists the words with all hyphens showing.
You would use SHOHYP, for instance, if you were a lawyer and wanted
to check the hyphenation on a set of words peculiar to your profession.
You would type up a list of these words, store the file, and execute
SHOHYP on that file. You would then look over the hyphenated
words—if any were exceptions to the rules and did not break properly,
you could single them out and add them to the DICT.HYP file along with
the proper hyphenation.
4-20
HY Hyphenation On/Off
FORMAT EJZJHY1
ESUHYO
MENU imil Hyphenation I rjffn ilt. pti
Purpose The HY command lets you turn automatic hyphenation on and off within
a document. When hyphenation is on, XyWrite hyphenates only words of
six characters or more, with a minimum of three characters before the
hyphen and three characters after the hyphen (see Note #1).
4-21
Manual Hyphenation
O TI
OI
A hard hyphen is always
visible, no matter where
Hyphenations
word falls on the line.
Use a non-breaking hard
hyphen for a minus sign, Hard Hyphen
such as -2 _____ ______
Always visible
You would use a breaking
• Non-Breaking
hard hyphen for words Breaking
as pre-empt “ana self---
evident. These are words
which require a hyphen.
Soft Hyphen
• Visible only when
A soft hyphen is used to the word breaks
break long words at the end at the end of a
of a line, such as inalien line; not visible
able. A soft hyphen dis otherwise.
appears if the entire word
fits on the line.
4-22
(edit'd) Manual Hyphenation
1. Switch to expanded view with [cifil [F8]. The soft hyphen will show as a
tilde (~).
3. Press: I Backspace!
NOTE #1 Hard Hyphen. A hard hyphen is always visible, whether the word appears
in the middle or at the end of a line. XyWrite has two kinds of hard
hyphens.
• Breaking Hard Hyphen. Use this hyphen in words where the hyphen
is a normal part of the word (words such as self-evident, pre-empt),
and where you want to allow the word to break at the hyphen at the
end of a line.
• Non-Breaking Hard Hyphen. Use this hyphen for the minus sign (-2),
and for hyphenated words which you don't want to break at line
endings — perhaps company or product names, like Lotus 1-2-3.
NOTE #2 Soft Hyphen. Use a soft hyphen to break a long word between syllables
when the word falls at the end of a line. Use the soft hyphen only for
words which would otherwise not be hyphenated, or to override the
hyphenation points determined by XyWrite.
The soft hyphen is visible only when the word breaks at the end of a line
(except in expanded view).
4-24
Date and Time
Intro XyWrite will enter the correct date and time into your document for you
in either of two ways: with the current date and time (with DA and TM)
that continually update or as a time stamp (with TODAY and NOW or
SEC) which does not update.
4-25
Date DA, TODAY
Purpose The DA (Date) and TODAY commands both insert the current date into
your text. DA inserts a soft date — it is continually updated, always
displaying the current day, month and year. TODAY inserts a hard date,
as permanent text, never updated. The clock internal to your computer
automatically provides the current month, day and year.
You have great flexibility in how you display the date. See the examples
later in this section. If you don't specify a form, the date format default's
to "letterhead" style (full month, day, full year), such as:
April 1,1993
However, you can change that default by placing a DA setting in the
default file; see the note "Changing the Default Date Format."
4-26
(confd) DA, TODAY
NOTE Changing the Default Date Format When you use the TODAY or DA
command without a form, the date appears in 'Tetterhead" form. But you
can change that default form with a DA setting in your default file.
For a European-style format (day, month, year), for example, call up your
default file and insert the following line:
DF DA=d Mmm yy
Once the default file is saved and loaded, any TODAY or DA command
without a form will yield a date with the form:
1 Apr 90
(See "Default Settings" in the Customization Guide for more on how to put
settings in the default file.)
Options Month. Note below that you use uppercase Ms where you want
uppercase letters to appear in the month.
Format Examples
4-27
DA, TODAY (confd)
Day. The day of the month can be expressed any of three ways:
• Two-digit yean yy 93
Use two Ys.
EXAMPLES Combinations of Month, Day and Year. You can combine the month, day
and year in any order. You can also insert any punctuation you want
printed. If the current date were April 1,1993, the following combinations
would yield the dates shown:
4-28
TM, NOW, SEC Time
Purpose The TM, NOW, and SEC commands insert the current time into your text,
as provided by the clock internal to your computer. TM enters the soft
time — it's continually updated (like a clock). It shows the new, current
time whenever it appears on the screen or is printed. NOW and SEC insert
the current time as non-changing text. The only difference between NOW
and SEC is that SEC includes seconds in its format (for example, 10:24:52).
Result: The time appears in the text along with an embedded marker. TM
appears in expanded view as «TM».
1. Move the cursor where you want the first character of the time to be
located.
2. Type: [F5]nowH or [FsJsecH
Result: The current time is inserted, fixed as ordinary text.
NOTE #1 Updating. The time inserted by the TM command does not automatically
update on the screen. You must change a character on that line, or move
the TM command off the screen and back on for it to update.
NOTE #2 Time Format. XyWrite displays time in AM/PM format (e.g., 10:30 PM). If
you prefer, you can display time in 24-hour format (e.g., 22:30). To do this,
change the MT (Military Time) setting in the default file to MT=1. Refer to
'Default Settings" in the Customization Guide for information on changing
the default file.
4-29
TM, NOW, SEC (confd)
NOTE #3 Measuring Elapsed Time. If you want to keep track of how long it takes
you to complete a task, you can use the ZT (Zero Time) and ET (Elapsed
Time) function calls like a stopwatch. The ZT function call resets the
stopwatch to zero and starts the time; the ET function call records the
amount of time that has elapsed since you issued ZT and inserts it in the
text. Time is recorded in hours, minutes, and seconds. Refer to "Keyboard
Files" in the Customization Guide for information on using function calls.
4-30
Footnotes
INTRO If y°u use footnotes, you'll find XyWrite gives you a great deal of control
over how they appear. You can easily place all footnotes at the bottom of
the page, as basic footnotes, or at the end of your document, as endnotes.
In either case, as you add or delete footnotes, XyWrite handles the
numbering and placement of footnotes for you.
CONTENTS section begins with an overview and then describes each command
individually:
Commands
4-37 Footnote Command FN
4-38 Footnote Separator FS
4-39 Footnote Wrap Separator FW
4-41 Bottom Footnote BF
4-42 Dump Footnotes DF
4-43 No Footnotes NF
4-44 Set Footnote Number SF
4-48 Footnote Format FM
4-31
Basic Footnote Procedures
4-32
(confd) Basic Footnote Procedures
▲▲▲
When you create foot
notes, XyWrite handles
« FN This is a very long the numbering automat
footnote—in fact, so iong that it ically. You can freely
wraps to the next page, to add or delete footnotes
demonstrate Footnote Wrap without chinking about
Separator» ^how they are numbered
PRINTOUT OF
FOOTNOTES
I R
l i::
I When you create foot- . .
1 notes, XyWrite handles I '
| the numbering automat- 'S
■ ically. You can freely R
1 add or delete footnotes J ;
I without thinking about < '
how they are numbered. Iz
J If you care to, you | ?
■ can take charge of the . ■
Footnote Separator'
2 This is a very long 1 -
| footnote — in face, so I
Footnote
f long that it wraps co the .- I
I
|
I
{
i
Footnote Wrap Separator (cont'd)
i
next page, to demonstrate
Footnote Wrap Separator.
i
4-33
Basic Footnote Procedures (confd)
1. Move the cursor to the point in the body of text you want marked for a
footnote (that is, where you want the superscripted number).
2. Type: [F5]fnS3
Result: The footnote window opens in the middle of the screen.
5. Move the cursor to anywhere ahead of the first footnote (usually the
top of your document), in preparation for entering the footnote format.
6. Enter the format for your footnotes using the FM (Footnote Format)
command. While this step is not always necessary, we strongly
recommend using FM. For example:
Type: [F5]fm uf=times,lm=.8,rm=5.5S
If you omit FM, XyWrite uses the program's default values to format
the footnotes.
4-34
(confd) Basic Footnote Procedures
NOTE #1 Editing Footnotes. There are two ways you can edit the text in a footnote:
(1) by switching to expanded view with [Ctril [fb] or (2) by opening the
footnote command. To open the footnote, place the cursor on the footnote
number and press [Fill (or ® [fT]). The footnote window opens up and
displays the stored text so you can make edits. Close the footnote window
by pressing [Shift] [A].
Although you can see the footnotes in graphic view, you cannot edit them.
NOTE #3 Printing the Footnotes. After following the procedure "Creating a Basic
Footnote," you can use PRINT to print your document with footnotes.
The footnotes will automatically be printed just below the text on each
page, separated from the text by the footnote separator.
4-35
Basic Footnote Procedures (confd)
2. Move the cursor to the end of the document, where you want to print
all of the footnotes (in other words, where you want to dump the
footnotes).
(1 is optional)
Result: The NF1 command (No Footnotes) suppresses the printing of
footnotes from that point forward (up to DF1). However, the footnotes are
still accumulated internally by XyWrite. The DF1 command dumps, or
unloads, all of the footnotes at its location in the text (see Note #4).
NOTE #4 Exact Location of the Endnotes. The endnotes are not necessarily inserted
at the exact location of the DF embedded marker, but rather start at the
bottom of that page. The endnotes are positioned higher or lower on the
page, according to the setting of BF (Bottom Footnote), which is described
later in this section.
NOTE #5 Printing Only the Endnotes. If you want to print out only the endnotes,
use the previous procedure, placing the DF command on its own page at
the end of the document. Then print from that page forward (for example:
PRINT ,12-). To view the endnotes, use Print-to-Screen (PRINTS ,12-).
This would print all endnotes to the screen rather than to the printer.
Setting the Footnote Number. Set the footnote number with SF — all
subsequent footnotes renumber automatically. Refer to SF—Set Footnote
Number.
Setting the Format for Footnotes. Set margins, tabs, line spacing and any
other format settings with FM. You also use the FM command to specify
the style in which footnote numbers print and the amount of space
between footnotes. Refer to FM—Footnote Format.
4-36
FN Footnote Command
FORMAT EEEJFNs
s (optional) is the number of the footnote set (1,2 or 3).
FN1 is the same as FN.
MENUS
Purpose The FN (Footnote) command lets you enter footnotes in text. You type in
the text of the footnote as part of the FN command, then end it by pressing
[Shift] [FjJ. When you print the document, XyWrite automatically inserts the
footnotes at the bottom of the pages on which they are referenced.
XyWrite lets you create as many as three independent sets of footnotes in
the same document. If you need just a single set, use FN, which is the
same as FN1. The other sets are FN2 and FN3.
When you're done entering the FN command, the footnote text is not
normally visible. You can view the text in a footnote in four ways:
• Press [Shift] [fs] to switch to graphic view; the footnote appears in position
on the page.
• In draft or formatted view, move the cursor onto the footnote number;
the first part of the footnote appears on the status line.
• With the cursor on the footnote number, press |fT7] (or [Ait] [fT|); a
command window opens, displaying the contents of the footnote.
• Press [Ctrl] [fs] to switch to expanded view; the FN command is expanded
to display the text of the footnote.
The last two options also allow you to edit the footnote text.
NOTE #1 Footnote Format. To create footnote margins (or tabs or line spacing)
different from the program defaults, use the FM (Footnote Format)
command. FM1 (or FM) affects all footnotes in its set uniformly, as do
FM2 and FM3.
NOTE #2 Shortcut. If the footnote text is short, you can type it all on the command
line as follows:
Type: [F5jfn This is a one-line footnote. 0
4-37
Footnote Separator FS
FORMAT ESZJFSs
s (optional) is the number of the footnote set (1,2 or 3).
FS1 is the same as FS.
MENUS ESJES3ES33
Purpose The FS (Footnote Separator) command allows you to specify lines which
separate the footnotes from the body text. The lines (which can contain
text or can be blank) are located immediately above the footnote. An
example of a Footnote Separator is illustrated at the start of the Footnote
section. Very often people choose the footnote separator to be three lines:
• A blank line
• A row of hyphens, underlines or asterisks
• Another blank line
A Footnote Separator can be specified for each of three independent sets of
footnotes as: FS1, FS2 and FS3. FS1 is the same as FS alone (with no
number).
NOTE #1 Location of FS. Any Footnote Separator commands you use (FS1, FS2 or
FS3) must be placed ahead of any footnotes they affect. It is a good practice
to place the commands at the top of the document, where they are easy to
find.
If you prefer to print only the separators associated with footnote sets that
actually appear on the page, you can change the CF (Change Footnote
Separator) setting in the default file to CF=1. (The default is CF=0.) See
"Default Settings" in the Customization Guide for more information.
4-38
FW Footnote Wrap Separator
FORMAT ESZJFWs
s (optional) is the footnote set number (1 to 3).
FW1 is the same as FW.
M E NU S EEH E3E3
Purpose XyWrite tries to put the entire footnote on the page where it belongs. If it
won't fit, the footnote will automatically continue (wrap) on the next page.
This next page is where the Footnote Wrap Separator is used.
• A blank line
• A row of hyphens, underlines or asterisks, followed by the text:
(continued)
• Another blank line
The word (continued) refers to the fact that the footnote is continued from
the previous page.
A Footnote Wrap Separator can be specified for each of the three sets of
footnote separators. The footnote wrap separators correspond directly to
the three commands FS1 (or FS), FS2 and FS3.
1. Move the cursor to anywhere before the first footnote in the set. (It's a
good practice to use the top line.)
4-39
FW (confd)
3. Now type the lines you want to define as the wrap separator.
Important: Make the Footnote Wrap Separator the same number of
lines as the Footnote Separator you are already using. For example:
Before causing a footnote to wrap, XyWrite first attempts to move the text
containing the footnote (along with the footnote itself) to the next page.
However, it will not allow the text and footnote to fall short of the
minimum page length (set by BTmax).
4-40
BF Bottom Footnote
FORMAT ESZJbfh
n is 0 or 1
MENUS IE! E3SES! E3EM
1. Move the cursor anywhere before the footnotes you want to affect.
(We recommend the top line of your document.)
Result: When you print the document, the footnotes will be positioned
against the last line of text.
NOTE #1 Footnote Sets. There is only one BF command, and it applies to all three
footnote sets.
NOTE #2 Default If you want footnotes to print against the text in all your
documents, you can change the BF setting to 0 in the default file. (See
"Default Settings" in the Customization Guide for information on
modifying the default file.)
4-41
Dump Footnotes DF
FORMAT
s (optional) is the footnote set number (1 to 3).
DF1 is the same as DF.
MENUS
Note #1 Text After the DF Command. If you have text after the DF command
(e.g., if you are dumping footnotes at the end of every chapter), insert a
PG (Page Break) command between the DF command and the text that
follows it. Otherwise, XyWrite will fill the page that contains the DF
command with text before dumping the footnotes, possibly moving up
text that follows the DF command.
4-42
NF No Footnotes
FORMAT MlNFs
s (optional) is the number of the footnote set (1,2 or 3).
NF1 is the same as NF.
MENUS
Purpose The NF (No Footnotes) command turns off the printing of footnotes at
the bottom of each page. (The footnote numbers still appear in the text,
though.)
You can have an NF command for each of the three sets of footnotes.
Whenever you use an NF command (NF1, NF2, or NFS) you must use
the corresponding DF command (DF1, DF2, or DF3).
NF takes effect at the point it is placed in the document, and affects the
remainder of the document — that is, until a DF command is
encountered. Thus, you would place NF at the tap of a document in
order to inhibit the printing of all footnotes.
4-43
Set Footnote Number SF
FORMAT ESflSFs n
s (optional) is the number of the footnote set (1,2 or 3).
n (optional) is the footnote style and starting value.
SF1 is the same as SF.
Menus
PURPOSE 'The SF (Set Footnote Number) command sets the style (numbers, letters,
symbols) and the starting value of footnotes. You place the SF command
ahead of the first Footnote (FN) command that you want to affect.
Since XyWrite supports up to three separate sets of footnotes, you can
designate a footnote style and starting value for each set with SF1, SF2,
and SF3.
There are six different styles from which you can choose:
Decimal numbers SF 1
Uppercase roman numerals SF I
Lowercase roman numerals SF i
Uppercase letters SFA
Lowercase letters SF a
Defined string SF *n or SF #n
If you want to start the sequence with a different value, use that value in
the command. For example, the command SF iii tells XyWrite to number
the footnotes in lowercase roman numerals and to start the sequence at iii.
If you do not specify an SF command, XyWrite uses decimal numbers
starting at 1.
This section includes the following procedures:
• Selecting the Style and Starting Value
• Restarting the Sequence
• Setting Unnumbered Footnotes
• Defining Footnote Symbols
4-44
(confd) SF
2. Decide what style and starting point you want to use. For illustration
purposes, let's use lowercase letters starting with "e" for footnote set 2:
Type: [F5]sf2 eM
Result: Footnote set 2 is assigned lowercase letters e, f, g, and so on.
4-45
SF (cont'd)
NOTE #1 Entering the CS (Counter String) Table. The CS table in the default file
defines the strings that can be used as footnote symbols. The format of the
CS table is:
cs:#
string 1
string#
where # is the number of strings. For example:
cs:5
*
%
&
§
1
The strings in the Counter String table can also be used as counters and
page numbers. You can have only one Counter String table per default
file.
4-46
(confd) SF
NOTE #2 Recycling Symbols. If you choose a footnote style with a limited number
of symbols (e.g., lowercase letters or the Counter String table), you may
run out of symbols before you run out of footnotes. When that happens,
XyWrite returns to the beginning of the list of possible symbols and inserts
the first one twice, then the second one twice, etc. The list is repeated as
many times as necessary.
NOTE #3 Draft and Formatted Views. If you restart the sequence of footnote
symbols on each page, the actual symbol is not displayed in draft or
formatted view. Instead, a superscript 2 appears on the screen.
If you want an individual file to use a different footnote style but still
increment properly in a chain file, you can use a modified SF command.
Simply put a question mark before the SF format in all but the first file.
For example, assume that the first file in the chain contains the command
SF A to label footnotes with uppercase letters. In the subsequent files,
enter the following command:
NOTE #5 Initial Values for Letters. The initial value of any letter definition is the
letter you specify. However, if that letter can also mean a roman numeral
then it is taken as a roman numeral. Letters used as roman numerals are I,
V,X, L, C, Dand M.
If you want to start footnote numbers with the letter L (rather than the
roman numeral fifty, which is also L), then you precede the letter with a
double quote mark:
EJsf 1 MLS
Footnote Format FM
FORMAT ESZJFMs .
s (optional) is the number of the footnote set (1, 2 or 3).
nm is a format command (UF, SZ, LM, RM, TS,IP, LS, FLZ FCZ FRZ JU, NJ,
FT, or SC).
= (equals sign) separates the name from the value.
n is the value of the format setting.
, (comma) separates the settings.
MENUS E^ESSS3E3B3
Purpose The FM command defines the format for footnotes. If you don't use the
FM command, all footnotes use XyWrite's default format (as opposed to
the current format) for text.
In addition to the standard text formatting commands (margins,
paragraph indent, line spacing, offset, etc.), you can define the following
footnote styles with FM:
• Footnote Transition (FT) — Allows you to specify how much extra
space appears between footnotes.
• Superscript Numbers (SC) — Allows you to change the mode for
printing footnote numbers.
XyWrite supports up to 3 independent footnote sets. You can create a
separate format for each set by putting the set number into the FM
command, i.e., FM1, FM2 or FM3. Any set of footnotes that does not have an
FM command takes the program's default format.
2. Decide which footnote set you want to use. Let's use set 3:
Type: [F5]fm3 sz=9pt,lm=.8,rm=5.5,ft=.20
Result: Footnotes in set 3 are 9 point, and have a left margin of .8 inch and
a right margin of 5.5 inches. When more than one footnote appears on a
page, there is 2 inch between each one.
4-48
(confd) FM
Type: sz=9pt,uf=times
NOTE #3 Default Settings. You can also change the settings of SC and FT in the
default file. You might prefer this method if you use the same values for
every document. See "Default Settings" in the Customization Guide for
more information.
4-49
NOTES
4-50
Graphic Design Commands
Intro XyWrite gives you the tools you need to produce any type of document,
including those that are highly designed, like newsletters and brochures.
This section describes some commands that let you apply graphic design
techniques, such as wrap-around text and borders, to your documents.
4-51
Graphic Design Procedures
Purpose This section gives you an overview of the steps involved in creating a
page that incorporates a frame and a border. Keep in mind as you review
the procedure that the example represents the simplest application of two
powerful commands. Detailed descriptions and more complex examples
of the commands follow the overview.
There are three parts involved in producing a page with a reserved frame
of white space and a border. To summarize:
• Type the text. Enter the body text of the page, and use the appropriate
formatting commands to define the margins, point size, typeface, etc.
• Reserve the space for the illustration. Use the FA (Frame Area)
command to reserve space for an illustration (see Note).
• Define and insert the border. Use the BO command to define the type
of border and line weight.
Creative Strategies Helps Growth does not just happen. Since the demands of the market
You Build on Your The seeds that are the germ of arc well-documented phenomena
your product must be planted in and we all have to work with
Strengths
soil that will nourish its growth. limited resources, we would like
to concentrate on the second item.
4-52
(confd) Graphic Design Procedures
Write the text you want, as in the illustration, and add the appropriate
formatting commands.
1. Move the cursor to the page on which you want the frame to appear.
Type: [FslfaCT
Type: si=2.3x1.3,po=2.5x3.2;
Press: |Shrft||Fl]
Result: XyWrite reformats the text on the page so that it flows around
the reserved frame. (Every time you change the size or position of the
frame, XyWrite adjusts the text to accommodate it.)
Press: |Shift]|F8|
4-53
Graphic Design Procedures (conCd)
To insert a border that has a line weight of 2 points around the frame you
created in the previous procedure:
4-54
FA Framing an Area
Purpose The FA (Framed Area) command allows you to define and reserve
"boxes" of space on a page. You can leave these reserved areas blank,
enter text into them, or merge graphic files into them (see the illustrations
on the following page).
When the framed area is narrower than the width of the text, text flows
around the frame in one of the following ways:
4-55
FA (confd)
Blank Framed
Area
Framed Area i
with Text I
L
Framed Area
with Graphic
4-56
(confd) FA
Type: [F5]fa0
Type: si=2.3x1.3,po=2.5x3.2;
4. Enter the appropriate formatting commands for the text you are
inserting (see Note #4). Margin and indent values are measured from
the edge of the area, not from the edge of the page. For example:
Type: £5] sz 11 pt 0
Type: [F5]mdit0
Type: [F5]rm 2.20
Type: [F5)uf times0
Type: EOgu .50
5. Enter the text that you want to appear in the reserved area.
6. Close the window.
Press: fShittl[FT|
Result: When you print your document (or when you display it in graphic
view), the text you entered in step 5 appears in the reserved area.
4-57
FA (conCd)
NOTE #1 Size Options. There are three options for defining the size of the framed
area:
• You can specify the actual dimensions, as shown in the previous
example.
• You can omit the SI setting and let XyWrite define the size
automatically for you, based on the size of string. If string does not
include an IG (Import Graphic) or IN (Import Printer-Ready File)
command, XyWrite uses the width of the current page as the area's
width (see Note #4). If string does include an IG or IN command,
XyWrite gets the width information from the file being imported.
• You can specify one dimension and let XyWrite automatically calculate
the other by substituting the letter "A" for the dimension (e.g.,
SI=Ax4).
NOTE #2 Position Options. There are three options for specifying the position on a
page of the framed area:
• You can specify the actual coordinates, as shown in the previous
example. To do this, measure from the top left comer of the page (not
from margins) to the upper left comer of where you want XyWrite to
place the framed area.
• You can use keywords to specify a horizontal or vertical area of the
page. XyWrite accepts the following keywords for the horizontal
position:
PC Position of command
LP Left of page
TM Text margin
CP Center of page
RP Right of page
LC Left of column
CC Center of column
RC Right of column
XyWrite accepts the following keywords for the vertical position:
PC Position of command
TP Top of page
CP Center of page
BP Bottom of page
TC Top of column
CC Center of column
BC Bottom of column
4-58
(confd) FA
• You can combine the first two options by using the specific coordinate
for one value and a keyword for the other (for example, PO=LPx2).
XyWrite also allows you to define different positions for odd- and even-
numbered pages. If you do that, XyWrite positions the framed area one
way if it falls on an even page and another way if it falls on an odd page.
For example, suppose you want the framed area to be on the outside
corner of the page. On an even page, that would be the left corner, while
on an odd page it would be on the right corner.
To apply this option, use the POO (Position Odd) and POE (Position Even)
arguments instead of PO. You must include both arguments in the FA
command; otherwise, XyWrite treats the single argument as if it were
simply a PO argument.
NOTE #3 String Options. There are three options for defining the contents of the
reserved area:
You can combine the last two options to add a title or caption to the
imported information. Text that appears before the IG or IN command is
placed over the imported information; text that appears after the IG
command is placed after the imported information.
NOTE #4 Inserting Text. The size of the reserved area does not restrict the width of
the text you are inserting. If you insert text in an FA command, be sure to
include an RM (Right Margin) command with that text. Otherwise, the
text may print beyond the edge of the reserved area.
ALSO SEE Related Commands. The following commands are often used in
combination with the FA command: BO (Border); IG (Import Graphic);
and IN (Import Printer-Ready File).
4-59
FA (confd)
EXAMPLES The following examples of the FA command are shown in expanded view.
« FASI=AxA,PO=LPxPC;« IGFLOW.TIF» »
This command creates a framed area that is left on the page and is
vertically placed at the position of the cursor when the command is issued.
If you add or delete text before the marker that represents the command,
the vertical position of the frame will change. XyWrite automatically
calculates the size of the framed area based on the contents of the
imported graphic.
4-60
BO, UP, UB Drawing a Border
PURPOSE The BO (Border) command allows you to put a border around the
following page elements: table cells; snaked columns; and framed areas
created by an FA command. In addition, you can put a border around an
entire page. The BO command also allows you to put lines between
columns or table cells and to create shaded areas behind your text or
graphic.
When you define a border, you can use a keyword as the border name or
you can give it a custom name. The type of border name you use affects
the way that you apply borders: if the name is a keyword, XyWrite
automatically applies the border to all page elements that correspond to
that keyword; if the name is a custom one, you use either the UB (Use
Border) or UP (Use Page Border) command to apply it.
UB applies the named border to all table cells, reserved areas, and snaked
columns. It overrides any borders that were defined with keywords. UP
tells XyWrite to insert the border around the page; it does not override
borders that were defined with keywords.
4-61
BO, UP, UB (confd)
Result: XyWrite applies this border to all snaked columns in the file,
unless you supersede it with a UB command or turn it off with a UB NO
command.
Result: XyWrite uses the page width of 8 inches to draw the border.
2. Define the border with the BO command. Page borders use a custom
label rather than a keyword. In addition to specifying the weight, page
borders generally look better if you establish an inset. For example:
Result: When you print the file, all pages will have a border around
them. The UP command has no effect on other borders. It remains in
effect until you issue a UP command with another name or turn page
borders off with a UP NO command.
4-62
(confd) BO, UP, UB
NOTE #1 (Label). The label argument defines the name of the border, or the type
of page element to which this border is to apply. The format is:
NOTE #4 IS (Inside Shading). This argument defines the shading within the box
created by the border. The format for this argument is:
IS=%
where % is the percentage of black you want the shading to be. A value of
0 means no shading; a value of 100 produces solid black. Typical values
for IS are 5 and 10.
NOTE #5 RS (Rule Shading). This argument defines the shading for the lines (or
rules) that make up the border. The format for this argument is:
RS=Z,r,f,fe
where lfr,t,b define the percentage of black you want the shading to be. A
value of 0 means that the lines are invisible; a value of 100 means that the
lines are solid black. If you omit one or more values, XyWrite substitutes
the last specified value.
NOTE #6 AB (Adjacent Borders). XyWrite defines adjacent borders as borders of
the same height (or length) that fall side by side on the page. The most
common occurrence of adjacent borders is between columns or rows in a
table or between snaked columns. AB does not apply to framed areas.
By default, XyWrite combines adjacent borders into one border, using the
line weight of the left border. For example, instead of two lines between
snaked columns, one forming the right border of column 1 and one
forming the left border of column 2, XyWrite prints one border, centered
between the two columns.
The AB argument lets you maintain adjacent borders as separate lines. It
also lets you turn printing of borders on or off, depending on whether
they are combined borders or not. For example, you can choose to print
only those borders that are combined (e.g., between columns and rows) or
only those borders that are not combined (e.g., around the outside of a
table). You can even choose to print none of the borders, or to apply
different rules to the top, bottom, left, and right borders.
The format of the AB argument is:
AB=/,r,f,b
where l,r,t,b define the way XyWrite treats adjacent left, right, top, and
bottom borders. If you omit one or more values, XyWrite substitutes the
last specified value. The AB argument uses the following values:
0 Adjacent borders are combined. (This is the default.)
1 Border is invisible when combined with another border.
2 Border is invisible unless combined with another border.
3 Border is always invisible.
4 Adjacent borders are not combined.
4-64
(confd) BO, UP, UB
BO, UP, UB (confd)
NOTE #7 Page Width. XyWrite uses the value established for PW (Page Width) as
the outer right boundary of page borders. The default value for PW is 8.5
inches.
NOTE #8 White Space. You can use the ET (Element Top) and EE (Element End)
commands to insert space between the top and bottom borders and the
text of a cell, column or frame.
NOTE #9 Nesting Commands. You can insert the BO and UB commands inside
certain formatting commands. For example, you can put them inside an
RH or RF command to create a border around a running header or footer.
You can also put the BO command inside an FA command so that it
applies only to the framed area being defined, rather than to all framed
areas. This rule applies only to formatting commands that open a
command window so you can embed other commands. You cannot nest a
BO command inside an SN (Snaked Columns) command, for example,
because SN does not open a command window when you issue it.
NOTE #10 Printer Requirements. Your printer must support graphic mode for
borders to work.
ALSO SEE Related Commands. The BO command interacts closely with the FA, CT,
and SN commands. You should also be familiar with the effects of the ET
(Element Top), EE (Element End), and PW (Page Width) commands before
using the BO command.
EXAMPLES BO lb=FA,is=10
Defines and applies a border for framed areas (as defined by an FA
command). This command fills all areas with a gray screen, 10% of black.
There are no lines around the framed area because there is no WT
argument.
BO lb=SN,wt=1pt,rs=25,is=20
Defines and applies a border for snaked columns; the lines of the border
are 1 point thick and are 25% of black. The area inside the border is 20% of
black. This command puts lines around every snaked column in the file.
BO lb=THICK,wt=3pt,rs=50„100,is=25
Defines a border named THICK, with a line weight of 3 points. The left
and right borders print in 50% of black, while the top and bottom borders
are solid black. The area inside the border is 25% of black.
This border is not applied until you issue a UB THICK command; after
that, it is applied to all columns, tables, and frames in the file until it is
superseded by another UB command.
4-66
(confd) BO, UP, UB
BO lb=SOLID,wt=2pt„3pt
Defines a border named SOLID. The left and right borders have a line
weight of 2 points, while the top and bottom borders have a weight of 3
points.
This border is not applied until you issue a UB SOLID command; after
that, it is applied to all columns, tables, and frames in the file, until it is
superseded by another UB command.
BO lb=CT,wt=2pt,ab=2„3,rs=75
Defines and applies a border for column tables. The line weight for all four
borders is 2 points, and the lines print in 75% of black. The left and right
borders are visible only when they are adjacent to another border; the top
and bottom borders are always invisible.
BO lb=CT,wt=1pt,ab=1
Defines and invokes a border for column tables. The line weight is 1 point.
The borders are only visible if they are not adjacent to another border.
The effect of this AB setting is to put borders around the outside of the
table, but not between columns or rows.
BO lb=FA,wt=2pt1in=.4„.2
Defines a border for all framed areas. The line weight is 2 points. The
border insets from the left and right boundaries by 4/10 inch, and from
the top and bottom boundaries by 2/10 inch.
4-67
Line Drawing BOX
FORMAT IS2JBOX
MENUS
Purpose The BOX command puts you in line drawing mode, which allows you to
draw horizontal and vertical lines to separate columns or rows of data,
create boxes or borders around your text (see Note #1), even create simple
illustrations. You can draw with a single or double rule, or you can specify
any other character as your line drawing character. Unlike most
commands in this chapter, the BOX command is an immediate command;
it is not embedded in text as a command marker.
There are several rules that you need to follow when you are in line
drawing mode:
• Use a monospaced font (see Note #1).
• End every line with a hard return.
• Put extra space around your text to allow for the lines to be
inserted—otherwise, the line drawing characters will overwrite the
text.
• Be sure your printer supports the line drawing characters.
Also keep in mind that you cannot enter text while you are in line drawing
mode, although you can erase characters by overwriting them with the
line drawing character or with a space.
4-68
(confd) BOX
5, Del Delete the character under the cursor when the arrow key is
pressed. (The character is actually replaced by a space.)
Type: 1
7. Press the right arrow key until you reach the point where you want the
upper right corner of the border.
8. Press the down arrow key until you reach the point where you want
the lower right comer of the border.
Result: Your poem now has a single line border around it.
Result: You can now enter text in your document. You can also delete
and add line drawing characters in the border you created.
NOTE #1 Monospaced Fonts. You can only use the line drawing function with
monospaced fonts (e.g., Courier, Pica, Elite). If you use a proportionally
spaced font, the lines will be skewed when you print the document.
4-69
NOTES
4-70
Headers and Footers
Intro The term running header refers to text that appears at the top of a page and
repeats on successive pages. Similarly, running footer refers to text that
repeats at the bottom of pages. You can create headers and footers that:
4-71
Running Header & Footer RH,RF
Purpose The RH (Running Header) command inserts at the top of every page a
block of text that you specify. Similarly, the RF (Running Footer)
command inserts text at the bottom of every page. As text you can include
chapter title, page number, date, time, even a graphic. (XyWrite can
automatically update the date and time.)
You specify the running text once and it automatically repeats page after
page. You can start the text on any page and change or remove it on any
successive page.
To have the same text on every page you would use the commands RH or
RF. In order to alternate text on odd and even pages, you use pairs of
commands: both RHE and RHO or RFE and RFO.
Tab, space, or leader over to near the right margin and then type in the
page number command (PN):
Type: [FslpnCT
4-72
(confd) RH, RF
6. Enter a carriage return for each blank line you want between the text of
the Running Header and the text of the document. Let's say you want
two blank lines:
Type: 0 EO
NOTE #1 Other Page Number Formats. The PN command alone puts in normal
page numbers, starting at 1,2, etc. But XyWrite can start at any number
and create many formats. (See the "Numbering" section later in this
chapter.)
NOTE #2 Embedded Commands. If you are using the RH (or RF) command to
specify the same running text on all pages, the expanded view appears as
RHA (or RFA). If you edit while in the expanded view, never omit the
third letter of the command — XyWrite understands «RHA» and «RFA»,
but «RH» or «RF» will generate an error.
NOTE #3 Where Running Headers Take Effect The Running Header (RH)
command takes effect on the current page only if it is on the first line of
that page, ahead of any text, returns, or spaces. (It can be preceded by
other embedded commands.) If the command is anywhere else on the
page, it will take effect at the top of the next and subsequent pages.
There may be times that you want to define a running header at the top of
the document so that all the initial formatting commands are together, but
you don't want the header to print until page 2. The IC command allows
you to do that; when inserted before an RH command, IC has the same
effect as a text character, forcing the running header to start printing on
the next page. The format of the IC command is:
IC
NOTE #4 Where Running Footers Take Effect. The Running Footer (RF) command
takes effect on the current page only if it is on the first line of that page,
ahead of any text, returns, or spaces. (It can be preceded by other
embedded commands.) If the command is anywhere else on the page, it
will take effect at the bottom of the next and subsequent pages.
4-73
RH, RF (confd)
NOTE #5 Preventing an Extra Blank Page with a Running Header From Being
Printed. Symptom: At the end of your document your printer prints an
extra page with only a running header or footer (and no other text) on it.
Cause: You are probably ending your document with extra carriage
returns which are forcing a new page, or with a PG (Page Break)
command followed by more than one carriage return. Remedy: Remove
the last PG command and any unnecessary carriage returns from the end
of the file. You can also turn on the page-line indicator (with [F8p to
preview the page numbers.
NOTE #7 Entering a Short Header or Footer. You can type in a short, unformatted
header by typing the text on the command line after the command. This is
a shortcut for the method shown under Action. For example:
Type: [fs]rh This is a running header^]
NOTE #8 Borders. You can put a border around the running header or footer by
embedding the BO command inside the RH or RF command. Refer to
'Thawing a Border" for information about the BO command.
NOTE #9 Editing Headers and Footers. You can edit the text of headers and footers
by switching to expanded view ([Ctrl] [fs]) or by moving the cursor to the
embedded command marker and pressing [Fii] (or [AftllFil).
NOTE #10 Previewing Headers and Footers. Running headers and footers are
visible in expanded and graphic views. You can also view the footnotes
with PRINTS. Graphic view and PRINTS show the headers/footers
positioned properly on each page.
ALSO SEE Page Format To see how the Running Header and Footer interact with
other page format commands such as BT (Bottom Margin) and FN
(Footnotes), refer to the section "Page Length Procedures."
4-74
Importing Files
Intro One of the more powerful features of XyWrite is its ability to import files
from other software programs. Your final documents can include
graphics, spreadsheets, database records, even text generated on other
word processor programs. XyWrite performs the necessary file
conversions, and reformats your document to accommodate the imported
information.
4-75
Import Graphic IG
PURPOSE The IG (Import Graphic) command allows you to merge graphics from
many different sources into your document. You can also use the IG
command to crop or scale a graphic so that it better fits into your page
layout.
When you import a graphic, XyWrite doesn't merge the contents of the
graphic file into your document. Instead, it saves the filename and
instructions for how you want to modify it in the embedded command.
When you print or switch to graphic view, the data from the imported file
is merged in memory with the data from the XyWrite file.
In addition, you can use the XyWrite menus to convert from other formats
into TIFF. (See Note #1.)
XyWrite provides several sample graphic files that you can use to simply
learn about the IG command or to incorporate into your finished
documents. By default, the sample graphic files are stored in the
\XY4\PICTURES directory.
4-76
(conCd) IG
4-77
IG (cant'd)
4-78
(cont'd) IG
NOTE #1 Other Graphic Formats. You can use XyWrite's menus to convert a
graphic file from other graphic formats into TIFF. Once it is in TIFF, you
can import it with the IG command. The formats you can convert are:
CGM (Computer Graphics Metafile) MSP (Microsoft Paint)
CUT (Dr. Halo) PGL (HP Plotters)
DXF (Auto CAD) PIC (Lotus 1-2-3)
GCA (GOCA) SBP (IBM Storyboard)
ICA (IOCA) WMF (Windows Metafile)
IMG (GEM Paint) WPG (WordPerfect Graphics)
This conversion cannot be performed from the command line.
NOTE #2 Using IG with the FA (Framed Area) Command. You can nest the IG
command inside an FA command. This approach has several advantages:
(1) you can define a specific page placement for the graphic; (2) you can
put a border around it; and (3) you can include a caption or title. Refer to
the description of the FA command for more information.
NOTE #3 Scaling a Graphic. You can specify different percentages for the horizon
tal and vertical scaling; when you do, the shape of the graphic changes.
NOTE #4 Cropping a Graphic. The format of the cropping argument is:
CR=XxY WxD
Crop points are based on the original size of the graphic; scaling is
applied after cropping. The first set of values (XxY) defines the upper left
corner of the image area you want to incorporate. To determine these
values, measure from the upper left comer of the entire graphic to the
upper left corner of the part of the graphic you want to use. For example:
4-79
IG (cont'd)
In this example, 0x0 defines the upper left comer of the entire graphic, and
.375inx.375in defines the starting point of the cropped image.
The second set of values in the CR argument defines the size of the image
area you want to incorporate. You determine these values by measuring
the width and height of the desired image area, starting at the XxY
coordinates you established for the upper left corner. For example:
• t '*
<
• ■
' ** . - -y >
C'
>
/ x z* ••• -■
\ /
V 1.25 in. X 1.25 in.
\ \
NOTE #5 Printing Text over the Graphic. If you specify a DE (Depth) of 0, XyWrite
prints text over the graphic. If you use this option to create a background
for text, the graphic will not appear in graphic view.
4-80
(confd) IG
NOTE #7 File Location. When you include a graphic file, it is not actually saved in
your document—only its filename is saved. The graphic file must be
accessible when displaying or printing the file. XyWrite first looks for the
graphic file in the current directory, then in the directory of the parent file
(the file that contains the IG command), and finally in the directory
specified in GP (Graphics Path) default setting in SETTINGS.DFL.
NOTE #8 Fast Display. If you do not want the graphic to display when you are in
graphic view, you can do a "fast call" by adding the /F switch to the
CALL command. The format is:
ESUcall/f filename
This option will save you time if you are working in graphic view. Instead
of the graphic, XyWrite displays the name of the graphic file, and shows
the space reserved for it.
NOTE #9 Original Graphic File. XyWrite does not modify the original graphic file;
instead it applies the modifications you request to a copy of the file in
memory.
NOTE #10 Bi-Level Images. Imported images must be bi-level (i.e., 2-color like black
and white); multiple levels of gray are not supported.
NOTE #11 Printer-Ready Files. You can also use the IG command to import a
printer-ready file. To use this option, specify PRF as the file type. For
example:
Type: [F5]ig c:\docs\adv.ps,ty=prf,de=4in(3
When you specify the PRF file type, the IG command acts like the IN
(Include) command. Refer to the description of the IN command on the
next page for more information.
4-81
Including Printer-Ready Files IN
Purpose The IN (Include) command allows you to have the contents of a printer
ready file incorporated into your document when you send it to the
printer. (A printer-ready file is a file that can be output directly to the
printer from DOS.) Many programs, including XyWrite, allow you to
create printer-ready files.
For XyWrite to maintain the proper page count, you must specify the
amount of vertical space required by the file you are including (see Note
#1).
Files imported with the IN command cannot be viewed on screen, even in
graphic view. They are merged with your XyWrite file during printing
only.
NOTE Graphic View. As mentioned above, the files you are including are not
displayed. However, in graphic view, XyWrite displays the name of the
file being included and a box that shows the space being reserved for it.
4-82
(confd) IN
NOTE #1 Calculating Depth. When you are calculating the depth of the file you are
including in your document, you must be sure to take into consideration
all commands within the file being included that will have an impact on
that depth.
To measure the depth, create a simple document that contains a line of
text, the IN command for the printer-ready file you want to measure, and
another line of text. Output that document and use the lines of text as
markers to determine how much space you need to specify in the IN
command.
NOTE #2 File Availability. When you include a printer-ready file, it is not actually
saved in your document—only its filename is saved. The printer-ready file
must be accessible when you display or print the file. XyWrite looks for it
first in the specified directory (if any) and then in the current directory.
NOTE #3 Printer Compatibility. When you create the printer-ready version of the
file you want to include in your XyWrite document, be sure you are
preparing it for output to the same printer you will be using for your
XyWrite document.
NOTE #4 ASCII Files. If the file you want to include in your XyWrite document is
an ASCII file, you may want to use the MERGE command to copy the
contents of that file into your XyWrite document. Choose the method that
best suits your needs.
NOTE #5 Printer Settings. It is possible that your printer-ready file could change a
printer setting without XyWrite knowing about it. In those cases, you may
have to reset the printer to its original state. For example, if your printer
ready file switches to expanded (wide) character mode for a graph and
does not switch back to normal character mode, you will have to insert an
MD (Mode) command after the IN command. If your printer prints a
graphic and then returns to the point where it started, you need to embed
an EL (Extra Leading) command in your XyWrite file. (In the latter case,
specify a depth of 0 in the IN command.)
NOTE #6 File-End Markers. Files that contain a file-end marker are not printer
ready.
4-83
Linking Text LINKTX, LT, IE
PURPOSE The LINKTX command filters and imports text that is in other file formats
into a XyWrite file. Supported formats include Lotus 1-2-3, dBase III,
Excel, and many word processor formats. (For a list of supported formats,
see Note #1.) In addition, the LINKTX command establishes a link to the
source file, so that you can easily update your XyWrite file if the source
file changes. (If you do not want this link established, use the /NL
switch.)
When you issue the LINKTX command, XyWrite converts the file you are
linking into a XyWrite-compatible temporary file. XyWrite then performs
the following operations:
• Saves the current formatting information (of the displayed XyWrite
file) in a style named TXLNK.
4-84
(confd) LINKTX, LT, IE
• Merges the temporary file into the displayed file at the current cursor
location. The information from the temporary file is enclosed between
two embedded commands: «LrTd:\path\filname,format /switch», which
marks the beginning of the linked text; and «IE», which marks the end
of the linked text.
• Inserts a «USTXLNK» command to restore the formatting in effect
before you linked.
• Deletes the temporary file.
Once text has been imported, you can edit it just like any other text. If the
source file changes, you can easily replace the linked text in the XyWrite
file with the UPDATETX command.
NOTE #1 Supported Formats. The formats currently supported are listed below,
with their identifier:
Format Identifier
ASCII NCP2X
(native code page)
XyWrite III W4W17F / VO
XyWrite III Plus W4W17F/V1
Signature W4W17F /V2
WordPerfect 4.1 W4W06F /VO
WordPerfect 4.2 W4W06F /VI
WordPerfect 5.0 W4W07F /VO
WordPerfect 5.1 W4W07F /VI
WordPerfect for Windows W4W07F /VI
Microsoft Word 3.0,3.1 W4W05F /VO
Microsoft Word 4.0 W4W05F /VI
Microsoft Word 5.0,5.5 W4W05F /V2
4-85
LINKTX, LT, IE (corn'd)
4-86
(confd) LINKTX, LT, IE
tells LINKTX to link the cells between column C, row 2 and column F, row
6 from the spreadsheet file CALENDAR into the currently displayed file.
The /NR switch lets you use use Lotus 1-2-3's range naming feature. For
example, if you have named a range in your spreadsheet MYRANGE, you
can import only that range with the following command:
[fsJ li nktx c:\ss\calendar.wfw20f /vO /nrmyrangeH
The /NR switch does not apply to Excel spreadsheets.
4-87
LINKTX, LT, IE (confd)
Omit the quotation marks (”) that normally surround the /X statement.
To use the command file, you use the /C switch with the LINKTX
command. For example, if the command file is named EXTRACT, and the
database file is named DATA.DBF:
4-88
(confd) LINKTX, LT, IE
NOTE #5 International Lotus 1-2-3 Support When you are converting Lotus 1-2-3
files, the /V switch can contain any of the following optional data:
/Vabcde
NOTE #6 Location of Filters. Each conversion format has its own .EXE program
that is run by the LINKTX command. Xy Write looks for these programs
in the path defined by the WW default setting. This location is typically
C:\XY4\FILTERS. Refer to "Default Settings" in the Customiztaion Guide
for more information on the WW setting.
4-89
Updating Linked Text UPDATETX
PURPOSE The UPDATETX command allows you to replace the information that was
previously imported with the LINKTX command. UPDATETX uses the
arguments embedded in your document by the LINKTX command, so
you don't need to redefine the conversion format, extraction criteria, etc.
1. Call the file that contains the previously linked text that you want to
update.
4-90
Numbering
Intro XyWrite's automatic numbering system, described in this section, lets you
number your document in virtually any format found in print.
You can number chapters, paragraphs, sections, lists, outlines, lines, and
pages — all at the same time, if need be. All numbers stay in order, even
when material is added, deleted or switched around.
You also can create references within your text, such as "Refer to Graph 6,
Chapter 3, p. 112." While not precisely numbering, this function is
intimately involved with automatic numbering; that is, you can link it to a
counter or footnote. And it works the same way — as you move the
referenced passage around during editing, XyWrite always keeps the
reference accurate regarding counter or footnote number, page and
chapter.
Even if you do only one kind of numbering, you might read this section
just to discover how powerful the system is.
Like other sections, this one takes you through procedures in the first part,
and then covers commands individually.
4-91
Numbered Lists
3. Now insert the Cl counter in the text at each place you want the
automatic numbers to occur.
Type: [F5]c10
Result: Cl takes (A) as its first value, (B) as its second value, etc., as
shown in Example #2 on the example pages. Each of the letters is
generated automatically by XyWrite.
4-92
(confd) Numbered Lists
2. Type: |F5]dc 1 =l A 10
Result: This defines the top level.
4. Now enter the Cl, C2 and C3 counters in the list, indented as shown in
Example #5.
You can simplify the outlining process further by defining a style for each
outline level with the SS (Save Style) command and then applying the
appropriate style with the US (Use Style command). To use styles for the
three outline levels:
NUMBERING
EXAMPLE #2 «DC1=(A)»
EXAMPLE #3 «DC1=(A-1)»
1 Animals *
<<01 Animals
1.1 Birds «C2» Birds
1.1.1 Albatross «C3» Albatross
1.1.2 Penguin «C3» Penguin
1.2 Mammals «C2» Mammals
1.2.1 Monkey «C3» Monkey
1.2.2 Lion «C3» Lion
2 Plants «C1» Plants
2.1 Trees <«C2» Trees
2.1.1 Oak «C3» Oak
«C3» Magnolia
2.1.2 Magnolia
2.2 Flowers <cC2» Flowers
«C3» Daisy
2.2.1 Daisy «C3» Rose
2.2.2 Rose
4-94
(confd) Numbered Lists
NUMBERING
EXAMPLE #5 «DC1=I A 1»
(Property «DC2=A 1»
constructed «DC3=1»
DC command)
I Animals «C1» Animals
A Birds «C2» Birds
1 Albatross «C3» Albatross
2 Penguin «C3» Penguin
B Mammals «C2» Mammals
1 Monkey «C3» Monkey
2 Lion «C3» Lion
II Plants «C1» Plants
A Trees «C2» Trees
1 Oak «C3» Oak
2 Magnolia «C3» Magnolia
B Flowers «C2» Flowers
1 Daisy «C3» Daisy
2 Rose «C3» Rose
EXAMPLE #6 «DC1=I»
(Improperly «DC2-A»
constructed «DC3=1»
DC command)
I Animals «C1» Animals
A Birds «C2» Birds
1 Albatross «C3» Albatross
2 Penguin «C3» Penguin
B Mammals «C2» Mammals
3 Monkey «C3» Monkey
4 Lion «C3» Lion
II Plants «C1» Plants
C Trees «C2» Trees
5 Oak «C3» Oak
6 Magnolia «C3» Magnolia
D Flowers «C2» Flowers
7 Daisy «C3» Daisy
8 Rose «C3» Rose
EXAMPLE #7 «DCO=I»
(Chapter-Page No.)
11-13 «R FA«C 0»-« PN»»
4-95
Numbered Lists (confd)
Refer to the previous two pages of examples. These should give you a
good idea of how to use the DC commands and C counters.
Example #2. With DC 1=(A), the Cl counter numbers the items alpha
betically. The parentheses specified in the DC command appear in the
numbering.
Example #5. The three DC commands are necessary here to produce the
result shown. The first DC command ensures that Cl resets the C2 and C3
levels. The second DC command ensures that C2 resets the C3 level.
(Compare with Example #6.)
4-96
(confd) Numbered Lists
Result: The first chapter will be numbered I, the second II, and so on.
1. Type: [F5]cO0
3. Type: [F5]pn0
Result: Your finished document will contain page numbers that look
something like this: 11-43. (A counter in a header or footer will not throw
off the count. It merely reads the current value of the counter in text.)
NOTE #2 Chapter Numbering in More than One File. Chapter numbering works
even if your chapters are in several files. When you link files for chain
printing with PRINT @ (or for display with PRINTS @), chapters are
numbered consecutively — as if they all were in one file. (See Chapter 2
for more on PRINT @ and PRINTS @.)
Using the example from Note #1, to number chapters consecutively in a
set of files:
1. Put DC 0=1 only in the first chapter file displayed or chain printed.
4-97
Numbered Lists (confd)
NOTE #3 Counter Format for Chain Files. All counters continue through a chained
set of files, unless they are reset with a DC command in one of the files.
But if you work with an individual file without DC commands in it, all its
counters take on the 1,2,3 format.
To solve this, you can put a modified DC command in each file for each
counter — one that will show the desired format, yet increment properly
in a chain file. Simply place a question mark (?) before the DC format in
all but the first file. (The means the final value is currently unknown.)
For example, we've already put the DC 0=1 in the first of our chain files to
count chapters in roman numerals (see Note #1). Now, at subsequent
chapter titles,
Type: [F5]dc 0=?l [Z>1
Result: Subsequent files, displayed separately, will increment starting at
roman numeral one (I); when chain printed, they will be consecutively
numbered: I, II, III, IV, and so on.
4-98
(confd) Numbered Lists
NOTE #9 Leading Zeros. You can define counters to have leading zeros which will
print out. For example, the command [F5]dc 1=.01 CT produces numbers .01,
.02, etc. The command [F5]dc 1 =.001 CT produces numbers .001 to .010 to .100,
etc.
NOTE #10 Numbering Within Numbered Sections. You may want to run an
independent numbered list within a section that is numbered — say, a
numbered outline within a section which is already numbered. There are
15 counters, starting with 0 and ending with 14. If you use the lower
counters, say 0 through 7, for your automatic chapter and section
numbering, you can use counters 8 through 14 for numbering within a
section.
NOTE #11 Punctuation. Punctuation you specify in the DC command does not
appear at the end of the numbers (except as noted below) — it appears
only between numbers. In Example #4, if you wanted a period to follow
the numbers on both of the Cl lines (such as 1. and 2.), you would insert
them manually after the Cl markers, or use styles as described in the
procedure "Making an Outline."
Every rule has an exception. Four characters are permitted to be printed
immediately after a number: The closing parenthesis ')', square bracket']'/
curly brace'}' and angle bracket This lets you make definitions that
include numbers or letters in parentheses.
Any punctuation can appear ahead of the first number (nl). Example #2
demonstrates an open parenthesis being used in the DC command ahead
of the A. You are not limited to only one character of punctuation
between nl and n2 — there is no limit.
NOTT #12 Unnumbered Counters. You can set up an unnumbered counter which
will reset higher numbered counters. Simply insert an exclamation point
in the command string at the point you want unnumbered entries. For
example, the commands:
[F5]dc 1=1 ! 1 CT
[F5]dc 2=! 1 CT
[F5]dc 3=1 CT
produce numbered entries for Cl and C3 counters, but unnumbered
entries for C2 counters.
NOTE #13 Resetting Counters. You can reset a counter and its subordinates to the
lowest value for the numbering style in effect (e.g., A or 1) by issuing the
DC command with just the counter number (for example, [F5|dc 1).
NOTE #14 Creating References. The "Reference Commands" section which follows
describes how to set up references.
4-99
Define Counter DC
NOTE #1 Defining the Styles for Numbers. You can use DC to define up to 15
levels; you define a style for each level. The five basic styles (with their
typical starting values shown) are:
Numeric 1
Uppercase roman numerals I
Lowercase roman numerals i
Uppercase letters A
Lowercase letters a
A sixth style, which lets you create your own sequence, also is available.
(See Note #3).
4-100
(confd) DC
NOTE #2 A Closer Look. When you're setting up a nested numbering scheme, such
as an outline or sub-paragraphs (i.e., 1.2.2), the values you give with the
DC command (# and nl, n2, n3,...) correspond to the counters as follows:
DC0=nI Defines CO
DC0=nl.n2 Defines CO and Cl
DC 0=nl.n2.n3 Defines CO, Cl, and C2
and so on.
DCl=nl Defines Cl
DCl=nl.n2 Defines Cl and C2
DC I=nl.n2.n3 Defines Cl, C2, and C3
and so on.
DC13=nl Defines Cl3
DC 13=nLn2 Defines C13 and Cl4
No other levels can specified with DC 13.
If any level is left unspecified, it takes on the default value of 1, as the
earlier Example #1 demonstrates.
NOTE #3 Creating Your Own Set of Counters. You can create a totally original
numbering set with XyWrite by entering a Counter String table in the
default file. (This is the same table used for custom footnote labels.) The
table has the following format:
cs:#
string!
string#
# is the number of strings in the table. Then, when you set the number in
the document, use the appropriate number-setting command with an
asterisk or a pound sign. For example:
de 1=
*1 or dc1=#1 (to define a counter)
If you don't want numbers to start with the first symbol in the string, add a
number for how far down to start. For instance, use de 1= *2 (or de 1=#2)
to start with the second string. When it reaches the end of the list,
XyWrite recycles it. If you used an asterisk in the DC command, XyWrite
prints the first string twice, then the second one twice, etc. If you used a
pound sign in the DC command, XyWrite simply starts at the beginning of
the list without doubling the entries.
The strings in the Counter String table can also be used as footnotes or
page numbers. You can have only one Counter String table per default
file.
4-101
Counter Command CO to C14
FORMAT K3ZIC# -
# is the counter number (0-14).
CO is used for chapter numbering.
- (optional) lets you use the current counter value without incrementing
the counter.
MENUS EEt Numbered Lisi Insert Number„ Insert Level.
Purpose The CO through C14 (Counter) commands increment and insert the
current value of the counter into the text.
The DC (Define Counter) command defines a set of counters CO through
C14. Through proper selection, you can do paragraph, section, chapter
and outline numbering as well as the simple numbering of lists.
In its simplest use, numbering a list of things, you can use CO through C14
without giving a DC command. Refer to Example #1 in the previous
section"Numbered Lists."
NOTE #1 Using the Current Count Twice. Sometimes you need to make use of the
same automatic number in more than one place. For instance, you might
want to refer to the section number in the text itself:
Section 3. In Section 3 we discuss ...
Let's say you're numbering sections with counter Cl. To repeat the
section number in the text, use the hyphen (-) option of the C counter
(note the space between the counter number and the hyphen):
Press: [F5]c1 -CT
NOTE #2 Using the Current Count in Headers, Footers and Footnotes. You can
refer to the current count in headers, footers, and footnotes using the
normal C0-C14 commands. They will be printed without incrementing
the automatic numbering in the text.
4-102
(confd) CO to C14
4-103
Line Numbering LN
PURPOSE The LN (Line Number) command allows you to print the number of each
line of text in the margin. You use the LN command to define the line
numbering specifications and to turn line numbering on and off.
Line numbers print in the typeface, size, and mode that were in effect
when you issued the command. You can specify the following options
with the LN command.
Modifier Description
o#e# Offset. How far from the edge of the paper you want the
numbers to print for odd and even pages (where # is the
amount of the offset). You must specify a value for o#. If you
omit the e# modifier, XyWrite uses the value defined for o#.
i# Initial Value. Starting line number (where # is the number). The
default is 1.
d# Divisor. Allows you to print every other line number, every -
fifth number, every tenth number, etc. by specifying a divisor
(#). The default is 1, which means that every number is
printed.
c Continuous Numbers. Count numbers continuously from page
to page. The default is to restart on every page.
b Blank Lines. Do not count blank lines. The default is to number
blank lines. (A blank line is one that contains a carriage return
but no text; it may contain formatting commands.)
h Headers. Include running headers in the count. The default is to
omit running headers from the line count.
f Footers. Include running footers in the count. The default is to
omit running footers from the line count.
4-104
(confd) LN
1. Move the cursor to the start of the first line you want to number.
NOTE Line Number Display. XyWrite does not display line numbers on screen
unless you issue a PRINTS (Print to Screen) command.
[F5]ln o.5e.3d10fCT
Numbers print 0.5 inch from the edge on odd pages and 0.3 inch from the
edge on even pages. Only every 10th line number is printed, and running
footers are included in the count.
[F5]ln o.5i5d5£3
The numbers print 0.5 inch from the edge of the paper for both odd and
even pages. The numbers start at 5 and only every 5th line number prints.
4-105
Page Number PN,FP
FORMAT gmpN
ESOfp
Purpose The PN (Page Number) command inserts the page number in the text.
The page number starts at 1 with the first page of a document and
automatically increments for successive pages. You can use SP (Set Page
Number) to change the starting page number and the numbering style
(i.e., i, ii, iii... or a, b, c...).
FP (Final Page) inserts the number of the last page — useful for a 'Tage 5
of 7" format.
1. Move the cursor to the top of the page where you want the running
header to start.
2. Type: [Fgrhgj]
3. Type: Page Es]pn[7j]
Type: of (include a space before and after "of")
Type: [F5]fpSSS
(The two extra returns separate the RH from the text.)
4. Type: [ShFl EJ (to close the header)
Result: Printed page numbers look like 'Tage 1 of 8," 'Tage 2 of 8" and
so on.
4-106
(confd) PN,FP
NOTE #1 Changing the Starting Number. If you want pages in your document to
start at a number other than 1, use the SP command described on the next
page.
NOTE #2 Determining the Page Number. To tell what the current page number is:
Press: [F8]
Result: The current page number shows at the top of the screen. This
number adjusts for any change of page numbers due to an SP command in
the text.
4-107
Set Page Number
FORMAT FTOlSPn
n is the starting page number.
MENUS EE5J EE3
Purpose The SP (Set Page Number) command sets the starting page number and
defines the series as numbers, letters or symbols. You place the SP
command on the page you want to affect. We recommend that you put it
on the first line of the page, ahead of the embedded PN (Page Number)
command.
There are six different styles from which you can choose:
Decimal numbers SP 1
Uppercase roman numerals SP I
Lowercase roman numerals SP i
Uppercase letters SP A
Lowercase letters SP a
Defined string SP *n or SP #n
If you do not specify an SP command, XyWrite uses decimal numbers
starting at 1. If you want to start the sequence with another number, or in
another of the styles shown above, use that value in the command. For
example, the command "SP iii" tells XyWrite to number the pages in
lowercase roman numerals and to start the sequence at "iii."
4-108
(confd) SP
NOTE #1 Initial Values for Letters. The initial value of any letter definition is the
letter you specify. However, if that letter can also mean a roman numeral
then it is taken as a roman numeral. Letters used as roman numerals are I,
V, X, L, C, D and M.
If you want to start page numbers with the letter L (rather than the roman
numeral fifty, which is also L), then you precede the letter with a double
quote mark:
[F5]sp "L0
NOTE #2 Entering the Counter String Table. The Counter String Table you put in
the default file defines the strings that can be used as page numbers. (You
can have only one Counter String Table.) See "Define Counter" for a de
scription of the Counter String Table or refer to "Default Settings" in the
Customization Guide.
NOTE #3 Count Sequence for Letters. Letters increment from A through Z. After Z
comes AA, BB, and CC through ZZ. The sequence continues with AAA,
BBB, CCC, etc. If you prefer to have the second series print as AA, AB,
AC, etc., put the setting AZ=1 in your default file. (The default is AZ=0.)
The same patterns hold for lowercase letters.
4-109
SP (confd)
If you want an individual file to use a different page number style but still
increment properly in a chain file, you can use a modified SP command.
Simply put a question mark before the SP format in all but the first file.
For example, assume that the first file in the chain contains the command
SP i to label page numbers with lowercase roman numerals. In the
subsequent files, enter the following command:
4-110
REP, REC, REF, LB Reference Commands
PURPOSE Suppose you want to write "See Chapter 7, Section 4, The War Years/ p.
361"; but you aren't sure The War Years will stay on page 361 — or will
even stay in Chapter 7. With XyWrite you label the part called The War
Years, then use the REP, REC and REF commands to refer to the label.
You can use these commands to automatically update all references to
page numbers, chapter numbers, paragraph numbers, footnote numbers,
heading numbers, or any other counters CO - C14.
Each procedure for creating references has two parts:
• Part I. Label the Text — The label is a unique name that tags the
passage so you can track its page, chapter, footnote and counter
number.
• Part II. Use the Reference Commands — The REF, REP and REC
commands are placed in your referral statement. They indicate where
the reference text is.
We use the term referral statement to mean any statement such as "See page
6" which refers to labeled text.
We illustrate referencing with the following options, each of which
requires Parts I and II listed above.
• Referring to the Page Number of Any Text
(Option la) You mark the text with an LB (Label) command and use
REP (page) to refer to that text.
• Referring to Chapter & Page Numbers of Any Text
(Option lb) You mark the text with LB, and use REC (chapter) and REP
(page) in the referral statement.
• Referring to a Counter.
(Option 2) You can attach a label to a counter, such as an illustration
number or section number. REF in the referral statement will yield the
current counter number, REP the page number and REC the chapter
number (if chapter counter CO is used).
4-111
REP, REC, REF, LB (confd)
PART II Use the Reference Command — Elsewhere in your text, create the referral
statement "See page
1. Move to the page where you want to refer to the text.
2. Type: See page (add a space after "page")
3. Type: [F5] rep travel S
Result: The referral statement includes a marker where the page number
goes.
See page «REPtravel» (Expanded view)
See page ▲ (Draft, formatted, or graphic view)
See page 6 (printed out)
4-112
(confd) REP, REC, REF, LB
To begin with, you must have a chapter counter (CO) inserted at each
chapter title ("Counter Command" earlier tells how to use the Chapter
Counter).
PART I Label the Text — Use the LB command exactly like Option la.
PART II Use the Reference Commands — Use the REC (chapter) and REP (page)
commands:
Result: The referral statement includes markers where the page number
and chapter number go:
PART I Label the Counter — Add a unique name to the existing counter
command, in this case C2 (rather than using the LB command).
1. Move the cursor to the marker representing the counter command C2.
2. You'll replace the counter command, so delete it:
Press: [Dell
4-113
REP, REC, REF, LB (cant'd)
3. Let's label this text "plan." (Note: The first character of a counter label
cannot be a number.)
Type: [F5]c2 plan[7>]
Result: The text with the counter command would look like:
PART II Use the Reference Commands — To write a phrase like "See Section D,
Five-Year Plan" elsewhere, with the current section letter, you use REF to
track the labeled counter "C2plan."
Result: The referral statement includes a marker where the section letter
goes:
PARTI Label the Footnote — Use an LB command to label the footnote, and REF
to track the labeled footnotes.
1. Place the cursor where you want the footnote number to appear in
your text.
2. Create the footnote with the FN command:
Type: [F5]fnH
3. The first thing in your footnote must be a unique label — for example,
"authors":
Type: [Fsjlb authors£3
4-114
(confd) REP, REC, REF, LB
PART II Use the Reference Commands — You use the same procedure for the
REP, REF, and REC commands. In this case, we will refer to only the
footnote number.
Result: The referral statement has a marker where the footnote number
goes. In expanded view, it looks like this:
NOTE #1 Combining Commands. We started this section with the example, "See
Chapter 7, Section 4, 'The War Years/ p. 361." See if you can create this
reference by combining all three commands as described above. (The an
swer is given in the next paragraph.) In addition to the referral statement,
1) you need a CO counter at chapter titles; and 2) the label itself goes with
the section title, "The War Years" — either with an LB command or inside
a C counter if you're using counters on section titles.
4-115
REP, REC, REF, LB (confd)
NOTE #3 Chain Printing. XyWrite allows you to print multiple files as one file with
its chain printing command (see PRINT @ in Chapter 2). When you are
chain printing a series of files, you can use Reference commands to refer to
labeled text that appears in earlier files in the chain. You cannot use the
Reference commands to refer to subsequent files.
NOTE #4 Line Endings. Because the number stored in the Reference commands is
not displayed on the screen, XyWrite must estimate its width in order to
calculate line endings. If the reference number is more than five digits
long, the line containing the reference may extend beyond the right
margin when you print the document. To increase or decrease the space
allotted for reference values, change the FU setting in the default file.
(Refer to "Default Settings" in the Customization Guide for more
information.)
4-116
Page Length
Intro In this section we have grouped together commands which affect the
length of the printed page. Because these commands interact, we begin
with an overview that describes all of the essential settings.
4-118 Overview
4-123 Form Depth FD
4-124 Top Margin TP
4-125 Bottom Margin BT
4-127 Element Top, Element End ET, EE
4-129 Page Break PG
4-131 Non-Breakable Blocks NB, BB
4-133 Widow and Orphan WD, OP
4-135 Blank Lines BL
4-117
Overview
o■ ;o
TOP o: :o
MARGIN
o: :: °
o
o: ;o
O' ’Curiouser and curiouser!-1 cried Alice (she •o
o: was so much surprised, that for the moment :o
O' she quite forgot how to speak good English). ’o
o: ’Now I’m opening out like the largest
telescope that ever was! Good-bye feet!’ :o
o; (for when she looked down at her feet, they !O
o> seemed to be almost out of sight, they were ■o
o: getting so far off). ’Oh, my poor little
feet, I wonder who will put on your shoes and :o
o: stockings for you now, dear? I’m sure I !°
TEXT
shan’t be able! I shall be a great deal too !O
AREA
o; far off to trouble myself about you: you
must manage the best way you can -- but I ;o
11 o• must be kind to them,’ thought Alice, "or 1o
inches o: perhaps they won't walk the way I want to go!
Let me see. I’ll give them a new pair of
:o
Si
Oi
boots every Christmas."
!O
o: :o
o- •o
o: :o
o: :o
o. .O
o: :o
BOTTOM °:
o: :°
:o
MARGIN
o; ;o
o• ■0
4-118
(confd) Overview
PURPOSE XyWrite is preset for the simple format shown in the illustration on the
facing page. The default settings allow you to set up a page quickly and
simply for printing. The default settings include:
• 11 -inch sheet of paper
• 1-inch top and bottom margins
• Single-spaced text
The next three pages illustrate the page length settings at your control.
The first two pages compare how a document displays with how it prints
out.
4-119
Overview (confd)
TP Top Margin
RH Running Header
FS Footnote Separator
RF Running Footer
BT Bottom Margin
FN Footnote
▲▲▲▲▲
•Curiouser and curiouser!’El cried Alice (she
was so much surprised, that for the moment
she quite forgot how to speak good English).
"Now I’m opening out like the largest
telescope that ever was! Good-bye feet!
*
(for when she looked down at her feet, they
seemed to be almost out of sight, they were
getting so far off). *0h, my poor little
feet, I wonder who will put on your shoes and
stockings for you now, dear? I'm sure I
shan’t be able! I shall be a great deal too
far off to trouble myself about you: you
must manage the best way you can -- but I
must be kind to them,’ thought Alice, *or
perhaps they won't walk the way I want to go!
Let me see. I’ll give them a new pair of
*
boots every Christmas.
4-120
(confd) Overview
Page 10
4-121
Overview (confd)
FD — Form Depth. The number of inches in the overall length of the sheet of paper. The
default is set to 11 inches.
TP — Top Margin. The amount of space left blank as a top margin on the page.
BT — Bottom Margin. The amount of space left blank as a bottom margin on the page.
RH — Running Header. Text repeated at the top of each page — can include page number,
date, title, even the time of day. You can make the header the same on all pages, or different on
even (left-hand) and odd (right-hand) pages.
Text Area. The main part of the page, where the body text appears. The size of the text area is
determined by subtracting the top and bottom margins from the form depth.
FS — Footnote Separator. Indicates the characters and blank lines that you want to appear
between the body text and the footnotes. In this case, a row of underlines is used.
FN — Footnote. Footnotes for the page are inserted after the footnote separator. XyWrite will
put the entire footnote on the page, if possible.
Slack. If the text is less than a full page in length, the blank lines appear between the text and
the footnote. (This is the default setting for the BF (Bottom Footnote) command.)
RF — Running Footer. Text repeated at the bottom of each page. Running footers have all the
features of running headers listed above. (Odd or even is optional.) Falls below the text area.
4-122
FD Form Depth
FORMAT EffijFD n
n is the total number of inches on a sheet of paper.
MENU E0EJE0I
Purpose Form depth is our term for the length of the sheet of paper you print on.
You use the FD (Form Depth) command to establish the total number of
inches on a sheet of paper.
A Matter of Convenience. You may find that the most convenient way to
set the form depth is to set it once for all documents, rather than setting it
separately within each document as shown above. You can set a global
form depth by adding the FD command to SETTINGS.DFL. (The initial
default is 11 inches.)
4-123
Top Margin TP
Purpose The TP (Top Margin) command defines the space that XyWrite
automatically inserts between the top of a page and the first line of the
running header and body text.
The first value of the TP command specifies the point where you want the
running header to start; the second value specifies the point where you
want the body text to start. If there is no running header, then XyWrite
ignores the first value of TP. If the running header is too large to fit in the
space between m and n, then XyWrite ignores the second value of TP, and
starts the body text immediately after the running header.
note #1 Default Margin Settings. The defaults are TP UN,UN unless you change
the values in the default file.
NOTE #2 Printable Area. Some printers do not allow you to print on the entire
page, but instead reserve a small margin of white space. The margins
established for your documents must be larger than this reserved space.
Otherwise, XyWrite will automatically reposition your text when it prints.
4-124
BT Bottom Margin
PURPOSE The BT (Bottom Margin) command sets the ideal length from the bottom
edge of the paper up to the last line of the footnotes (if any). It also moves
the running footer up on the page.
The maximum and minimum values allow the body text to vary in length,
to accommodate non-breakable blocks, widows and orphans. The BT
values have the following meanings:
• BTnom — This is the size of the bottom margin, barring breaks due to
widows, orphans, non-breakable blocks, or forced page breaks.
• BTmin — This is the minimum size of the bottom margin. Only
running footers can appear below this point. A value for BTmin is
necessary for widow control and can be important for placement of
footnotes.
• BTmax — This is the maximum size of the bottom margin. It allows
the text area to be shorter when using orphan control or placing
footnotes.
1. Move the cursor to the top line of the document, ahead of any text or
spaces. (Only embedded command markers can precede it on the top
line.)
Result: The bottom of the running footer is positioned .5 inch from the
bottom edge of the page. The distance from the bottom edge of the page
to the bottom of the text area ranges from .833 inch to 1.33 inch.
4-125
BT (confd)
NOTE #2 Printable Area. Some printers do not allow you to print on the entire
page, but instead reserve a small margin of white space. The bottom
margin must be larger than this reserved space. Otherwise, XyWrite will
automatically reposition your text when it prints.
4-126
ET, EE Element Top, Element End
Purpose The ET (Element Top) and EE (Element End) commands create a vertical
offset. The offset can be measured from the margin or from the edge of a
page element. The primary function of these commands is to separate text
in a page element (such as a frame, table, or snaked column) from the top
and bottom borders, but they can also be used to separate page elements.
• Option 1. Baseline Alignment. Measure the offset from the margin (or
edge of the page element) to the bottom of the first line of text. Choose
this option if you are using the same point size throughout your
document, or if you want text of different point sizes to align on the
same baseline.
• Option 2. Cap Height Alignment. Measure the offset from the margin to
the top of a capital letter in the first line of text. You may prefer this
method if you are mixing point sizes and want the text in different
columns to align along the top edge of the text rather than along the
baseline.
4-127
EE, ET (confd)
NOTE #1 Tables. If you want the vertical offset to apply to a table, issue the EE and
ET commands immediately after the CT (Create Table) command, and
include both values (m and n) for the commands. If you omit the second
value, XyWrite applies the vertical offsets only to the top of the first row
and the bottom of the last row.
NOTE #2 Menu Option. You cannot use the menus to enter the EE and ET
commands independently. Instead, they are entered as part of the column
and frame definitions if you have also applied borders to these elements.
4-128
Page Break PG
4-129
PG (confd)
NOTE #1 Page Number. Press [F8] to turn on the page-page depth numbers at the
top of the screen.
4-130
NB, BB Non-Breakable Blocks
FORMAT ESflNB n
RH71BB
n (optional) is the number of lines of text you want kept together.
MENU : | Keep Together
2. Type: |F5]nb0
2. Type: [F5]nb 40
4-131
NB, BB (cant'd)
NOTE #1 Units of Measure. Unlike most formatting commands, you cannot specify
a unit of measure with the NB command. Its value is always interpreted
as lines of text.
NOTE #2 Allowing to Break. If you add or delete text after creating unbreakable
blocks, you may not get the results you expect. The menus provide an
Allow to Break option ([fio], M, K, A) that is useful for changing unbreakable
blocks to breakable ones.
ALSO SEE Related Commands. Refer to the Bottom Margin command, BT, which has
an effect on determining which page the non-breakable block is assigned
to. The entire block must fit above the minimum bottom margin;
otherwise, it is moved to the next page. Experiment to find which values
for BT yield the best results for your application.
The conditional page break command (PG n) can serve a function similar
to NB and BB. Refer to PG on the previous pages.
4-132
WD, OP Widow & Orphan
FORMAT ESflOP m
WD n
m is the minimum number of lines of a paragraph allowed at the bottom of
a page.
n is the minimum number of lines of a paragraph allowed at the top of a
page.
Menu EHJEJSSni
Purpose A widow is the last line of a paragraph carried over to the top of the next
page. An orphan is the first line of a paragraph at the bottom of a page.
Widows and orphans are generally frowned upon because the lines appear
estranged from their paragraphs. The WD and OP settings tell XyWrite the
minimum number of lines that you want to appear at the top and bottom
of the page.
The default values are WD 2 and OP 2. This means that only two or more
lines of a paragraph can break away to another page.
WD and OP count only lines of text. If you are double-spacing a
document, they do not count the blank lines.
4-133
WD, OP (confd)
NOTE #1 Bottom Margin. Widow and orphan control are affected by the settings of
the BT (Bottom Margin) command. Widow control will not work unless
the value of BTmin is less than or equal to BTnom. Orphan control will
not work unless the value of BTmax is greater than or equal to BTnom.
Refer to the description of the BT command for more information.
NOTE #2 Default Orphan and Widow Settings. When you embed OP and WD in a
file, the values only affect that file. If you wish to change the OP and WD
defaults, change the values in the default file. See "Default Settings" in
the Customization Guide for more information.
4-134
BL Blank Lines
FORMAT E3UBL o
r^TlBLl
PURPOSE The BL (Blank Line) command lets you print or suppress blank lines that
appear at the top of a page or column. A blank line is a line with just a
carriage return on it—no formatting commands or text. When you
suppress the printing of blank lines, all your pages start at the same
position. When blank lines are printed, the first line of text may actually
appear on the second (or third) line of the text area.
BL also affects the way files are displayed in graphic and formatted views.
1. Position the cursor on the page before you want to start suppressing
the blank lines.
2. Type: [F5]bl 10
Result: Starting on the next page, blank lines are suppressed if they
appear at the top of a new page or a column.
1. Position the cursor on the page before you want to start honoring the
blank lines.
2. Type: [F5]b! 00
Result: Starting on the next page, blank lines are printed when they
appear at the top of a new page or a column.
NOTE #1 Menu Option. When you use the menus to create columns, BL is
automatically set to 1.
NOTE #2 Default Setting. The default setting for BL is 0 unless you change it in the
default file. For more information, refer to "Default Settings" in the
Customization Guide.
4-135
Notes
4-136
Page Width
Intro In this section we cover the commands which affect the width of your
document. Most of these commands make themselves apparent as
symbols on the ruler, so we start with a description of the ruler and then
proceed to individual discussion of each page width command.
4-138 Ruler
4-139 Left & Right Margin RM, LM
4-140 Offset OF
4-142 Gutter GU
4-143 Page Width PW
4-144 Indent Paragraph IP
4-147 Tab Settings TS,TR,RT
4-152 Leadering LD
4-137
Ruler
The ruler is the third line from the top of the screen. The marks in the
ruler are as follows. (You can change these markers in the default file if
you wish, with the RL setting.)
In formatted, draft and graphic views, the ruler indicates the tabs, indents
and margins in effect at the location of the cursor. As you move the cursor
down the screen, each time you pass a format change (visible as an
embedded triangle or curved line), the ruler changes to indicate the new
settings.
NOTE Overriding the Ruler Line. You can replace the ruler with a straight line
or eliminate it so you can display an extra line of text. The NR function
call toggles between the three states. Refer to the Customization Guide for
information on using function calls.
4-138
LM, RM Left & Right Margin
FORMAT ffiZJLM n
kh’d RM n
n is the number of inches for the margin.
Menus Not a menu option.
Purpose The LM (Left Margin) and RM (Right Margin) commands adjust the
margins on a page. Both values are measured from the left offset
established by the OF command. In general, LM and RM are not
recommended for establishing the overall document margins (see Note
#1), but they are convenient for certain purposes. For example, if you
want to change the left margin in the middle of a page, you could use the
LM command. And if you are trying to establish a particular text width
(to fit the width of a business card design, for example), you may prefer to
use the RM command to establish it.
NOTE #3 Right Margin vs Page Width. The value of the right margin cannot be
greater than the page width established by the PW command minus the
document margins established by the OF command. If you try to set a
right margin that exceeds the page width, XyWrite ignores it.
If you are preparing a document for 2-sided printing, XyWrite flips the
values of I and r on even-numbered pages, allowing you to create an extra
margin for the binding edge (see Note #3).
Action Setting the Same Left and Right Margins for All Pages
For example, to create a 1" left and right offset:
1. Move the cursor to the top of the document.
2. Type: [F5]of 1.1 CT
NOTE #1 Using Indents to Modify Text Width. Once you have established overall
page margins, you can control the width of paragraphs with the IP (Indent
Paragraph) command.
NOTE #2 Page Width. The right offset is measured from the right edge of the paper,
which is established by the PW (Page Width) command. The default
value of PW is 8.5 inches.
4-140
(confd) OF
NOTE #3 Overriding Inside and Outside Margins. If you have prepared your
document for 2-sided printing by specifying different values for I and r,
you can output a single-sided version by setting the OS command to 1.
The OS 1 command tells XyWrite to use the value of I for both odd and
even pages. Refer to "Printer Controls" later in this chapter for more
information about the OS command.
NOTE #4 Changing the Offset The offset in effect at the beginning of a page is
applied to the entire page. If you issue another OF command, it will not
take effect until the next page.
NOTE #5 Default Offset Settings. The default is OF 1IN,1IN (unless you change it
in the default file.) Refer to "Default Settings" in the Customization Guide
for more information.
NOTE #6 Screen Display. If you want to display the offset in formatted view, you
can change the value of the OD (Offset Display) default setting to 1. For
more information, refer to "Default Settings" in the Customization Guide
for more information.
4-141
Gutter GU
PURPOSE The GU (Gutter) command inserts white space on the left and right sides
of columns, table cells, frames, and pages. Half the value of i is applied to
the left side of an element and half to the right side. If you omit o, a value
of 0 is assumed.
For example, if GU is set to .2,0, XyWrite applies it to a 3-column format as
follows. The inside columns (the right side of column 1, both sides of
column 2, and the left side of column 3) are each offset by .1 inch, creating
a .2 inch gutter between columns. Since the value of o is 0, the outside
columns (the left side of column 1 and the right side of column 3) use the
horizontal positions defined by the OF command. Borders, if any, occupy
the gutter space. A very wide border requires a large gutter.
NOTE #1 Framed Areas. Only the first value of GU is applied to framed areas. That
value is divided between the left and right sides of the framed text and
any border being applied to the frame. Space between a frame's border
and its surrounding text is determined by the IN argument to the BO
(Border) command.
NOTE #2 Menu Option. When you use to menus to create columns, frames, or
tables, gutters are automatically established.
NOTE #3 Relative Tabs. Tab settings will not move along with GU settings unless
RT (Relative Tabs) is set to 1. Refer to "Default Settings" in the
« Customization Guide for more information.
NOTE #4 Default Gutter Settings. The default is GU .2IN,0IN unless you change it
in the default file.
4-142
PW Page Width
FORMAT MPWn
n is the width of the page.
MENU
Purpose The PW (Page Width) command establishes the width of the sheet of
paper you print on. XyWrite measures the right offset from this value. It
also uses this value to determine where to draw the lines when you issue a
UP command to put a border around a page.
1. Move the cursor to the top of the file whose page width you want to
set.
NOTE #2 Default Page Width. The default value for PW is 8.5 inches. You can
change this value in the default file.
4-143
Indent Paragraph IP
PURPOSE The IP (Indent Paragraph) command gives you an easy way to indent
paragraphs. Tab stops do not change position when you insert an IP
command. The left indents are measured from the left offset plus any
other horizontal position command (gutter, left margin) and the right
indent is measured from the right offset (see Note #1).
1. Move the cursor to the start of the line you want indented, or to the
previous line (see Note #2).
2. For example, to indent the first line 1 inch and the rest of the paragraph
5 inch:
Type: [FsliD 1..5.01^1
Result: The IP command is embedded in the text as a triangle. All
paragraphs which follow are indented, until another IP command is
encountered.
NOTE #1 Right Margin. If the right margin (as established by the RM command) is
set so that lines fall short of the right offset, the right indent is measured
from the right margin.
4-144
(confd) IP
4-145
IP (confd)
NOTE #2 Immediate Effect To make the IP command take effect on the same line
on which it rests, make sure there is no text or spaces ahead of it on that
line. (Only other embedded triangles can be placed ahead of it.)
NOTE #4 Omitting a Value. If you do not specify one or the other value in the IP
command, the missing value is interpreted as a zero. Thus, IP .5 is equiv
alent to IP 5,0,0; and IP ,1 is equivalent to IP 0,1,0.
NOTE #5 Default Indent Paragraph Settings. The default is IP 0,0,0 (unless you
change the value in the default file).
4-146
TS, TR, RT Tab Settings
PURPOSE The TS (Tab Set) command sets tab stops in your text. A tab stop is a pre
set position to which the cursor moves when you press the tab key.
Four kinds of tabs are available: Left, Right, Center, and Decimal. See
Note #3 for a complete description of each kind of tab.
The TR (Tab Reset) command resets tab stops to the default settings —
that is, .5,1.5,2.5, and so on (unless you change the value in the default
file).
The RT (Relative Tabs) command lets you specify whether the tabs are
relative to the left margin and gutter (RT 1) or not (RT 0). The default is
RT 1. To turn off relative tabs for all files, change the value in the default
file to RT=0.
We'll cover the following three procedures:
• Creating Tab Stops (TS)
• Changing the Tab Stops
• Resetting the Tab Stops (TR)
4-147
TS, TR, RT (corn'd)
NOTE #1 The Ruler. The ruler indicates the tabs (and margins) which are in effect
at the location of the cursor. As you move the cursor down the screen, each
time you pass a Tab Setting, the ruler changes to indicate the new tab
settings.
1. Move the cursor to the point in the text where you want the default tab
settings to begin.
2. Type: [gltrS
NOTE #2 Default Tab Settings. You can also set up TS using the default file. The
initial default is TS 5,1.5,2.5,3.5,... and so on, to 9.5. You can change these
settings in the default file.
4-148
(cont'd) TS, TR, RT
NOTE #3 Tab Styles. XyWrite provides you with the following four kinds of tab
stops (illustrated on the following page).
► Left Tab — Aligns text flush left against the specified tab stop. (Also
known as a flush left tab.) Example: TS 1
◄ Right Tab — Aligns text flush right against the specified tab stop.
Example: TS3R
If you are not using the default unit of measure, include the abbreviation
for the unit immediately after the number (for example, TS 6PTR sets a
right tab at 6 points).
NOTE #4 Tab Set Zero. By default, the first column of tabular material starts at zero,
so you never need to include 0 in your TS command. In fact, a tab setting
of 0 (TS 0) cancels all tabs.
NOTE #5 The Tab Key. The tab key on the keyboard gives you control over
movement of the cursor and text:
[Tab] If you press the tab key in the middle of text, the text and
cursor move one tab to the right. (A tab character is entered
invisibly into the text.) In Overstrike mode, a character is
deleted.
[Ctrl] [Tab] Moves the cursor to the next tab without moving the text
along with it. (A tab character is not entered into the text.)
[Shift] [Tab] Moves the cursor to the previous tab without moving text.
To move text back one tab space, use the [Backspace! key to delete the tab
character.
Once you have tabbed the cursor over to the last tab, pressing the tab key
moves the cursor only one space at a time.
4-149
TSZ TR, RT (confd)
4-150
(confd) TS, TR, RT
NOTE #6 The Tab Character. When you press [Tab], the tab character is entered
invisibly into the text. Even though you can't see the character, you can
treat it like any ordinary character — for instance, you can delete it and
search for it. To execute the search:
Type: [F5]se I
Press: (Tab!
Type: 10-
The tab character is visible in expanded view, displayed as 0. If you prefer,
you can make the tab character visible in formatted and draft views as
well, displayed as •>, by changing the value of the ST (Show Tabs) setting
to 2 in the default file.
4-151
Leadering LD
FORMAT [fl'i'flLD n
n is any character you specify.
MENU
Note #2 Multiple Leaders. You can enter more than one leader on a line, inserting
equal leadering between text areas.
4-152
Printer Control
When you print documents, you often want special control over your
printer. With XyWrite you can cause your printer to stop on a given line
or at the end of specified pages and have it prompt you when it has
completed its job. You can also request special features from your printer,
such as color printing or landscape orientations. Most of the features
described in this section are not available on all printers. Review the
documentation supplied with your printer if you are not sure what
options it offers.
4-153
Pause & Prompt PA, PR
Purpose PA (Pause) stops the printing of a file at the point the PA command is
embedded in the text, and displays the defined message on the status line.
You press 0 to continue printing. You may want to use this command to
provide a reminder of what should be done when the printer stops — to
change a printwheel, insert a different kind of paper (such as letterhead),
or change a ribbon.
PR (Prompt) displays the defined message on the status line during the
printing of a file without stopping the printer. When XyWrite encounters
PR during printing, it displays the message and continues to output to the
printer. The message is removed when you strike the next key (or when
the next PR or PA message is encountered). You can insert PR in your
document to monitor the progress of a remote printer. For example, you
can include a message such as "Printing is complete" at the very end of
your document.
ALSO SEE Related Commands. The P option in PRINT filename,? stops the printer
after each page.
4-154
AP,NP AutoPause, No Pause
Purpose AP (AutoPause) causes a document to pause at the end of each page. You
resume printing with 0. You can embed the AP command wherever you
want the pause to begin.
Result: When you print your document, it prints without stopping until it
reaches the page containing the AP command. When the printer stops,
press Q to resume printing. Printing stops after every page until it
reaches the NP command — it then continues printing without stopping.
4-155
One-Sided Format OS
Purpose The OS command lets you change the format of your document
temporarily, so only the formatting commands designed for odd-
numbered pages are applied. This is particularly useful if you have
defined an inside and outside margin with the OF (Offset) command and
now want to produce a copy that has the same left margin on all pages.
2. Type: [fs] os 1 CT
Result: When you print your document, XyWrite applies the odd-page
formatting values to all pages.
Note #1 Default Value. The default value for OS is 0 unless you change it in the
default file. In any XyWrite session, the OS default may be changed by
the menu routines. For example, when you select one-sided or facing
pages in the Page Margins dialog box, you change the default setting of
OS. You can also change the default setting via the Print menu. Both of
these menus show the current state of the OS default setting.
4-156
DY Print in Color
PURPOSE DY (Dye) allows you to print in color on printers that support this feature.
(Check your printer documentation to determine which colors, if any, are
supported.) The values for the colors are:
1 black 9 neutral
2 blue 10 olive
3 brown 11 orange
4 charcoal 12 red
5 green 13 violet
6 cyan 14 white
7 magenta 15 yellow
8 maroon
NOTE Screen Display. The DY command has no effect on the screen display.
4-157
Special Effects EF
FORMAT E53EFn
n is the number of the desired effect(s).
MENU EEHJBEEnESSl
PURPOSE EF (Effect) allows you to turn on one or more special printing effects for
printers that support them. (Check your printer documentation to
determine which effects, if any, are supported.) The values for the special
effects you can activate with XyWrite are:
1 Reverse
2 Outline
4 Shadow
8 Inverse
16 User Set
256 Script Up
512 Script Down
1024 Double Underline
2048 Overscore
4096 Floating Underline
8192 Outline/Shadow
16384 Shading
The EF command turns off any special effect whose value is not included
in the command. For example, if you previously turned on double
underline, and then issue an EF command that turns on overscore, double
underlining is turned off.
If you want to turn on two or more special effects, combine their values
(e.g., 1 + 2 for Reverse and Outline) when you issue the command.
4-158
(confd) EF
2. Calculate the total value of the effects you want to turn on. For
example, to turn on reverse plus outline, the total value is 3.
3. Enter the EF command using the value calculated in step 2.
Type: [F5|ef 30
Result: The EF command is embedded in the text as a triangle. From this
point forward, the text will be printed in reverse plus outline. All other
special effects are turned off.
4-159
Letter Quality LQ
FORMAT ESZJLQ m
n is a number (0-9) that represents the desired print quality.
MENU E5ESM
Purpose Dot matrix printers offer a range of print qualities. LQ (Letter Quality)
allows you to select the print quality you want for the current document.
(Check your printer documentation to determine which qualities are
supported.) The values for the print qualities you can activate with
XyWrite are:
1 Draft
2 Letter
3 Letter II
4 Letter III
5 Near-letter quality Gothic
6 Near-letter quality Courier
7 Utility
8 Not assigned
9 Draft II
NOTE Typeface vs Printer Mode. On some dot matrix printers, print quality is
associated with typeface, not printer mode. On such printers, the LQ
command has no effect.
4-160
OR Orientation
FORMAT
n is a number (0-3) of the orientation you are selecting.
MENU Not a menu option.
You can change orientation within a document, but you cannot change
orientation within a page. Therefore, the OR command must always be
issued at the top of the page you want it to affect.
1. Move the cursor to the beginning of the file or to the top of the page
you want to print in landscape.
Type: [F5]or 10
Result: From this point forward, the text will be printed in landscape
orientation.
4-161
Printer Insert PI
Purpose PI allows you to send control strings directly to the printer. Unlike the PC
and PB commands, which reference strings that are defined in the PC table
of the printer file, the PI command contains the actual control codes.
XyWrite does not respond to these control codes; it simply passes the
codes to the printer when you use the PRINT command.
1. Move the cursor to the point in your document where you want to
insert the rule.
2. Enter the PI command along with the printer-specific control code for
drawing a rule. For a LaserJet Series II:
c1425.00a3b0P[5]
Type: [F5]pi ► *
Result: When you print your document, the code to draw a rule is sent
to the printer.
NOTE Line Endings. Do not use PI to change typeface or type size. Since
XyWrite does not process the information in these strings for formatting
purposes, it will continue to determine line and page breaks based on the
typeface and size established with XyWrite format commands.
4-162
Styles
You might define one style for letters (and name it LETTER), another for
memos (MEMO), still another for reports (REPORT), and so forth. Once
you define styles by name (using SS), you can recall them (using US) by
name. You can also define a set of ordered styles and use them by simply
saying next style (NS) or previous style (PS).
4-163
Save Style SS
Purpose SS (Save Style) saves the current default settings under a name you
specify. Once you define a style with SS, you use the US (Use Style)
command at any point in text where you want the style to take effect.
The SS command in fact does more than save the settings you specify in the
command. It also saves all of the other current settings implicit at that
point in the document, including all of those listed below.
When you invoke a style with the US command, you will be recalling all of
the format settings saved by the SS command.
4-164
(confd) ss
You can specify for nm any default format setting. For example:
AL Automatic leading MD Any character mode
BT Bottom margin NJ No justification
EE Element end OF Offset
EL Extra leading OP Orphan
ET Element top OR Orientation
FC Flush center PL Page length
FD Form depth PW Page width
FL Flush left RM Right margin
FR Flush right RT Relative tabs
HY Hyphenation SY Symbol set
IP Indent paragraph SZ Size
JU Justification TP Top margin
LL Line leading TS Tab settings
LM Left margin UF Use typeface
LS Line spacing WD Widow
Result: This defines a style named LETTER with a left margin of .8 inch, a
right margin of 6.5 inches, normal character mode, and an indent of .5 inch
at the first line of each paragraph. To use this style, you must invoke it
with the Use Style command.
Press: [cirillHomel
4-165
ss (confd)
2. Define counters for each of the three outline levels. For example:
Type: fFsldc 1=1 A 1CT
Type: [F5]dc 2=A 10
Type: [F5] de 3=10
Refer to "Numbered Lists" for more information about the DC (Define
Counter) command.
4. Type the name of the style followed by the formatting commands that
you want to apply to the first outline level. At the end of the formatting
commands, type a semicolon. For example:
Type: levell ,ts=0.8r,1 ,ip=0,1;
Result: When you invoke one of the outline styles with the US command,
XyWrite applies the saved formatting commands and inserts the saved
text.
NOTE #1 Style Within Same Document The Save Style command must be in the
document that uses it. While it is an embedded format command, it
cannot be set up as a default. If you use the same style repeatedly, you
can save it on a text macro so you can quickly insert it into your
documents.
NOTE #2 Placing the SS Command. The SS command does not need to be at the
very beginning of the file, so long as it is placed before the first Use Style
(US) command that invokes it.
NOTE #3 Name Uniqueness. Each style in a file must have a unique name.
4-166
US, NS, PS Use Style
PURPOSE The US (Use Style) command invokes the style called for by name. The
name must be previously defined (somewhere in the same document) with
the Save Style (SS) command.
Once you have defined several styles, you can change styles without
calling them by name. Knowing their sequence in the document, you can
invoke either the Next Style (NS) or the Previous Style (PS). This is
especially useful for outlines with many levels.
1. Move the cursor to the point in text you want to start a new style.
2. Enter the US command along with the name of the style you want. For
example:
Result: The style named LETTER takes effect at that point in the
document. For US to work, LETTER must be defined earlier in the
document with the SS command.
4-167
US, NS, PS (confd)
Next assume that we have given a US HEAD command to format our first
heading. To use the next style, which is SUBHEAD:
Type: [F5]nsS
Type: [F5]nsS
Result: Now the style is changed to the TEXT style. After typing text,
when you come to a point where you want to use the SUBHEAD style
again:
Type: [F5]psS
NOTE #1 Inserting Other Format Commands. When you give new format
commands that you want to affect large parts of the document (such as IP
or TS), be aware that they are superseded by the next US, NS or PS
command that follows. We recommend you include these in the SS
command — in fact, the more format commands you include, the more
predictable your results will be.
NOTE #2 Relative Values. You can use relative values with the US command. For
example, US +1 activates the style defined immediately before the current
style; US -1 activates the style defined immediately after the current style.
You may find this option useful if you have defined many styles for an
outline and want to quickly move from one outline level to another.
4-168
Type Style
Intro In order to add emphasis to text, you can use the MD (Mode) commands
to modify it with underlining, bold, italic, reverse, superscript, subscript,
and various combinations. You can also change the typeface with the UF
(Use Typeface) command—for Times, Helvetica, Courier, etc.—and
change type size with the SZ (Size) command.
How these modes, faces, and sizes are actually displayed and printed
depends on the capabilities of your hardware.
4-169
Mode Commands MD
FORMAT K3ZJMD nn
nn is a two-letter mode command.
MENU
Purpose Display modes allow you to highlight text in the type styles listed below.
You can use the MD command to establish absolute styles, or you can
create relative styles by adding or subtracting styles. For example, the
command MD BO changes text to bold, overriding the type style that was
previously in effect. In contrast, the command MD +BO adds bold to the
current type style, creating, for example, bold underline or bold italic; the
command MD -BO subtracts bold from the current type style. Type styles
that can be combined with other styles are referred to as additive; as
shown in the table below, not all XyWrite type styles are additive.
Mode
Command Character Mode Additive?
— Prevailing (Default)
MD NM Normal
MD BO Bold Yes
MD UL Underline Yes
MD IT Italic Yes
MD BU Bold Underline
MDBI Bold Italic
MD SU Superscript Yes
MD SD Subscript Yes
MDRV Reverse Yes
MD BR Bold Reverse
MDFN Footnote
MDFL Flashing
MDFU Flashing Underline
MDFR Flashing Reverse
MDSO Standout (Flashing Bold)
When using MD UL, you can control how tabs and spaces are underlined.
(See Note #5.)
The procedure for new text is different than that for existing text. These
three procedures follow.
• Changing the Mode of Selected Text (Option 1)
• Changing the Mode from the Cursor Forward (Option 2)
• Selecting a Mode for New Text (Option 3)
4-170
(confd) MD
Relative Command. You select the block of text (Steps 1-4) and then add
bold to existing styles in the block.
1. Move the cursor where you want the bold to start.
2. Press: [F3]
3. Move the cursor where you want the bold to end.
4. Press: [F3]
5. Type: [F5|md +boQ3 (to add bold)
6. Press: [Esc] (to release the selected text)
Result: XyWrite adds bold to the type styles within the selected block. If
you switch to expanded view, you will see the embedded command
«MD+BO» at the beginning of the selected block and the command
«MD-BO» at the end of the selected block. Other type style commands
may be embedded within the selected block. You can also use a keyboard
shortcut to add bold to existing type styles (see Note #1).
Absolute Command. You select the block of text and then apply bold to
it, overriding any other type styles in effect within the block.
1. Move the cursor where you want the bold to start.
2. Press: [F3]
3. Move the cursor where you want the bold to end.
4. Press: [F3]
5. Type: |F5]md bo0
6. Press: [Esc] (to release the selected text)
Result: XyWrite replaces the existing type styles with bold. If you switch
to expanded view, the command «MDBO» appears at the beginning of the
selected block. At the end of the selected block, XyWrite inserts the MD
command for the type style that was in effect before you performed this
procedure. There are no embedded MD commands within the block. You
can also use a keyboard shortcut to change existing type styles (see Note
#2).
4-171
MD (confd)
Result: Text between the MD +UL (or MD UL) command and the MD NM
command is now underlined. If you used the relative command, the
underline is added to the other styles in effect; otherwise, underlining
overrides the other styles.
Note #1 Keyboard Shortcuts for Additive Modes. The additive modes are
assigned to the following keys:
Bold [CtrT| B
Italic [ctrfl I
Underline |ciri]U
Superscript [ctHl [+] (on numeric keypad)
Subscript fctrfl 0 (on numeric keypad)
The keyboard shortcuts listed above are actually toggles. If the current
text is already bold, pressing turns off bold.
4-172
(confd) MD
NOTE #2 Keyboard Shortcuts for Absolute Modes. The absolute modes are
assigned to the following keys:
Normal [ctrill
Bold [Ctri]2
Underline [ctri]3
Italic [ctrT|4
Bold Underline [cifi]5
Bold Italic [ctri]6
Superscript [Ctril7
Subscript [Cui]8
Reverse [Ctd|9
These control keys also change the current typing mode, which means that
any text you enter will be in the selected mode. For example, all text you
type after pressing @2 will be in bold mode, no matter what the mode of
the surrounding text (see Note #3).
NOTE #3 Typing Mode. When you first start XyWrite, it is in the prevailing or
adaptive mode. In it, you can move the cursor about and enter text in
whatever mode exists at the new cursor location. For example, if you
place the cursor within a passage of bold text and begin typing there, the
new text will automatically be entered in bold. If you press one of the
[Ctrl]# keys described in Note #2, you are no longer in adaptive mode;
instead, text is entered in the mode you selected, no matter what mode
exists at the cursor location. You return to the adaptive mode by pressing
[Escl.
NOTE #4 Screen Display. In graphic view, type styles are displayed as they would
be printed. In formatted and draft views, some of the type styles may be
displayed differently, depending on your hardware setup. For example,
underline does not appear on color monitors; it appears instead as blue
text.
NOTE #5 Controlling Underlining. The UL default setting lets you specify how
tabs and spaces in the underline mode (MD UL) print out. The choices are
as follows:
Underline everything
Underline everything but tabs
Underline everything but tabs and spaces
Underline only letters and numbers
You change the UL setting in the default file. Refer to "Default Settings"
in the Customization Guide for more information.
4-173
Type Size SZ
FORMAT E3ZJSZ p
p is the size of the type.
MENU eshjieeeb
Purpose The SZ (Size) command allows you to change the size in which your text
is printed. The exact effect of the SZ command depends on the type of
printer you are using. Most laser printers support a wide range of type
sizes, but some have scalable fonts while others do not. A scalable font is
one that can be reduced or enlarged to any size. If your printer has them,
you can define any type size you want (practically speaking, you probably
don't want to use anything smaller than 6 point or larger than 72); if your
printer does not have scalable fonts, you can only use the type sizes
supported by the printer and defined in your printer file. (See Note #1.)
The SZ command has no effect on daisy-wheel printers, since they only
support one type size at a time.
1. Move the cursor to the start of the text where you want the new type
size to begin.
2. Enter the SZ command you want. For example, if you want 14 point:
Type: [F5]sz 14pt0
Result: The SZ command is embedded in the text as a triangle. From
this point forward, the text will be printed in 14 point type.
NOTE #1 Undefined Type Size. Because it has the greatest impact on what your
page looks like, type size is the most important type style command. If
you specify a size that is not available in the current typeface, XyWrite
looks for a typeface in which the requested size is available. If XyWrite
cannot match the requested size in any typeface, it substitutes a smaller
type size.
NOTE #2 Default Type Size. The default type size is 12 point. You can change the
type size for all files by changing the DF SZ command in the default file.
NOTE #3 Automatic Leading. If you are going to use the SZ command to change
the size of text, it is a good idea to turn automatic leading on (AL 1), so
that the vertical spacing of your text is properly adjusted.
ALSO SEE Related Commands. The UF (Use Font) and MD (Mode) commands affect
other aspects of the way type looks on the page.
4-174
SY Symbol Set
1. Move the cursor to where you want the new symbol set to take effect.
NOTE #1 Default Symbol Set XyWrite uses the symbol set 23Z,0,0 as the default.
You can change the symbol set for all files by changing the DF SY
command in the default file.
4-175
Typeface UF
Purpose The UF (Use Face) command allows you to change the typeface in which
your text is printed. The typefaces you can select from depend on the type
of printer you are using. Most laser printers offer a large variety of
typefaces, while dot matrix printers offer a small selection. If you aren't
sure what typefaces are available, display the Typeface menu.
1. Move the cursor to the start of the text where you want the new
typeface to begin.
2. Enter the UF command you want. For example, if you want Times:
Also See Related Commands. If you want to change the style of a typeface (say
from normal to bold), you use the MD (Mode) command. If you want to
change the type size of a typeface, you use the SZ (Size) command.
4-176
LA Language
Purpose The LA (Lanugage) command allows you to work with files that were
created in code page 437 (the United States code page) or 850 (the
multilingual code page). Code pages are language-specific character sets
that are supported by versions 3.30 and higher of MS-DOS and PC-DOS. A
code page has 256 characters, and the first 128 characters are the same in
every code page.
By default, XyWrite uses code page 437 (the United States code page) for
the first 256 characters of its character set (see Note #1). If you display a
file that was created in code page 850 (the multilingual code page), some
of the characters between 128 and 256 will display incorrectly. The LA
command lets you correct the display by mapping the 850 character set to
characters 128-256 for the current file.
2. Type: EU la 850 H
Note #1
#i XyWrite Character Set. XyWrite's character set comprises over 900
characters, which includes characters from all the standard code pages,
plus the Bitstream international character set (see Appendix E of the
Customization Guide).
NOTE #2 Character Sets and Views. Expanded view always uses the characters in
code page 437;^Formatted and draft views display only the 256 characters
supported by the code page established by default or by the embedded LA
command. Graphic view uses the characters from the Bitstream outline
fonts that are delivered with XyWrite.
4-177
Language LA
NOTE #5 Default Setting. The default value for LA is 437 unless you change it in
the default file. Refer to "Default Settings" in the Customization Guide for
more information.
4-178
Vertical Spacing
Intro To ensure readability of your printed page when you are mixing fonts of
different sizes, you must take into account the vertical spacing you are
using. Vertical spacing of type is measured from the baseline of one line to
the baseline of the next. This measurement is commonly referred to as lead
or leading. Printers allow leading to be adjusted in very small increments
as illustrated below.
4-179
Automatic Leading AL
FORMAT BOTH AL 1
EQUAL 0
MENU ESniEEEEEffii
Purpose The AL command turns automatic leading off and on. When you turn
automatic leading on, XyWrite uses the leading value associated with the
current typeface and type size. If a line contains more than one typeface
or type size, XyWrite looks at the leading value for each one; it applies the
largest value to the line.
When automatic leading is off, XyWrite uses the value supplied by the LS
command and applies it to all lines, regardless of the size of the type being
used.
If you are using a laser printer and mixing type sizes within a document,
you probably want to use automatic leading. That way, you don't have to
worry about adjusting your line spacing to accommodate larger and
smaller type sizes.
NOTE #1 Default Setting. You can turn automatic leading off for all files by setting
AL=0 in the default file. The initial default is 1 (on).
4-180
EL Extra Leading
FORMAT rWlEL n
n is the amount of space to insert after the current line
MENU lUneSpadn
Purpose EL inserts the specified amount of vertical space only once, at the end of
the current line. You must issue this command again for each line that
needs extra lead.
1. Move the cursor to the line after which you want extra leading.
2. Type: (F5]el .5^
Result: When you print the file, an extra .5 inch will appear once, after the
line where you inserted the EL command.
4-181
Line Leading LL
MENU EHIEEJEJS
1. Move the cursor to the point where you want the extra vertical spacing
to begin (normally between paragraphs).
Result: When you PRINT the document, the spacing between paragraphs
will be increased by 12 points and the spacing between lines will be
increased by 2 points. This spacing remains in effect for the rest of the file
or until you issue a different LL command.
4-182
LS Line Spacing
FORMAT E3ULS n
n is the amount of space advanced by the printer.
Menu ees UneSpacin a
Purpose LS (Line Spacing) sets the amount of vertical space advanced by a printer
at the end of every line. Unlike Automatic Leading, LS does not take
different type sizes into account. It is therefore recommended for use
when you are applying the same type size to the entire document.
1. Move the cursor to the top of your document (or to the point where
you want to change the inter-line spacing).
2. Enter the LS command along with the inter-line spacing value you
want:
Type: [F5]ls 2li£j]
Result: This embedded command tells the printer to double-space this
document. Go ahead and use PRINT to print the document.
NOTE Automatic Leading. When Automatic Leading is in effect (AL 1), XyWrite
ignores LS commands and uses the leading information associated with
the current typefaces and point sizes.
4-183
NOTES
4-184
Special Features
INTRO Once you've learned the basics, it's time to go on to the extended
capabilities of XyWrite. We include step-by-step procedures for each of
the following topics. Commands are listed following each procedure.
5-3 Columns
5-17 Document Assembly
5-25 Fill-In Forms
5-33 Mail Merge
5-55 Redlining
5-65 Sorting Text
5-77 Table of Contents & Index
5-97 User Programming
5-1
NOTES
5-2
Columns
Newspaper-Style Columns. In this case, the text wraps from the bottom of
one column to the top of the next — a pattern referred to as "snaking." You
create your file as a single column and print it in up to 12 columns. This is
useful for printing long lists, reports or newsletters.
5-4 Tables
5-6 Creating Tables CT, CO, EC
5-9 Editing Tables
5-3
Tables
Purpose Suppose we want to set up a schedule of events in which we have the days
stretched across the top and activities listed down the page. See the
accompanying illustration.
Making a Text Table. The way to make such a table is described in the
next few pages. To summarize:
• Enter the Text Then you enter the text into the table cells. Certain
keys allow you to add rows of cells to the table and to move about,
from cell to cell.
NOTE Planning Your Table. Before you start, plan the number of columns that
you need. If you know how many rows will be in the table, then add
them, also, before starting the text entry (using [Shift] A).
It's a good idea to have at least one row per page. In other words, you
should use [Shift] □ to create a new row of cells at least once per page, even if
a row continues for several pages.
5-4
(confd) Tables
TABLE
COLUMN CELL
ROW OF TEXT /
OFTEXT
Time Monday Tuesday Wednesday Thursday Friday
5-5
Creating Tables CT, CO, EC
Purpose The CT (Create Table) command sets up the basic structure for the table.
You define the column widths and, optionally, the styles for the columns.
The maximum number of columns you can specify is twelve. Notice that,
for the value offset, the left-most position (no offset) is 0. The amount of
space between columns of text is 0.1 inch by default. You can increase this
space with format commands — see "Creating a Table with Styles," one of
two methods described next to set up tables.
5-6
(confd) Creating Tables
Result: This sets up a three-column table; the first column runs from 0 to
2.9 inches, the second from 3 to 4.9 inches, and the last from 5 to 6.9
inches. Between the columns are gutters 0.1 inch wide. (Notice that this
command embeds four triangles into the text—CT, CO2, CO3 and EC. See
Note #3.) To add rows of cells to the table, press [Shift] Q (on the numeric
keypad).
NOTE #1 Typing in Text. You do not need to set up the number of lines of text in
each cell row beforehand. Simply enter text when you're ready; XyWrite
automatically pushes down the lower boundary of the whole row to fit it.
NOTE #2 Default Format The default format (line spacing, justification, etc.) for
each cell is the format in effect at the point the CT command was issued.
For example, if you establish a type size of 10 point for your document,
and then issue a CT command, the text in each cell is 10 point. If you have
an indent of 1 inch, it is applied to each cell. (The exception to this rule is
the cell width, which is determined by the values in the CT command.)
To establish a different format for the table, refer to the procedures
"Setting the Format for Single Cells" and "Creating a Table with Styles."
NOTE #3 Borders. You can use the BO (Border) command to draw lines around the
cells in a table. If you plan to do this, it's a good idea to define a small
gutter and a vertical offset for the table. These commands create white
space between the border and the text of the table. Use the GU command
to specify a gutter, and the EE and ET commands to specify a vertical
offset. The value of the GU (Gutter) command should accommodate the
width of the border plus any white space you want between the border
and the text. See Chapter 4 for more information about the BO, GU, EE,
and ET commands.
Once you have created a table, to change the format within a single cell:
1. Move the cursor to the cell you want to change. To get there, use [aF] 0
or [Aft] [2 to move left or right.
5-7
Creating Tables (confd)
2. Position the cursor within the cell at the point where you want to
change the format. Enter the format command you want. For instance,
in the previous example, the text width of the first cell was 2.9 inches.
To make the text narrower, you can change the right margin within the
cell:
Result: This changes the format within a single cell. To modify an entire
column, follow the next procedure.
1. Use SS to define the style you want within a column. When using
columns, RM 1 means set the right margin 1 inch from the left edge of
the cell. For example, create a style called BODY:
Type: [F5|ss body,ip=.2,rm=1 S
2. Create the table, assigning the style to the column(s) you want:
Type: [Fslct 0.2,1.1 /bodyCT
Result: The style BODY is assigned to the third column of text.
NOTE #4 Inserting Tables Within Other Page Elements. XyWrite does not allow
nesting of one table within another, nor does it allow a column table
inside a running header, running footer, or footnote.
5-8
Editing Tables
PURPOSE You use these keystrokes to move around and edit within tables. Refer to
the illustration at the beginning of this section. Think of the table as a grid
of cells. The table is very similar to a spreadsheet, except the cells have
variable lengths.
The text in any cell can run as long as you want—the cell will
automatically grow in length to accommodate the text. (The length of the
longest cell in a row determines the length of the entire row.)
5-9
Editing Tables (confd)
NOTE #1 Editing Tables via the Menus. The Table menu O, I, T) offers several
editing options that are not available through the keyboard. These options
allow you to:
• Delete tables, rows, and columns
• Select tables, rows, and columns
• Clear rows and columns
• Move rows and columns
NOTE #2 Selecting Text Within Cells. You can use [F3| (select a block of text) to
select text within a cell, but selecting by sentence and paragraph is
restricted. You cannot select text across cells using the keyboard (see Note
#1).
NOTE #3 Simple Columns with Hanging Indent If you have a one-line header or
number to the left of a paragraph (such as the style of this note), it may be
easier to use the IP (Indent Paragraph) command rather than the CT
command. For example:
1. Move to where you want to begin.
2. Type: [F5]ip 0,1.60
3. Type: [F^tS 1.60
Result: You can start each paragraph with a heading followed by a
tab—the paragraphs hang at 1.6 inches.
NOTE #4 Line Spacing. XyWrite displays actual line spacing in column tables, even
when you are in formatted view.
NOTE #5 Draft View. Column tables are not formatted in draft or expanded view.
5-10
SN Snaking Columns
2. Set the space between columns with the GU command. For example:
Type: [F5]gu .30
Result: The document has three columns, with a .3-inch gutter between
columns.
5-11
Snaking Columns (confd)
NOTE #1 Spacing Between Columns. If the spacing between columns is too tight,
you can either (1) make the gutters wider (and the text narrower) by
increasing the Gutter (GU) command, or (2) make the columns wider by
changing the starting positions of your columns within the SN command.
Refer to Chapter 4 for more information about the GU command.
NOTE #2 Column Breaks. When you want to break a column, use the BC (Break
Column) command. This causes the text which follows to start at the top
of the next column. If you are in the last column on a page, the new
column starts on the next page.
NOTE #3 Controlling Column Length. XyWrite uses the BT (Bottom Margin)
values for controlling the text length within the columns. Each column is
treated as a separate page. Widow and orphan settings are also observed
when determining the text length.
NOTE #4 Footnotes. You can add footnotes to your text. They print out at the foot of
the column they are referenced within. Be sure to define an FM command
that specifies the same width for footnotes as you have defined for the
columns; otherwise, the footnotes will use the full text width established
by default (6.5 inches).
NOTE #5 Borders. You can use the BO (Border) command to draw lines around
snaked columns. If you do, you may want to specify a gutter value for the
outside edges of the columns. Refer to Chapter 4 for more information
about the GU (Gutter) and BO (Border) commands.
NOTE #6 Page Break View. XyWrite displays the current page number, column
number and page depth in the header. For example, 5/003-2 in the header
refers to page 5, column 3, line depth 2 inches.
NOTE #7 Column Width. The width of each column is determined by the values in
the SN command. The width of the last column is determined by the
starting position of the column and the right offset (established by the OF
command).
5-12
(confd) Snaking Columns
1 3 5
I 1 1
I 1 1
I 1 1
I 1 1
I
1 1
All advert io- Copyright Act, it in Section 101 of
ing agencies and should be noted. the Copyright Act
public relations brought signifi of 1976,
firms must often cant changes in A ’collective
commission out- thio area. In *
work is defined
oide creative per- order for the ad by the Copyright
sons to assist m agency, as the Act as a work.
special projects. commissioning such as a peri
The Copyright Act party, to retain odical issue, an
of 1976 oubotan- the full bundle thology. or ency
tially changed the of rights encom clopedia. inwhich
rules concerning passed by copy a number of con
who owns the copy right it must tributions, con
right in such com first be deter stituting sepa
missioned works. mined that the rate and indepen
The present ar work that will be dent works in
ticle will set performed by the themselves, are
forth some basic comm 1ssioned assembled into a
definitions and party fits into collective whole.
important guide cne of the follow A’conpilation’ is
lines in approach ing categories: defined as a work
ing typical com formed by the col -
mission situa 1) a contribution lection ar.d as
tions. to a collec sembling of pre
First of all. tive work existing materi
one should be 2) a part of a als or of data
aware that in the motion picture that are selected.
employer-employee or other au- coordinated, or
situation, it is dio-visual arranged in such
well-established work a way that the
that the copyright 3) a translation resulting work as
m any work per 4) a supplemen a whole consti
formed by the em tary work tutes an original
ployee. within the 5) a conpilation work of author
scope of his em 6) an instruc ship. A 'supple
ployment, belongs tional text mentary work’ is
to the employer. 7) a test a work prepared
In the com 8) answer materi for publ icat ion as
missioned situa als for a test a secondary ad
tion. however. 9) an atlas junct to a work by
different rules another author for
apply. The en These catego the purpose of in
actment of che new ries are set out troducing, con-
5-13
Break Column BC
FORMAT ESZJbc
PURPOSE The EC (Break Column) command causes the text that follows to advance
to the top of the next column. If you issue this command on the last
column on a page, the new column starts on the next page.
If you don't use the BC command, XyWrite creates column breaks for you,
after the number of text lines established by the BT (Bottom Margin) or SH
(Snake Height) command.
1. Move the cursor to the line before where you want the column to
break.
Result: The next column starts on the line following the BC command.
5-14
Snake Height
FORMAT ESZJSH n
n is the depth of the columns for snaked text.
MENU Column Break.. Set Column Depth
PURPOSE The SH (Snake Height) command sets the depth for snaked columns when
you want the columns to be shorter than the standard text length.
In general, XyWrite uses the text length defined by the TP (Top Margin)
and BT (Bottom Margin) commands when determining column breaks.
Sometimes, there may not be enough text on the last page of columnar
material to fill all the columns. With the SH command, you can create
shorter columns that are more evenly balanced.
1. Move the cursor to the spot within the snaked column where you
would like to change the column height.
5-15
NOTES
5-16
Document Assembly
Intro XyWrite gives you the ability to build customized documents using
standard paragraphs (boilerplate) from other documents. This section first
describes the procedure for assembling documents, and then describes
each of the commands in detail.
5-17
Document Assembly Procedure
PURPOSE The Document Assembly feature lets you build a customized document
from other documents, or selected sections of other documents. You can
organize the pieces in any order, and you can include as many or as few
pieces as you want.
You might use this feature if you are responsible for preparing contracts;
you can build a library of standard paragraphs, and create customized
contracts by pulling in just those paragraphs that apply.
• Part I. Create the source files. These files contain the standard
paragraphs from which you want to select for your assembled
documents.
• Part 11. Create the template file. The template file contains custom text
and formatting commands, as well as the PP (Put Paragraph)
commands to insert the paragraphs you want from the source files.
• Part III. Assemble the source files and template file to create the final,
customized document. You can assemble the file and send it directly to
the printer with the PRINT command or you can create a new file that
you can edit with the DOCBLD command.
Optionally, you can combine some Mail Merge features with Document
Assembly to create multiple versions of your assembled documents. For
example, you might want to assemble the same lease for two different
apartments or two different tenants. To do this, you use the PF (Put Field)
and FI (Field Identification) commands.
5-18
(confd) Document Assembly Procedure
PART I Create the source file. To begin, open a file and give it a name (we'll
use SOURCE).
Type: [F5]new source CT
2. Write the text you want to select from when you build your custom
documents. You will be able to use this text repeatedly, rearranging
and omitting sections according to your needs.
4. Store the source file. You have now completed the source file, so store
it.
NOTE #1 Numbered Sections. You can also use the PG (Page Break) command to
separate the sections in a source file. If you use this option rather than
labels, you refer to the sections by page number when you create the
template file. Thus, you cannot use numbers as label names unless they
are combined with letters (e.g., 1st is an acceptable label name but 1 is
not).
5-19
Document Assembly Procedure (confd)
PART II 6. Create the template file. Decide on a name for your template file.
We'll use the name LEASE, since we are going to build a customized
lease from text stored in SOURCE.
10. Store the template file. You have now completed the template file, so
store it.
NOTE #2 File Location. The template and source files must be in the same
directory.
5-20
(cant'd) Document Assembly Procedure
PART in ll- Assemble the final document To assemble the document and send it
directly to the printer, use the PRINT command. For example:
Type: Sprint leased
where LEASE is the name of the template file. If you want to review
the assembled version before printing, use the PRINTS command.
Type: [F5]prints Iease0
If you want to be able to edit the assembled file before printing, you
can create a new file with the DOCBLD command. For example:
Type: [Fsjdocbld lease,lease.asm0
where LEASE is the name of the template file and LEASE.ASM is the
file created by DOCBLD. You can display LEASE.ASM and edit it
before sending it to the printer.
5-21
Document Assembly Procedure (confd)
8. Print the personalized, final documents (see Note #4). In our example,
the data file is named TENANTS and the template file is named
LEASE.
Type: [fs] print tenants+leaseS
(You can review the assembled file before printing by issuing the
PRINTS + command.)
NOTE #3 Variable Fields in Source Files. You can insert PF (Put Field) commands
into either the template file or source files to place information from the
data file. Always put the FI (Field Identification) command in the
template file, regardless of which file contains the PF commands.
NOTE #4 Creating Permanent Files. If you are using a data file as part of the
document assembly procedure, the DOCBLD command lets you create a
file that merges the template file with the designated sections of the source
files and the first record of the data file. You can review this version for
accuracy before you print all the records with the PRINT + command.
The format of the DOCBLD command with a data file is:
ALSO SEE Related Information. Refer to "Mail Merge" in Chapter 5 for more
information on data files and the PF, FI, and PRINT + commands.
5-22
DOCBLD Document Assembly
PURPOSE DOCBLD creates a new file based on the instructions in the template file.
The instructions determine which paragraphs get copied from the source
files, and in what order.
You create the source files, data files, and template files as described
earlier in the section "Document Assembly Procedures." The DOCBLD
command takes these files and assembles a new one. There are two ways
you can assemble a file with DOCBLD:
• Assembling a file without variable data
told DOCBLD d:filename^: targetfile
• Assembling a file with variable data
ESl3 DOCBLD d:datafile+d:filename,d:targetfile
5-23
Put Paragraph PP
Purpose The PP (Put Paragraph) command identifies the block of text you want to
copy into your assembled file. You enter the PP command into the
template file, specifying the name of the file that contains the text and
either a number or a name:
NOTE #1 Labeled Sections. All the text between the specified label and the next
label is copied into the final document. If the specified label is the last
label in the source file, then all the text between the specified label and the
end of the source file is copied into the final document.
5-24
Fill-in Forms
Intro XyWrite provides you with the ability to fill in preprinted forms—or
create your own forms to fill in. Typical forms are questionnaires,
surveys, tax forms, credit applications, and invoices—any sheet that needs
to be filled in with information.
Commands
5-30 New Form NEF
5-31 Call a Form CAF
5-25
Fill-in Forms Procedure
PURPOSE The best place to start is by looking at the illustration on the next page. A
typical scenario is this:
Filling in a Preprinted Form. You might start with a preprinted form like
the one shown. You wish to feed this into your printer and fill in the
blanks using XyWrite. This procedure is easy:
• Create the Form File. You create a form file to match your preprinted
form.
• Fill in the Form File. To fill in the preprinted form, you type into the
blanks of the form file you created. You then print onto your
preprinted form.
1. Print the Grid (optional). Print the file GRID onto an extra copy of
your preprinted form (see Note #2). Do this as follows:
Insert an extra copy of your preprinted form into your printer. Note the
position of the form as you insert it, so that later you can insert other pages
the same way.
5-26
(confd) Fill-in Forms Procedure
ZIP
5-27
Fill-in Forms Procedure (cord'd)
Repeat the previous two tasks until you have entered all the text and fill-in
areas. When you have finished the form file, store it:
Type: [F5]storeH
Result: You are now done creating a blank fill-in form. This is your
master template.
2. Fill in the Blanks. Fill in the blanks of this working copy by typing
into them. For instance, after NAME:
Type: Betsy Ross
Result: This form file looks like:
ICT Betsy Ross «-
Pol E3 <-
Notice the words "NAME," "ADDRESS," "STATE," and "ZIP" are
fixed text; you cannot alter them. You move the cursor from one field
to the next with the 0 key.
5-28
(confd) Fill-in Forms Procedure
3. Print the Forms. Finally, insert the preprinted form into your printer.
Be sure to position the paper the same as you positioned the page you
printed the grid onto (in "Creating the Form File"). Print the
information from the working form:
Type: [F5]printg3
The fixed text will not print; only the information entered in the blanks
(during Step 2) is printed.
NOTE #1 Edit a Form File. If you should ever need to call up a working form file to
change only the text in the fill-in areas, use the CAF command. For
example, if the form is named WORKFORM:
Type: [F5]caf workform0
To edit a master form file, use the CALL command.
NOTE #2 Using the File GRID. To locate the fill-in areas of your preprinted form,
we provide a file called GRID (stored in the \DOCS directory). You print
the following grid onto an extra copy of your preprinted form:
Line 1 78901234567890123456789012345678
012345678901234567890123456789012345678
Line 3 78901234567890123456789012345678
012345678901234567890123456789012345678
NOTE #3 Carriage Return. If you enter the carriage return 0 in normal mode, the
length of the blank area will be flexible, adjusting to the length of the text
being entered—even if it is several lines. If you enter the carriage return
in reverse mode, it fixes the length of the blank area.
NOTE #4 Printing Fixed Text In the earlier procedure, the fixed text did not print.
You can cause the fixed text to be printed by using [ctrilB (bold) or MU
(underline) or [CtrilI (italic) for fixed text instead of reverse. When you print
the form file, the fixed text will print out in the character mode you
chose—either bold, underline, or italic.
NOTE #5 Printer File Requirement All XyWrite printer files come prepared for
printing on preprinted forms—they are set up to not print any text
displayed in the reverse mode. (Each character displayed in reverse mode
is printed as a space.)
NOTE #6 Inserting the Date and Time. XyWrite's automatic date (TODAY and DA)
and time (NOW, SEC, and TM) commands do not work in forms. If your
form includes a date or time field, you must type in the required
information.
5-29
New Form NEF
Purpose NEF (New Form) creates a working copy of the master form file. This
copy is a new, blank form, ready for you to fill in.
NEF functions the same as NEW, except NEF prevents you from altering
any text which is not in normal mode. Text that is in reverse, underline,
italic, or bold is fixed text.
Result: This creates a new file called INVOICE1 and copies the contents of
MASTER.FRM into it. XyWrite will not create a new file if one with the
same name already exists on the specified drive.
5-30
CAF Call a Form
Purpose CAF (Call Form) calls a working form file from the disk to the display for
changing or adding to the information in the fill-in areas.
Any fixed text (reverse, underline, italic, or bold) cannot be altered. (To
modify fixed text, use the CALL command instead.)
Result: This file is ready for you to revise in the fill-in areas. (Notice the
cursor is confined to the fill-in areas.)
NOTE Any File is a Working Form. Technically, any file can be called up as a
working form with CAF. When it is, the cursor moves only in areas that
are displayed in normal mode — not into areas that are reverse, underline,
italic, or bold. This points out that what confines the cursor is the manner
in which you call the file (CALL or CAF), rather than anything special
about the file itself.
5-31
NOTES
5-32
Mail Merge
INTRO This section fully describes the Mail Merge feature of XyWrite. We begin
this section with an overview and a complete example of the basic Mail
Merge procedure. You can model your own Mail Merge application after
the examples presented, and may have to read little else in this section.
Following these procedures are descriptions of the basic Mail Merge
commands.
The last topics in this section are some special instructions you can
incorporate into the Mail Merge operation. These instructions can
establish conditions you want to be met before the merge takes place, or
they can define mathematical evaluations you want XyWrite to perform.
5-33
Mail Merge Procedure
PURPOSE What Is Mail Merge? Mail Merge enables you to create multiple versions
of a document more easily than you could create them manually, one-by-
one. You could, for instance, create a dozen individual letters from a
general form letter (main file) and a dozen addresses (data file). To print
the dozen letters, you issue a single command (PRINT +), which merges
the addresses and form letter as it prints them.
Why Use Mail Merge? Mail Merge removes the tedium of typing many
versions of a document. It is useful when creating many nearly identical
documents which are personalized at critical points such as name, address
and salutation. These can include letters, contracts, notices, and
statements.
Mail Merge requires you to leam only two new commands: Put Field (PF)
and Field Identification (FI). The following instructions should allow you
to use Mail Merge when you want.
The basic procedure for Mail Merge has three parts, as illustrated in the
accompanying figure.
• Part I. Create the Data File. It contains a series of records. The records
are made up of fields, which are inserted at the markers in the main
file. The field information individualizes each version of the main file.
• Part II. Create the Main File. This is the form letter — it contains the
text which is common to all finished versions, along with markers that
indicate where record data should be inserted.
• Part III. Merge and Print the Finished Versions. This is where you
combine and print the file created in the two previous steps. You use
the simple command:
Sprint datafile+mainfilett
5-34
(confd) Mail Merge Procedure
MAIL MERGE
Part I. Create the Data File Part II. Create the Main File
(File name DATA) (File name LETTER)
Betsy Ross
A
two
bolts of red cloth Dear AETdMIM.ll:
$17.76
Peter Cottontail
one dozen We would like to Inform you that your
carrots
$1.75 Id dF-li'iMITTl
check for ▲ [PF: amount has been received,
and we have shipped you the requested
Miss Muffet
one pint AlddMIM.M AE^m.
curds and whey
$.85
J J
Version 1
Version 2
Version 3
5-35
Mail Merge Procedure (cant'd)
PARTI 1. Create the Data File. Decide on a name for your data file. We'll use
the name DATA, since it will contain our clients' data. (This data will
be inserted later into the main file.)
2. Type in the Data. Our example starts with the client name, which is
followed by the quantity, item, and amount. Here is one record:
• Type a tab between fields of data; if the field is empty, type the tab
anyway.
• End the last field in a record with a carriage return—this puts each
record on it own line. (When printing with mail merge, each record
results in another version of the letter.)
3. Store the Data File. You have now completed the data file, so let's
store it.
Type: [F5]storeCT
DATA FILE
5-36
(confd) Mail Merge Procedure
PART II 4. Create the Main File. To begin, open a file and give it a name (we'll
use the name LETTER):
You may use a field in more than one place within the letter.
5. Add the Field Identification. This command links the field names
(created in the previous step) to the order of fields in the data file.
Move the cursor to the top of your letter, anywhere ahead of the first
5-37
Mail Merge Procedure (confd)
Enter the FI command and the field names in the order that they
appear in the data file (rather than their order in the letter).
Type: [F5]fi client, quantity, item, amount 0
Result: This FI command is embedded in the letter as a triangle.
6. Store the Main File. You have now completed the main file, so let's
store it.
Type: [glstoreH
PART in 7. Preview the Finished Versions. If you wish, you may display the
finished versions of the letter on the screen, before printing them on
paper (see Note #3). Use the command:
Type: [Fsjprints data+letterO
where DATA and LE ITER are the names of the data file and main file
created in Parts I and II, respectively.
8. Print the Finished Versions. If the displayed versions look fine, then
print them with the command:
Type: [gjprint data+letterg3
A different version of LETTER is printed for each record it finds in the
data file. The following is the first of the three finished versions.
FINISHED VERSION
O i
i To
O i
;o
O i
!°
i
O i Dear Betsy Ross: i O
O i
i
! °
O i We would like to inform you « O
O i
i
that your check for $17.76 has ! O
O i been received, and we have [ O
i
O i shipped you the requested two i O
O i bolts of red cloth. ! O
O
i
i !o
5-38
(confd) Mail Merge Procedure
NOTE #1 Importing Data. The data file could just as well originate from some other
mail list manager or data base program, such as dBase III or R-Base, as
long as it's an ASCII file. If it's not already in the format of a tab between
fields, you can either: (1) modify the Mail Merge separators to accept the
data, or (2) do a search-and-replace on the data file to make it conform to
the Mail Merge format.
NOTE #2 Changing the Separators. If you have a special application, you can
change the characters which separate fields and records. You would use
FX (Field Separator) and RS (Record Separator) in your default file. These
are described later in this section.
NOTE #3 Graphic View. You cannot review the merged files in graphic view.
5-39
Field Identification
Purpose FI (Field Identification) assigns descriptive names to fields for use in the
main file. It links the order of fields in each record in the data file to the
names used in PF commands in the main file. FI is required if you use
field names, but not if you use field numbers.
Notice that the field names are listed in the order that the fields appear
in the record in the data file, rather than the order they appear in the
main file. These four names are the names which you have used in the
main file—names which identify the fields.
NOTE #1 Skip a Field. You do not need to name all fields in a record. You can skip
a field by leaving its position blank but keeping the commas. If, in the
previous example, your letter used the first and third fields but not the
second and fourth, you could specify:
[F5]fi client„itemS
NOTE #2 Field Numbers. The FI command is not required in a main file if you
refer to the fields by number rather than by name. Refer to the Put Field
command for further details.
5-40
PF Put Field
FORMAT PF field
field is a name or number
MENU E2HE]E3E?n ESSED
PURPOSE The PF (Put Field) command places a field from the data file within the
text of the main file. Refer to the illustrations earlier in this section for
examples. You enter the PF command into the main file, specifying either
a number or a name:
LELiXJpf 1 Includes a field in the main file. This field receives its
data from the first field in each record. Thus, the
number refers to the position of the field in each record.
1. As you type the main file, when you reach the point in the text where
you want to place a field, enter the PF command. Select a general
name which identifies the field, such as "client," "item" or "quantity";
for example:
5-41
Put Field (confd)
NOTE #1 Field Name. Field names can make the main file far easier to read than
field numbers. You can use field names that describe what the field is. See
the illustration below for an example. When a field name is used, the FI
command must also be used to link those names to the fields in the data
records.
NOTE #2 Field Number. Use the field number when it is easier to refer to a field by
its numbered place in the record (than to assign it a name). However, field
numbers generally make a document harder for others to read than a
name would. The illustration below makes a comparison between field
names and field numbers.
5-42
(confd) Put Field
The fields obtain their numbers from the order in which they appear in the
data file. Thus, a record to fit the previous illustration (Field Numbers)
would have its fields listed in the following order:
client
quantity
item
amount
The previous example using field numbers is given simply to illustrate the
equivalence of field numbers and field names. A more practical example
of field numbers would be one where you were using only a few fields
from a record of enormous length. It might be easy to refer to an item in
the record as field number 45. (The alternative would be to give field 45 a
name with the Field Identification command; however, the FI command
would require 44 commas ahead of the specified field name.)
5-43
Printing Mail Merge Documents PRINT+
Purpose PRINT + merges record data into a main file and outputs the results to a
printer. The records are listed in a data file; one document is printed for
each record. See the previous Mail Merge Procedure for illustrations.
These three commands operate like the normal PRINT, PRINTS and
PRINTF commands you are probably already familiar with, except that
PRINTS + requires that both the main file and data file be stored.
If the data file is currently displayed, you can omit the datafile name and
type:
Similarly, if the main file is currently displayed, you can omit the mainfile
name and type:
You can use a selected block as the data file with PRINT and PRINTF (but
not with PRINTS).
Result: This statement merges the records from DATA into the LEITER
as it prints. Once printing begins, you are free to continue editing other
files while printing continues in the background.
5-44
RR Repeat Records
FORMAT EWIRR
MENU Not a menu option.
Purpose The RR (Repeat Record) command allows you to create a main file that
behaves somewhat differently from a normal mail merge file. Instead of
generating a separate document for each record, a main file created with
the RR command strings the information for each record together in one
continuous file. This is ideal for generating mailing labels.
NOTE #1 Depth of Label. It's a good idea to add enough carriage returns inside the
RR command window to fill up the depth of the mailing label. To
vertically center the mailing address on the label, you may want to enter
one or two carriage returns before the PF commands and the balance after
the PF commands.
NOTE #2 Multi-Column Labels. If you are printing multi-column labels, add the
SN (Snake) command to establish the number of columns and the starting
point of each.
5-45
Mail Merge Separators FX, RS
PURPOSE FX and RS redefine the characters that separate fields and records in a
data file. You enter these definitions into the default file or from the
command line with the DEFAULT command. All characters between the
equals sign and the carriage return become the new separator.
The Mail Merge separator commands may be useful when you import a
data file from another program to be used as a data file for Mail Merge. If
the data file you import uses different field separators, simply redefine FX
in your default file. This way you can change Mail Merge to accommo
date the data file rather than vice versa.
FX (Field Separator) redefines the separator between fields in the data file.
The default is a tab (see Note #2).
Type: [F5]se/FX=/
3. Move the cursor after the equal sign and replace the existing separator
with the new separator character(s).
4. Type: [F5]store 0
Result: Step 4 loads the new separator into memory in order for it to take
effect.
5-46
(confd) Mail Merge Separators
NOTE #1 Default File. You enter FX and RS into the default file. Each of these must
appear on its own line in the default file. After you change a value, you
must reload the file using the LOAD command (Step 4 above).
If you use different Mail Merge separators for different data files, you
might create a "default file" that contains nothing but the field and record
separators. Keep it with its data file, and load it only when needed (using
LOAD). You might call it datafile.DFL.
NOTE #3 Displaying Tab Characters. By default tab characters are only displayed
in expanded view, where they appear as 0. You can display tabs in draft
and formatted views by changing the ST (Show Tabs) default setting to 2.
When ST is set to 2, tabs appear in draft and formatted views as (Refer
to "Default Settings" in the Customization Guide for more information.)
5-47
Mail Merge Options
Intro XyWrite allows you to embed some optional commands in the main
document file. These commands represent instructions that direct XyWrite
to perform certain tasks before or during the merge. There are two catego
ries of these instructions:
5-48
IF Conditional Instructions
(fieldop"variable")
where field is a field number (fl, f2, etc.) or field name in brackets (e.g.,
ffname] or f[address]); op is the symbol for the type of condition you are
testing for (==, <, >, etc.); and "variable" is what you are comparing the
field against. For example:
(f9==”01824-) or (f[zip]=="01824”)
tells XyWrite to see if field 9 (or the field labeled ZIP) equals 01824. You
might use this condition like this:
«I F(f[zip]=="01824")» Chelmsford, MA«EI»
This sequence tells XyWrite to insert the text "Chelmsford, MA" in the
letter when the zip code field equals 01824.
5-49
IF (cant'd)
You can design the IF statement to test for two or more conditions by
using an AND (represented by &) or OR (represented by !) connector. For
example:
«IF(f 10>=
*1989")&(f7== MChelmsford")» Special
offer for new residents of Chelmsford«EI»
This sequence tells XyWrite to insert the text "Special offer for new
residents of Chelmsford" when field 10 is greater than or equal to 1989 and
field 7 equals Chelmsford.
1. Create the main file (refer to the sample file below). Be sure to include
the PF (Put Field) commands where you want data to be inserted, and
the FI command to link the field names to the order of fields in the data
file.
2. Move the cursor to the point where you want the conditional text to be
inserted.
A
PF:title rJPF:lname
I am pleased to announce the opening of a new Zippy Pizza
Shop at 17 Main Street in Chelmsford. To celebrate this
opening, we are offering a spectacular deal: $5.00 off
‘The Works," our large, super-deluxe pizza.
Sincerely,
5-50
(confd) IF
4. Type the text you want to include if the conditions of the IF statement
are met, as shown in the illustration below.
«FItitle,fname,lname,address,city,state,zip»
Sincerely,
Result: When you merge the data and main files, XyWrite checks the
records to see if the zip code field contains the zip code 01824. If it
does, it prints the text you entered in step 5.
5-51
IF (confd)
NOTE #2 Empty Fields. To test to see if a field is empty, you use the @SIZ operator
to determine the number of characters in the field. You can then test for
the condition "if the field equals 0" (contains no characters). For example,
if you want to insert the text "bonus gift" when field 3 is blank:
NOTE #3 Customizing Data Files. You can use the SORTD command to rearrange
the records in a data file, or to extract specific records and fields and store
them in a new data file. The SORTD command is described later in this
chapter, in the section entitled "Sorting Text."
5-52
EV Mathematical Instructions
For example, if your data file contains prices and quantities, you can use
the mathematical instructions in the main file to calculate the total cost of
a customer's order, and insert it in the customer's confirmation letter.
@num(field)op@num(field)
where field is a field number (fl, f2, etc.) or field name in brackets (e.g.,
f[qty], fltax]) and op is the symbol for the type of calculation you are
performing (*, +, -, or /). Fields must be enclosed in parentheses, and
must be preceded by the string ©num. The ©num string converts the
contents of the field into a mathematical value (otherwise, XyWrite treats
the numbers as ASCII characters). For example:
[F5]ev @num(f[price])+©num(f[s&h]),2[5]
This command adds the value in the Price field to the value in the S&H
field, and inserts the result, two decimal places long, in the merged file. If
the Price field contains 90 and the S&H field contains 12, the result would
be 102.00.
You can use the EV command to add, subtract, multiply, or divide the
values in the fields you specify, and then insert the result of the calculation
into your merged file.
5-53
EV (confd)
2. Move the cursor to the point where you want the result to appear.
*
Type: [F5]ev @num(f3)
@num(f4),2[3
5. Merge the main file with the data file. For example:
Sprint orderlist+confirmH
Result: XyWrite merges the data in the file ORDERLIST with the text
in CONFIRM. It inserts the results of the calculation where you
embedded the EV command.
5-54
Redlining
There may be times that you want to keep track of the changes you are
making to a document. For example, if you are editing someone else's
work, you may want the author to review your changes before finalizing
them. Or you might be preparing a contract that you want to return for
review with all changes marked.
XyWrite's Redlining lets you do this. It helps you keep a record of all
additions and deletions. When you are ready to finalize the changes, you
can use Put Edit to incorporate them. Conversely, you can use Clear Edit
to remove them and restore the document to its original condition. With
both commands, there is a Verify option that lets you selectively review
and incorporate (or discard) the changes.
Also described in this section are two commands that let you store notes
in your file.
5-55
Redlining On/Off RED
FORMAT ESZJRED ON
ROTZ! RED OFF
MENU EEnCSEEJJI
Purpose The RED command lets you turn redlining on and off within a window.
When you turn redlining on and then edit a document, you have a record
of all of the changes you make.
With redlining ON, XyWrite automatically displays all the changes you
make in a different mode: in formatted view on a monochrome monitor,
additions are displayed in bold and deletions in reverse; in graphic view,
additions have a double underline and deletions have a line drawn
through them. This lets you see at a glance where changes have been
made. These visual differences stay with the file until you use the Clear
Edit or Put Edit command to clear them.
Result: Redlining is now active in the current window. The letter "R"
appears in reverse mode at the top right comer of the screen. Turning
redlining on also automatically puts you in insert mode.
3. Make whatever additions and deletions you wish to the text. (See Note
#1.)
Result Text that you add appears in bold or with a double underline,
depending on which view is active. Text that you delete appears in
reverse or strike-through mode.
5-56
RED ON, RED OFF (confd)
Result: The edited file is stored to disk. You can call it back to the
screen at any time to review or incorporate the edits you made, or to
make more edits.
5. Repeat Steps 2 through 4 for each file you want to edit using redlining.
6. When you are finished with the editing session, turn redlining off.
Type: [fs] red off £3
Result: The letter "R" disappears from the top right comer of the
screen. You can resume normal editing.
7. If you later want to remove the editing tracks, see "Put Edits" or
"Clear Edits."
NOTE #2 Correcting Mistakes. If you make a mistake when you are deleting
original text, you can undo it with a second deletion. For example, if you
are deleting by character with the Delete key and you go one character too
far, you can back up by simply using the Backspace key.
Similarly, if you delete a word with [ctril [Dei] but then change your mind, just
move the cursor to that word again and press [ciri][D^]. The word changes
from delete mode to its original mode.
When you delete new text (i.e., text that appears in insert mode), no record
is made of the changes. For example, if you add the sentence "It was a
very dark and stormy night," you can delete the word "very." In this case,
the word disappears; it is not displayed in delete mode since you had just
inserted it.
NOTE #3 Hidden Notes. If you want to put a note in your document, but don't
want to disturb the flow of text on the screen or in your printed copy, you
can use the NT (Note) or IV (Invisible) command. These commands are
described later in this section.
5-57
(confd) RED ON, RED OFF
NOTE #4 Window Status. When you turn redlining on and off, you are changing
the status of the active window, not of the displayed document. You must
turn redlining on and off in each window you want to use.
NOTE #5 Changing Views. You cannot switch between views while redlining is on,
and you cannot use redlining in expanded view.
NOTE #6 Assigning a Toggle Key. If you use redlining frequently, you can assign a
redlining on/off toggle to a key in your keyboard file. (See 'Keyboard
File" in the Customization Guide.) The function call for this toggle is RO
(Redline On/Off).
NOTE #7 Delete Character Modes. When you insert text with redlining on, XyWrite
enters it in Insert mode; when you switch to expanded view, you will see
the command «MDIN». When you delete text with redlining on, XyWrite
preserves the text's original mode by converting it to one of several Delete
modes, as described below. Because this mode information is saved, you
can restore text to its original form with the Clear Edit command.
Standard Delete
Modes Modes Description
MD NM MDDN Normal
MD BO MDDB Bold
MDUL MD DU Underline
MDIT MD DI Italic
MD BU MD DL Bold Underline
MDBI MD DO Bold Italic
MD BR MD DV Bold Reverse
MD SU MDDS Superscript
MD SD MDDD Subscript
MD RV MD DR Reverse
NOTE #8 Changing Display Modes. You can change the way the various character
modes appear on the screen by modifying the default file. For example, if
you have a color monitor, you might want new "normal" text to appear in
bright white characters on a blue background. Call up SETTINGS.DFL
and enter the following definition:
MD IN=31
5-58
RED ON, RED OFF (confd)
NOTE #9 Printing a Document You can use the PRINT command to print a copy of
your document with the redlining markers in place. Standard XyWrite
printer files define INSERT and DELETE print attributes that enable you
to identify text you inserted or deleted with redlining on.
When your document is printed, the inserted text prints in normal mode
with the additional effect defined by the INSERT attribute. The standard
INSERT attribute prints inserted text in square brackets. (Because these
brackets are inserted, the alignment of justified text is thrown off.)
The delete modes (DN, DB, DU, etc.) assume the print characteristics of
the standard modes with the additional effect defined by the DELETE
attribute. The DELETE attribute is typically defined to strike over deleted
text with a backslash (\), so delete bold mode (MD DB) would print text in
bold with a backslash through each character.
NOTE #10 Editing Commands. If you open a command marker for editing,
Redlining is temporarily turned off. As soon as you close the marker,
Redlining is turned back on.
NOTE #11 Tagline Toggle. Each time you make an edit with redlining on, XyWrite
inserts a tag that identifies who made the change and when. In a heavily
edited document, these tags may become distracting. The LT function call
lets you turn the display of these tags on and off. The information is still
stored with the file. Refer to "Keyboard Files" in the Customization Guide
for more information about using function calls.
5-59
Put Edits PE, PEV
FORMAT EHZJpe
ECTIPEV
Menu EE3EEESIH
Purpose The PE (Put Edit) and PEV (Put Edit Verify) commands incorporate the
changes made with redlining on. The Put Edit commands search for the
redlined character modes and make the indicated changes. They convert
inserted text (MD IN) to normal mode (MD NM) and erase text that is
marked for deletion.
You can use either command on a selected block of text or on an entire file.
The conversion begins at the cursor position and continues to the end of
the file (or selected block).
1. Move the cursor to the point in text where you want to begin putting in
the edits.
2. Enter the Put Edit, Verify command.
Type: [FslpevCT
The cursor moves to the first change in the file. This could be added
text (displayed in bold or with a double underline) or deleted text
(displayed in reverse or strike-through mode).
5-60
(confd) Put Edits
TIP Renaming Your File. After you have revised your file, you may want to
store the file with a new filename. This can help you to keep track of the
various versions that are generated with each new generation of edits.
5-61
Clear Edits CE, CEV
FORMAT E33CE
eotzicev
menu esiehi
PURPOSE The CE (Clear Edit) and CEV (Clear Edit Verify) commands remove the
changes made to a document during redlining. Like the Put Edit
commands, the Clear Edit commands search for the redlining character
modes, but, instead of making the indicated changes, they restore the text
to its original state.
You can use either command on a selected block of text or on an entire file.
The conversion begins at the cursor position and continues to the end of
the file (or selected block).
5-63
Insert Note NT, IV
Menu StopCodei..
PURPOSE The NT (Note) and IV (Invisible) commands allow you to enter notes in
text. The notes can be of any length, and you can have as many in a file as
you like. The text of the notes is not visible except in expanded view, and
it does not print.
The only difference between the two commands is that the NT command
appears in the text as a command marker, while the IV command is
completely invisible except in expanded view.
2. Type: |F5]ntCT
NOTE #1 Shortcut If the note text is only one line, you can type it all on the
command line as follows:
5-64
Sorting Text
INTRO XyWrite's SORT command lets you rearrange a list of items, while the
SORTD command lets you rearrange a data file. The principal difference
between the two is that SORT treats each line in the file as a single record.
SORTD recognizes each field within a record, and allows you to
extensively customize how you want the list sorted.
You might use SORT to alphabetize your phone list, a materials list, or
your personal spelling dictionary. SORTD is useful for rearranging
mailing lists, personnel records, or other files that contain several fields of
data for each entry.
5-65
Sorting a List SORT
PURPOSE The SORT command allows you to rearrange the entries in a file, in a
selected block, or in a selected column into alphabetical order. (An entry
can be a single character or a group of words. Each entry ends with a hard
return.)
1. Call the file to the screen and select the column you want SORT to use.
a. Move the cursor to the beginning of the column of text.
b. Press: ES(F3]
c. Move the cursor to the end of the column of text.
d. Press: [F3]
e rr
(confd) SORT
Type: [F5]sortH
Result: The selected block disappears from the screen for an instant. When
it reappears, the lines in the listing are rearranged according to the
alphabetical order of the column you selected.
NOTE #1 Default Sort Key. The SORT command arranges the entries in a file or
defined block into alphabetical order. By default, it uses the first 80
characters of each entry, sorts numbers in decimal order, and preserves
duplicate entries. You can change one or more of these defaults by
changing the SK setting in the default file (see the Customization Guide for
information about default settings).
The SK setting has the following form:
sk=nl,n2
where nl is one, or a combination of, the following numbers (the default is
1):
0 Sorts numbers by first digit (01,10,2,3)
1 Sorts numbers in decimal order (01,2,3,10)
2 Sorts entries in reverse order (Z to A, 9 to 0)
4 Deletes duplicate entries.
n2 defines the number of characters that XyWrite uses when sorting a list.
The default size is 80. If you have a very large file, you can reduce the
amount of memory required to sort it by defining a smaller number of
characters. Conversely, if your entries are very similar, you can refine the
sort by defining a larger number of characters.
5-67
Sort Data File Procedure
Purpose XyWrite allows you to select and rearrange the entries in a data file into
alphabetical or numerical order. You can organize a mailing list once by
last name, another time by state, and a third time by zip code. Because
XyWrite does not alter your original file, you can sort the same list in
several different ways for different applications.
NOTE #1 Data File Restrictions. Data file records can contain up to 3500 characters.
You can increase or decrease that number by changing the RZ default
setting. The overall size of the data file that XyWrite can sort is based on
the sort criteria that you establish.
5-68
(confd) Sort Data File Procedure
NOTE #2 Field and Record Separators. The default field separator is a tab and the
default record separator is a hard return. You can use the FX and the RS
commands to change these default settings. (See "Mail Merge" for
information on FX and RS.)
NOTE #3 Number of Fields. Each record must have the same number of fields.
When there is no entry for a field, you still must type in the field separator
to hold its place. For example, if your customer has no company
affiliation, the record would look like this in expanded view:
Mr.OBenOFranklinOO12 Poor Richard LaneO Flyakite0PA055555<-
PART II Determine the Sorting Rules
There are three default settings that determine the sorting rules for data
files: SO (Sort), XR (Extract Records), and XF (Extract Fields). These
settings, which are described in detail at the end of this section, are
entered in the default file.
For this example, let's assume we want to sort the data file by zip code. In
the data file created in the previous step, the zip code field is field 8.
1. Call the default file to the screen (see Note #4).
Type: [Fsjcall settings.dflH
2. Enter the SO setting.
Type: df so=f8<-
3. Store and load the default file.
5-69
Sort Setting SO
FORMAT SO=fieldl,field2...
fieldl,field2... define what fields to use and how to use them.
MENU EEE3EHS
PURPOSE The SO (Sort) setting establishes the field or section of the field you want
XyWrite to sort on, as well as the order of the sort. The SO setting can be
specified with the DF command in the default file or with the DEFAULT
command from the command line. There are five parameters you can set
with SO:
F# Field number (Fl, F2,...).
W# Word within field (W1 is the first word; W2 is the second word,
etc.) A negative number means count from the back of the field.
(The default value is the entire field.)
L# Length of field, or number of characters to use in the sort. (The
default value is 20.)
N Sort numbers in numerical order, e.g., 1,2,5,10,20,100. (The
default is to sort numbers by first digit, e.g., 1,10,100,2,20,5.)
R Reverse the sorting order.
For tie-breaking, you can use more than one field for the sort.
5-70
(confd) SO
last name and the same zip code, XyWrite looks at the first name (field 2)
and organizes those records alphabetically by first name.
NOTE Dates. If you add the letter D after a field number, XyWrite treats the
contents of that field as a date. For example:
df so=f3d
Examples so=fiw3i5nr
Uses the third word of the first field, looks at only the first five characters
of that word, sorts numbers as decimal values, and arranges the entries in
reverse order.
df so=f1w3l5nr,f3w-1
Same as above for the first field. If that field is the same for more than one
record, XyWrite looks at the last word in field 3.
df so=f1w3l5nr,f3w-1,f6l3
Same as above for fields 1 and 3. When more than one record is the same
for these two fields, XyWrite looks at the first three characters in field 6.
df so=f1w3l5nr,f3w-1 ,f 6!3,f2r
Same as above for fields 1,3, and 6. When more than one entry is the same
for these three fields, XyWrite looks at field 2, and sorts those entries in
reverse order.
5-71
Extract Records XR
PURPOSE The XR setting, which can be specified with the DF command in the
default file or with the DEFAULT command from the command line,
allows you to create a new data file that contains only those records that
meet your criteria. It does this by comparing the information in a field
with a variable you supply. When you run SORTD, it outputs only the
records that match your conditions and puts them in a new file; your
original file is untouched. For example, you can create a new data file that
contains only those records for a specific zip code.
You can compare the contents of the field against the variable in the
following ways:
• Field equals the variable (==)
• Field does not equal the variable (<>)
• Field is greater than the variable (>)
• Field is greater than or equal to the variable (>=)
• Field is less than the variable (<)
• Field is less than or equal to the variable (<=)
For example:
DF XR=f1o"Mr."
extracts all records in which field 1 is not "Mr." You might use this setting
if you wanted to extract all records in which the title field was "Miss,"
"Mrs." or "Ms."
You can further refine the record extraction by testing for two or more
conditions. You string tests together with the AND (&) and OR (!)
connectors. In this case, the tests must be enclosed in parentheses. For
example:
df xr=(f8==”O1821H) !(f8==”01824")
extracts those records that have 01821 or 01824 in field 8.
5-72
(confd) XR
4. RunSORTD.
Type: [Fsjsortd pers.hiredgg
r ------------------- >
David DerickOAdministration019820Full-TimeOHMO<-
Ron DoneODevelopmentOl9840Fu11-TimeOBC/BS<-
John Hi1lOAdministrationOl9820Fu11-TimeOBC/BS <-
Meg Kanik0Development019860Full-Time0BC/BS«-
Brian Mass0Manufacturing019870Part-Time0HMO<-
Judith MintOMarket ingOl9840Ful1-TimeOHMO <-
Chris RoseOTech Support019850Temporary0BC/BS<-
df xr=@upr(f1)=="MR."
NOTE #2 Dates. You can use the ©DAT operator to indicate that the contents of a
field or a variable is a date. For example:
df xr=@dat(f8)<@dat("10-31")
5-73
XR (confd)
EXAMPLES df xr=(f4==HTemporary”)!(f4==”Part-TimeM)
This setting outputs records of employees who are either temporary or
part-time.
df xr=f5=="BC/BS"
This setting outputs the records of employees who have Blue Cross/Blue
Shield.
df xr=(f5==MHMO")&(f4==MPart-TimeM)
This setting outputs the records of part-time employees who have HMO
insurance.
5-74
XF Extract Field
FORMAT XF=fl,f2...
flft are the numbers of the fields you want to extract
MENU E0HEBS
Purpose By default, the SORTD command rearranges the records you select in the
order you define, but does not change the information within a record.
The XF (Extract Field) setting allows you to select the fields you want to
put into the sorted file. For example, you can create a data file that
contains corporate names and addresses, but not the personal contact.
The XF setting can be specified with the DF command in the default file or
with the DEFAULT command from the command line.
2. Enter the XF setting, with the numbers of the fields you want to output.
Type: df Xf=f4,f5,f6,f7,f8
Result: When you sort the data file, SORTD outputs field 4 through field 8
only.
5-75
Sorting a Data File SORTD
Purpose The SORTD command extracts the fields and records you defined with the
XF and XR settings, arranges them in the order you defined with the SO
setting, and stores them in a new data file. The original data file is
unchanged.
5-76
Table of Contents and Index
INTRO With long documents such as detailed reports and books, at times you will
want to include a table of contents or index. In this section we discuss
how to generate them. This discussion begins with basic procedures and
ends with a reference of all the commands.
Commands
5-85 Text Marker XI through X9
5-86 Suppress Page Number EX
5-87 Index Label IL
5-89 No Index NI
5-90 Table of Contents Command T1-T9
5-91 Index Command 11-19
5-92 Set Record SR
5-93 Index Break IB
5-94 Table of Contents Extraction TX1-TX9
5-96 Index Extraction IX1-IX9
5-77
Table of Contents & Index Procedure
PURPOSE The following procedures will enable you to generate a table of contents
or index in a step-by-step fashion. The procedure is in three parts and
begins after a general overview and introduction of our terminology.
We use the term table of contents to mean any list that is sorted by page
number. We use index to mean any list sorted alphabetically. XyWrite will
produce a table of contents or index for you from the text that you mark in
your document. There are three basic parts to generating an index or table
of contents. Refer to the following illustration.
• Part I. Mark the Text — Mark the words or phrases you want
included in the index or table of contents. Use one of the text markers
(XI through X9).
• Part II. Specify the Format — Specify the format you want using an
index command (Il through 19) or a table of contents command (T1
through T9).
• Part III. Extract the Table of Contents or Index — Extract the marked
text and either save or print it:
b. Print the file with the index or table of contents included at the end
of the printout. (Use PRINT.)
5-78
(confd) Table of Contents & Index Procedure
5-79
Table of Contents & Index Procedure (confd)
• Source File — The main document. This is the document from which
you are extracting a table of contents or index.
• Target File — The file to which you save the index (using IX) or table of
contents (using TX).
• Marker — Any one of the text markers XI through X9. You mark text
in the source document for inclusion into a table of contents or index.
• Marked Text — The text which you mark for inclusion in a table of
contents or index. You choose one of the markers (say, X3) and then
mark each entry with it.
• Extract — To copy the marked text from a source file into a target file.
The text is sorted either alphabetically (using IX) or by page number
(using TX).
b. Entire Line. You can mark any phrase ending with a carriage return —
such as a title on its own line. The whole phrase, from marker to
carriage return (up to 200 characters including embedded
commands), is picked up. The cursor must either be at the start of a
line or have a space (or tab) ahead of it.
Put the cursor before the phrase ending with a carriage return.
Type: [F5]x30
Press: [Shift] [fT|
c. Any Phrase. You can also enter a phrase that doesn't appear
explicitly in the text (or is in the middle of a line). This is especially
useful for alternate entries in an index, where "red wagon" appears
in the text, but you also want to include "wagon, red." You must
type in the "wagon, red" yourself, as follows:
Type: [F5]x3 wagon, red0
3. Repeat step 2 until you mark all text you want included in the table of
contents or index.
2. Make sure the cursor is at the beginning of the line. Enter a command
T1 through T9 for a table of contents or II through 19 for an index. In
our example, the text was marked with X3 and we want a table of
contents, so we will use T3.
Type: [F5]t3S
5-81
Table of Contents & Index Procedure (confd)
3. Enter the two commands SR IX (to place marked text) and SR PN (to
place page numbers) in the order you will want them positioned on a
line in the table of contents. Also include leadering (LD) between
them, if you wish, and any margin (LM, RM) or other format
command.
In our example we want the marked text placed at the left, a leader
composed of periods, and the page number on the right. (Be sure to
include a space between the LD command and the period.)
Press: |F5|sr ixCT
Type: [F5]ld .£0
Type: [F5]sr pn0
Another SR command, SR CH, gives you the option to set the chapter
number and page number together, such as 2-35. See the Set Record
command later in this section.
4. Press: |Shifi| [fT|
5. Type: 0
6. Type: [F5]storeS
5-82
(confd) Table of Contents & Index Procedure
These first two examples show how you might list a Table of Contents (using
T3). Notice in the second figure that the spaces around the LD command
creates spaces at either end of the leader.
Marked Text
-Z ■
«T3«SRIX»«LD.» «SRPN»»
Leadering
X.
Page No.
/ I X
Penguin..................................................................5
Baboon..................................................................18
Zebra................................................................... 25
Aardvark........ ..................................................... 32
Gorilla................................................................ 47
S
Page No.
■
«T3«SRPN» «LD.» «SRIX»»
Leadering
X
Marked Text
/ I
5 .............................................
XPenguin
18 ................................. Baboon
25 ............................................................... Zebra
32 ....................................... Aardvark
47 ............................................................ Gorilla
Marked Text
> ■
«I3«SRIX» «LD.» «SRPN«»
Leadering
X Page No.
/ I X
Aardvark .......................................................... 32
Baboon ............................... •............................. 13
Gorilla ............................................................ 47
Penguin ............................................. 5
Zebra ............................................................... 25
5-83
Table of Contents & Index Procedure (confd)
NOTE #1 Index Entry Without Page Number. You can create an index entry that
has no page number by using the EX (End X-Marker) command. This is a
convenient way to refer your reader to another entry in the index, or to
insert an index entry that is only a header under which you list subentries.
For details on how to use the EX command, refer to "Suppress Page
Numbers" later in this section.
NOTE #2 Subentries. You can place one entry under another by using an IL (Index
Label) command. For example, you can place "Dog" under "Animals."
You can even have sub-subentries like "Collie" under "Dog." For details,
refer to "Index Label" later in this section.
NOTE #3 Automatic Separators. The IB (Index Break) command automatically
places letters in your index to separate words starting with one letter of
the alphabet from words starting with the next. The IB command also lets
you control the format of these letter headings or insert other separators.
Refer to "Index Break" later in this section for more information.
NOTE #4 Concise Sorting. After sorting your index, XyWrite removes duplicate
entries (with the same word or phrase and page numbering) and combines
multiple page numbers on one line, separated by a comma and space. For
example, if the entry "Computer" is indexed on pages 7,16 and twice on
24, its listing will read:
Computer............ 7, 16, 24
In addition, XyWrite combines three or more consecutive pages into a
page range. For example, if an entry appears on pages 3,4, and 5, XyWrite
combines the references and outputs the page range "3-5". (This feature
does not work with SR CH.)
NOTE #5 Automatic Index Creation. You can use the CORRECT command to
append an index marker to every occurrence of a word or a list of words.
You can then format and extract the index. For more information on the
CORRECT command, refer to Chapter 3.
5-84
XI through X9 Text Marker
FORMAT MX#
# is any digit between 1 and 9.
Menu Table of Contents EHES5, EHn eis Enznm
PURPOSE Use Text Marker commands XI through X9 to mark text for a table of
contents or index. There are nine markers to allow you to create up to
nine sets of marked text. You can mark one set of text using XI, a second
set with X2, and so on. You might use XI for a table of contents, X2 for an
index, and X3 for a List of Figures.
You have the option of sorting the marked text in alphabetical order as an
index or in page order as a table of contents.
You can mark any amount of text as a single entry in a table of contents or
index. You do this by typing in the text along with the X command. If you
enter the X command with no text, it marks the single word to its
immediate left or up to a hard return to its immediate right.
NOTE #1 Temporary Files. When you PRINT, PRINTF, or PRINTS a file, separate
temporary files are created to accumulate the text for building an index or
table of contents. These temporary files are stored on the default drive (as
defined by the DR setting in STARTUP.INT).
5-85
Suppress Page Number EX
FORMAT ESSEX
MENU IEJES3EIE
PURPOSE The EX (End X-Marker) command allows you to create an index entry that
has no page number. You can use such entries as titles under which you
list other entries (see "Index Label") or as cross-references to other entries.
1. Enter a Text Marker command followed by the index entry and the
cross-reference information:
Type: [F5]x2S
Type: [F5|exM
Type: [ShftllFil
Result: When you print your index, the entry "Folios, See Page
Numbers" will appear without a page number.
NOTE #1 Text Entry. When you use the EX command, you must type in the text of
the entry; the shortcuts for marking text that were described earlier do not
apply to the EX command.
5-86
IL Index Label
FORMAT 033 il
MENU lEIIEHJEfflEBI
Purpose The IL (Index Label) command allows you to have an index entry appear
as a subentry under another entry. The text that appears within the IL
command is not printed; it is used only for sorting.
Include the IL command as part of the X command when you are marking
text.
1. Move the cursor to the start of the document and enter the marker for
the major entry.
Type: [F51x2r^j|
4. Move the cursor to the text of the first subentry and enter the marker
for it.
Type: [F5]x2£j|
5. Enter the Index Label command along with the text of the entry under
which you want this subentry to appear:
5-87
IL (cant'd)
8. Move the cursor to the text of the next subentry or sub-subentry. Let's
assume that this time we want to mark the sub-subentry "Siamese."
Type: [F51x2[7»1
8. Repeat this procedure until all entries and subentries have been
marked.
Result: When your index is processed, the following entries will appear:
Animals
Cat, 7,11,15
Siamese, 11
5-88
NI No Index
FORMAT ECTZ1NI
MENU Not a menu item.
Purpose The command NI (No Index) prevents the printing of an index or table of
contents when you use PRINT or PRINTF. It has no effect on Index
Extraction (IX) or Table of Contents Extraction (TX) to a separate file.
You use this command when you want to print your document without the
table of contents or index also being printed. The NI command overrides
any Table of Contents command (T1 - T9) or Index Command (Il -19).
Type: [FsJniH
5-89
Table of Contents Command T1 through T9
FORMAT E3ZJT#
# is any digit between 1 and 9.
| Table of Contents!
MENU
5-90
Il through 19 Index Command
FORMAT Ml#
• is any digit between 1 and 9.
MENU EDHJEEH3
• To specify the format. You type in the format of your index as part of
the 13 command. You do this the same as you do for the Table of
Contents. For example, you might specify marked text on the left,
followed by a comma, a space, and the page number:
«I3«SRIX», «SRPN»»
• To place the index into your document. When you print your
document (using PRINT or PRINTF):
5-91
Set Record SR
5-92
IB Index Break
FORMAT ESQ IB n
n (optional) defines the separator.
MENU HEDESEnffll
Purpose The IB command inserts a separator between entries starting with one
character and entries starting with the next. This separator can be one or
more blank lines or a heading that you specify with the IB command.
The IB command also lets you control the format of the separator. You can
specify the amount of space above and below a heading, its mode (bold,
underline, etc.), and how it is placed on the line (e.g., flush left, centered,
flush right). These formatting instructions affect only the separators, or
headings, not the text of the index.
A special variation of the IB command automatically places uppercase
letters into your index (see Note #1). To use this function, you simply
define the separator to be a pound sign (#); XyWrite interprets the # to
mean "insert uppercase letters as index separators." If there are no entries
fora particular letter, XyWrite skips the heading for that letter. See the
description below for details on how to use this variation of the command.
5-93
Table of Contents Extraction TX1 through TX9
Purpose Each Table of Contents Extraction command TX1 through TX9 allows you
to extract a table of contents from your document and save it to a file
separate from the original file. It extracts text from the sourcefile and saves
it to a targetfile. When you use the command TX2, for instance, the source
file accumulates text marked with marker X2 and formats the text as
specified by the T2 command.
If you omit the sourcefile, XyWrite extracts a table of contents from the
document currently displayed. If you omit the targetfile, XyWrite saves
the table of contents to a file it names TABLEI (for XI) or TABLE2 (for X2),
and so on.
ESZJTX# ©parentfile,targetfile
NOTE #2 NI Command. The command NI (No Index) does not inhibit execution of
this command.
5-94
(confd) Table of Contents Extraction
NOTE #4 Unnumbered Text There may be times when you want to produce
documents that contain no chapter or section numbers in the text, but do
contain the numbers in the table of contents.
When you are preparing such documents, use the LVO through LV14
commands instead of the CO through C14 commands. The LV commands
work like the C commands except that the LV commands do not output
numbers when you print.
When you have completed your document and are ready to create the
table of contents, use the TX command to save the table of contents to a
separate file. TX converts the LV commands to C commands. You can then
enter the appropriate DC commands to define the counter values so the
printed table of contents will contain section numbers. For more
information on the C and DC commands, refer to "Numbering" in
Chapter 4.
5-95
Index Extraction 1X1 through 1X9
Purpose Each Index command 1X1 through 1X9 allows you to extract an index from
your document and save it to a file separate from the original file. It
extracts text from the sourcefile and saves it to a targetfile. When you use
the command 1X2, for instance, the source file accumulates text marked
with marker X2 and formats it according to the 12 command. The target
file is created especially to hold this index.
If you omit the sourcefile, XyWrite will extract an index from the document
currently displayed. If you omit the targetfile, XyWrite will save the index
to a file it names INDEX1 (for XI) or INDEX2 (for X2), and so on.
Note #1 Index of a List of Filenames. To create a single index across several files,
place a command II through 19 at the end of the last file, and use:
RTTZlIX# ©parentfile, targetfile
Refer to PRINT @ for more information.
NOTE #2 NI Command. The command NI (No Index) does not inhibit execution of
this command.
NOTE #4 Sort Key. If you are creating a very large index, you may get the message
"Out of memory." One way to avoid this situation is to reduce the
number of characters XyWrite uses when it sorts the entries. On the other
hand, if your index contains several sublevels, you may want to increase
the number of characters used for sorting. To make either change, modify
the SK (Sort Key) setting (see "Sorting a List" earlier in this chapter for
details about the SK setting).
5-96
User Programming
5-97
Overview
The first step in programming is the planning step. Once you work out the
various steps for the operation you want to perform, you record the
sequence of keystrokes and then run the program. Running the program
automatically executes the stored keystrokes one after another, as if you
typed them from the keyboard.
• Program Mode—In this mode, the keystrokes you type are not
processed but are stored in a file so they can be processed later. This
mode allows you to write more complex programs than Record
Keystroke mode does.
5-98
Record Keystroke Mode Procedure
PURPOSE Record Keystroke mode records keystrokes that you can save and play
back again and again to perform some task. It is an easy way to learn how
to use XyWrite's Programming Language.
2. Type the exact keystrokes for the procedure you want. For example, to
record the keystrokes needed to save a file:
Press: [F5]
Type: save
Press: [F9]
3. Turn off Record Keystroke mode to indicate that the program is
complete.
Press: [ctrflK
Type: [F5]ldrk S0
5-99
Record Keystroke Mode Procedure (confd)
5-100
[cvTIK Record Keystrokes
FORMAT [CtrilK
MENU iProgrammin
PURPOSE E3K turns Record Keystroke mode on and off. When it is on, you can
enter text and execute commands as usual. In addition to processing the
keystrokes as you enter them, XyWrite stores them in memory so you can
later replay them (see Note #1).
Press: [CtrflK
Once this mode is on, all the keys you press, whether they perform a
function or simply enter text, are recorded in XyWrite's memory.
Press: [cuT| K
NOTE #1 Saving Your Programs. After you press [Ctrl]K, XyWrite records all your
keystrokes temporarily in an internal macro. You can execute the program
in this internal macro by using the function call RX, which you can assign
to a key.
However, XyWrite clears this macro each time you begin a Record
Keystroke mode session. Therefore, you should save your program either
to a regular macro key or in a program file. You do this with LDRK (Load
Recorded Keystrokes) or SAVERK (Save Recorded Keystrokes). These
commands are described on the following pages.
5-101
Load Recorded Keystrokes LDRK
FORMAT ES3LDRK #
# is the single letter (A-Z) or number (0-9) or two characters &A-&Z or &0-
&9 where you want to save the program created in Record Keystroke
mode.
MENU
Type: [Fsjldrk x0
Result: Your program is copied to the macro key (in memory). You can
now run the program by pressing [F2] X.
NOTE #1 Saving to Disk. If you want to keep the program loaded on the macro for
use after you QUIT XyWrite, use the STSGT command. Refer to Chapter 3
for more information on the STSGT command.
NOTE #2 Modifying the Program. Once you have created a program and stored it
on a macro, you cannot edit it. If you make a mistake when recording the
keystrokes, you must start the procedure over again by re-recording the
keystrokes and re-saving them to the macro. If you save the program to a
file (with SAVERK) rather than loading it to a key, you can call the file and
edit it.
5-102
SAVERK Saving Recorded Keystrokes
Once the keystrokes are recorded in a program file, you can display the
file and edit it using the Program mode procedure described later in this
section.
NOTE #1 Running the Program File. You execute the stored program with the
RUN command, which is described later in this section.
ALSO SEE Related Command. You can load the program file created with SAVERK
to a macro key with the LDPM (Load Program) command.
5-103
Running a Program File RUN
Purpose RUN causes the specified program file to execute. This means the
commands (and text) stored in the program file are executed
automatically, as if typed from the keyboard.
NOTE Shortcuts. XyWrite remembers the name of the last file run. Therefore, if
you enter the RUN command without specifying the name of a program
file, XyWrite reruns the most recently run file.
If you want to run a new program but aren't sure of its name, you can
build a directory to locate the file and then execute the RUN command
while pointing at the program name.
5-104
Program Mode Procedure
PURPOSE Program mode is similar to Record Keystroke mode in that it lets you
store a series of keystrokes so you can replay them later. The principal
difference between the two is that Program mode does not process the
keys as you press them; it records them as keycodes in a program file that
you run after program creation is complete.
The basic procedure for Program mode involves six steps.
1. Plan the Program. Analyze the steps you'd take if you manually
performed the task. You can then prepare a list of instructions to tell
your computer how to do the same task automatically. If the task is
complex, you may find it helpful to draw a flowchart.
3. Write the Program. Press I Scroll Lock I to turn on Program mode and type
the exact keystrokes for the procedure you want. Press |ScroU Lockl to turn
Program mode off when the program is complete. (If you make a
mistake while writing the program, see Note #1.)
4. Store the Program. When the program is as you want it, store it on
disk. You cannot run your program until it is stored on disk.
5. Test the Program. Try out your program to see if you get the results
you expected.
6. Load the Program to a Key. This step is optional, but it makes using
your program easier.
2. Create the Program File. Use the NEW command to create a new
program file. For example, to create a program file named BOLD.PGM:
Type: [F5]new bold.pgmH
Result: XyWrite creates a new (empty) file with the name BOLD.PGM.
(The .PGM extension is not required, but is useful for distinguishing
files that contain programs from other types of files.)
5-105
Program Mode Procedure (confd)
Result: Once Program mode is on, XyWrite enters the keycode for each
subsequent keystroke in your program file. The file should look like
this:
DP BX (MD+BO)M2 ES
Type: EsJstoreS
5-106
(corn'd) Program Mode Procedure
6. Load the Program onto a Macro Key. In the case of BOLD.PGM, the
program will be much easier to access if it is loaded to a key.
Result: The program is saved to macro B. The status line says DONE.
You can now run the program by pressing [F21B.
NOTE #2 Improving Readability. For commands executed from the command line,
your program will be more readable if you use a carriage return 0 as a
replacement for [F9]. To do this, follow the command with [Scroll Lock| 0 Iscroii Lock I
rather than [F9]. The file STARTUP.INT is written this way; look at it to see
how much easier it is to read such a program file.
5-107
Turning Program Mode On/Off IScroll Lockl
FORMAT (ScroJILod^l
Purpose I Scroll Lock | toggles Program mode on and off. When Program mode is on, all
the keys you press are recorded in the current file, but they are not
processed. You can execute the recorded keys by storing the current file
and running it.
Result: An "S" appears in bold in the upper right corner of the screen, and
the message "Program mode is on. Press Scoll Lock to exit" appears on the
status line. Once program mode is on, all the keys you press, whether they
perform a function or simply enter text, are recorded in the current file as
keycodes.
5-108
LDPM Loading a Program
Purpose LDPM (Load Program) loads a program file onto the specified macro key
so you can run the program file with an [F2] key (rather than with the RUN
command).
To see how LDPM fits into the overall programming procedure, refer to
the earlier section "Program Mode Procedure."
2. Store the Macro Key. (Optional) If you wish to keep this program file
loaded on the macro key for use at future editing sessions (after you
QUIT), use STSGT. Refer to STSGT in Chapter 3.
ALSO SEE Related Command. The LDRK (Load Recorded Keystrokes) command
assigns a program written in Record Keystroke mode to a macro key.
5-109
Pausing During Execution P
PURPOSE When entered in a program file, P (Pause) causes the program execution to
pause for one second. For longer pauses, you can specify the amount of
time you want. You may find the pause useful for slowing down the
program sequence, or for viewing intermediate results before they flash
by.
2. After turning on Program mode, type the Pause command on the first
line of STARTUP.INT.
Type: [F5]p 3
Press: I Scroll Lock|
Press: S
(The first time you press |Scroll Lock|, XyWrite turns on Program mode and
displays an "S" at the top right of the screen. The second time you
press I Scroll Lock | r XyWrite turns off Program mode and the "S"
disappears.)
Result: The first line of STARTUP.INT now contains code that looks
like this:
BC p 3<-
The program code functions as follows:
BC (Blank Command Line) clears the command line.
p 3 pauses the program for 3 seconds.
<- executes the PAUSE command.
5-110
(confd) Pausing During Execution
5-111
Program Function Calls PFUNC
FORMAT RH71PFUNC ##
## is a two-letter function call.
MENU Not a menu item.
Purpose When you have Program mode on and press a key, the function call
associated with that key is entered into the program file. The PFUNC
command lets you enter a XyWrite function call into your program file
when that function call is not assigned to a key. PFUNC gives you a lot of
flexibility in creating your program files, and eliminates the need to assign
seldom-used function calls to a key.
2. Type: [F5]pfuncch0
Result: A bold CH appears in your program file. When you run the
program, XyWrite will clear the command line without moving the cursor
there.
ALSO SEE Related Command. The FUNC command allows you to execute any of the
two-letter function calls directly from the command line. Refer to
"Keyboard File" in the Customization Guide for more information.
5-112
Index
Symbols A
Symbols, * (read only), 2-63 A drive, 2-4
Symbols, ▲ (embedded command), 4-5 See also Drive; Path
Symbols, ▼ (non-breaking space), 4-17 A wild card character, 3-56
Symbols,! (OR operator), 5-50 Abbreviation expansion, 3-84,3-86
Symbols, # (setting page numbers), 4-109 adding entry, 3-73
Symbols, % (text macro), 2-67,3-45 ABORT command, 2-6
Symbols, & (AND operator), 5-50 and selected text, 3-24
Symbols, () (negative number), 3-39 and windows, 3-94
Symbols, * (drawing lines), 4-69 See also Clearing; Deleting
Symbols, * (multiplication), 3-38 Absolute case match, 3-54,3-62
Symbols, * (setting page numbers), 4-109 See also Case
Symbols, * (wild card character), 2-22 Action Bar, 3-4
Symbols, + (addition), 3-38 moving to, 3-10,3-16
Symbols, + (displaying directories), 2-22 See also Menu
Symbols, - (automatic numbering), 4-99, 4-102 Active window, 3-92,3-99
Symbols, - (hard hyphen), 4-22 AD (Append Define to Macro Text) function call,
Symbols, - (page depth), 3-66 3-46
Symbols, - (selected text indicator), 3-24 Adding
Symbols, - (subtraction), 3-38 formatting units, 4-6
Symbols, - (wild card character), 3-57 rows to tables, 5-9
Symbols,. (wild card character), 3-57 type styles, 4-170
Symbols, / (division), 3-38 zoom percentage, 4-12
Symbols, / (switch separator), 3-54 See also Inserting
Symbols, < and > (data file operators), 5-49,5-72 Adding to files. See Merging
Symbols, « and »(embedded command), 3-59 Addition. See Calculations
Symbols, = (arithmetic calculation), 3-38 AL (Automatic Leading) command, 4-180,4-183
Symbols, = (data file operator), 5-49,5-72 Alignment
Symbols, = (selected text indicator), 3-24 flush left/right/center, 4-14, 4-152
Symbols, ? (automatic numbering command), 4-98 hyphenation, 4-18
Symbols, ? (wild card character), 2-22 justification, 4-16
Symbols, @ (chain printing), 2-57 non-breaking spaces, 4-17
Symbols, @ (spell-checking), 3-78 Alphabetical order. See Index; Sorting
Symbols, curved line (embedded command), 4-5 AND connector, in mail merge, 5-50
Symbols, \ (path name), 2-2 AP (AutoPause) command, 4-155
Symbols, ~ (soft hyphen), 4-23 APPEND command, 2-8
Append Define to Macro Text (AD) function call,
3-46
Append To Top (APT) command, 2-8
Index-1
Index
Index-2
Index
Index-3
Index
Index-4
Index
Index-5
Index
Index-6
Index
Index-7
Index
Index-8
Index
Index-9
Index
Index-10
Index
Index-11
Index
Lndex-12
Index
Index-13
Index
Index-14
Index
Index-15
Index
Index-16
Index
Index-17
Index
Index-18
Index
Index-19
Index
Index-20
Index
Index-21
Index
Index-22
Index
Index-23
Index
Index-24
Index
TYPEF command. See PRINTF command UR (Use Pointer) default setting, 3-18
Typeface, 4-176 US (Use Style) command, 4-167
See also Font Use Border (UB) command, 4-61
TYS command. See PRINTS command Use Face (UF) command, 4-176
Use Page Border (UP) command, 4-61
Use Pointer (UR) default setting, 3-18
Use Style (US) command, 4-167
UB (Use Border) command, 4-61 User name, 2-39
UC (Uppercase) command, 3-33 sorting directories by, 2-31
UF (Use Face) command, 4-176 User programming. See Program, user
UH (Unit Horizontal) default setting, 4-8 UV (Unit Vertical) default setting, 4-8
Uncollated printing, 2-48,2-60
Unconditional page break, 4-130
Undeleting text, 3-30
V
Undeleting Verification message, suppressing
files, 2-19 with ABORT command, 2-7
text, 3-11,3-29 with CHANGE commands, 3-65
Underlining, 4-170,4-172,4-173 with COPY command, 2-16
printing, 4-158 with DELETE command, 2-19
Undoing with DO command, 2-26
errors, 2-6 with PRINT commands, 2-48,2-52
file deletion, 2-19 Verifying
redlining, 5-57 redlining, 5-60,5-62
text deletion, 3-11, 3-29 text replacement, 3-62,3-63
Unit Horizontal (UH) default setting, 4-8 Vertical offset, 4-127
Unit of measure, 4-8 Vertical spacing, 4-179
on ruler, 4-138 See also Page layout
relative values, 4-6 Vertical window, 3-94
Unit Vertical (UV) default setting, 4-8 Viewing. See Displaying; Listing; Window
Unselecting text, 3-23
UP (Use Page Border) command, 4-61 w
Updating
date, 4-26 W wild card character, 3-57
directories, 2-23 WAIT command, 2-71
linked text, 4-90 WC (Word Count) command, 3-102
time, 4-29 WCB (Word Count Back) command, 3-102
Uppercase (UC) command, 3-33 WD (Widow) command, 4-133
Uppercase White space. See Blank space
automatic, 3-35 Widow (WD) command, 4-133
changing, 3-33
See also Case
Index-25
Index
Index-26
36 South Charles Street
Baltimore, Maryland 21201
(410) 576-2040 Fax (410) 576-1968