***************************************************************
**************** SEARCH MENU HELP FOR TAG! ********************
***************************************************************
The SEARCH MENU enables you to automate document tagging by
specifying up to three strings of up to 30 characters each by
which TAG! can identify desired paragraphs and apply the
desired tag. Alternatively, you can search for a specific tag
already attached to one or more paragraphs, and replace that
tag with a new tag. There are six options:
ENTER STRINGS: In this option, three fields of 30 characters
each are provided. You enter strings in one,
two or all three string fields. Enter strings
which, taken together, will enable TAG! to find
only the paragraphs you want.
The tag applied in a SEARCH operation is the
tag highlighted when the ENTER STRINGS option
is chosen.
ENTER TAGNAME: Here you enter the name of the tag you wish to
replace. It will be replaced with the tag which
was highlighted when you chose ENTER TAG. Tag
searches take previous tag changes into account.
That is, if you have already changed some tags
in the current session, a tag search will examine
the new tags for possible replacement, even if
they have not yet been saved to the disk. TAG!
always regards the last tag applied as the
correct paragraph tag for a given paragraph,
and performs its search-and-replace operations
accordingly.
NOTE: If you wish to replace the Body Text
tag with some other tag, TAG! will add the
new tag to all untagged paragraphs (Body Text)
and any paragraphs that may actually contain
the Body Text tag (@BODY TEXT = ).
NOTE: By default tag searches are NOT case
sensitive. However, you can change the default
to Case Sensitive in the Options menu if you
have a particular need to replace tags which are
identifiable only by case.
START SEARCH: This option begins the "search and tag" process.
When the first paragraph matching the search
criteria is found, it is displayed in the
paragraph viewer window, along with the following
choices:
YES: Choosing YES applies the tag to the paragraph
as planned.
NO: Choosing NO causes the paragraph to remain
unchanged.
AUTO: Causes the rest of the document to be
searched without further input from the user. For
each paragraph matching the search criteria, the
selected tag will be applied automatically.
QUIT: Cancels the "search and tag" operation. Any
paragraphs already found and tagged remain tagged.
Paragraphs not yet found (those further on in the
document) remain unchanged.
During a "search and tag" operation, the type of
search being performed is displayed at the bottom
of the screen.
LOAD AND SEARCH: This option enables you to load one or more
sets of search expressions which were stored earlier in an
ASCII file. When this option is chosen, TAG! reads the
first set of search expressions from the file you specify
and begins the search in the usual way. If there is more
than one set of expressions in a file, TAG! begins working
with the second set of search expressions as soon as it
finishes with the first set, and so on.
AUTOMATIC / SEMI-AUTOMATIC: "Load and Search" can be run
in "Automatic" or "Semi-Automatic" mode. In Semi-Automatic
mode, the user is prompted to confirm the expressions to
be used in each search, and prompted in the usual way as
the search is processed. In Automatic mode, the user is
never prompted: searches are loaded and processed
automatically until there are no more search expressions
in the file.
During a "search and tag" operation, the type of search
being performed is displayed at the bottom of the screen.
SAVE: This option enables you to save a set of search
expressions for future use in the ASCII file you name when
prompted. Be sure to save a given search when the correct
replacement tag is highlighted in the tag list. The form
of the file is a series of sets of either two or four
lines each, as follows:
String searches are stored in 4-line groups, the first
line being the tag to apply, and the next three lines
being the specified search expressions. If fewer than
three expressions are used, there is one blank line for
each unused search expression.
Tag searches are stored in 2-line groups, both beginning
with the @ symbol. The first line is the new tag to be
applied; the second is the tag to be replaced.
All lines end in carriage returns. Each successive save
of a search expression set to the same file simply adds
search sets to the file.
For example, the following three searches, all saved to
the same file, would result in a file which looks like
the one listed below it:
1 A String search to apply the tag PRICE to paragraphs
containing these two strings, "Price:$" and "Part
Number";
2 A Tag search to replace the tag OFFSET QUOTE with the
tag CENTER QUOTE;
3 Another String search to apply the tag INDENT to
paragraphs containing these three strings: "Technical
Description", "Automotive Section", and "Parts
Division".
After saving all three Search sessions, the resulting
ASCII file would look like this:
P PRICE
P Price: $
Part Number
[blank line]
@CENTER QUOTE
@OFFSET QUOTE
INDENT
Technical Description
Automotive Section
Parts Division
HELP: Displays the HELP you are now reading. This help file may
be edited by calling up the file TGSRCMEN.HLP in any ASCII
editor. Text lines must be 65 characters or less, and each
line must end in a carriage return. Use spacebars, not
tabs, to space horizontally within a line. The maximum
help file size is 15,000 bytes.