|
Download PAGELINE.ZIP (v1.02; 01/11/08; 144,890 bytes,
including a User Guide in PDF format)
Compatible with WordPerfect 9-X3+
Downloading,
Documentation, Modifications, and Support
WordPerfect 11 users: See important
information about using macros in the first release of WP11 (11.0.0.233)
at the top of this page.
|
Related macros:
IndexList (for WordPerfect 9 and later) -
A macro designed to process a user-created list of words or phrases
and place page numbers after each item to indicate where in the
document the item was found. Thus, it creates an Index from
the List.
Unique - A suite of macros, information,
and tips to help you index a document. |
* - If you
use WordPerfect 11, see information about using macros (from any source,
not just this website) in the first release of WordPerfect
11 (i.e., build 11.0.0.233, as shown in WordPerfect's Help
> About ...)
|
The standard WordPerfect index feature (Tools,
Reference, Index) can create an alphabetical Index of words showing
the page(s) where each word is located, but it cannot indicate
the line numbers where those words are found.
PageLine.wcm (for
WordPerfect 9 and later) produces Index entries that show both
the page numbers and the line numbers for each entry.
Some refer to this as a keyword index.
For example:
INDEX apples,
5:3; 10:1,5,7 bananas, 5:4 cherries, 2:8,10; 3:35
(The word "apples" was found on
page 5, line 3, and also on page 10, lines 1, 5, and 7. The word
"bananas" was found on page 5, line 4. And so forth.)
It should be most useful to those who produce
straightforward, minimally formatted documents (e.g., no columns
or tables) where knowing the line numbers of indexed items is
as important as knowing page numbers.
The idea for the macro came from court reporters,
who often need to know line numbers for indexed items.
Important:
The methods used by this
macro are different from the methods used by WordPerfect's Index
feature:
WordPerfect's Index feature uses words or phrases in the main document that were
previously marked by the user with [Index] codes (and/or with
[Bookmark: Hyperlink] concordance codes, if a concordance file
was used to index the document). This is an automatic, internal
process that creates an Index.
The PageLine macro uses a "source" word list, located at the
end of the document to be indexed, to search for all corresponding
"target" words in that document. When it finds each
target item it counts the lines above it on the page by moving
the cursor a line at a time. It then returns to the list and
adds the page numbers and line numbers next to the listed item.
This is a partly automatic, external process that converts
an existing list in the document to an Index.
You have several options in creating the
source list, including using an existing
WordPerfect Index or a separately typed (or inserted) plain-text
list. These options are explained in the instructions.
Instructions:
First and most importantly: Be sure to
see the macro's Help buttons for instructions and other information, or consult the included (and more comprehensive)
User Guide. They show how to create the source list and
discuss some known limitations caused by the WordPerfect program.
More than most macros, you will need to understand how
this macro works to get the most benefit from it, so spend a
little time reading the online Help and the User Guide.
(It should take about 1/2 hour or so.) Then play it on a sample
(backed up) document to see how it works.
Briefly:
(1) Place your cursor either on the
first text item in an existing "words only" Index (i.e.,
an Index without page numbers; see instructions), or on
the first item in any other "source word" list (e.g.,
a comprehensive concordance) that is typed or inserted at the
very end of the document. (See Tips below.)
(2) Choose any of the menu options by checking
their boxes.
(3) Click OK.
You can always regenerate the new Index, if
desired, but see the User Guide for more information.
(How you do it depends on which type of source list you used.)
Tips:
- You can use ListWord.wcm in the Library
(included in a suite of macros at http://wptoolbox.com/library/Unique.htlm)
to create a source list from the current document while you edit
the document. A source list is one way to create an Index with
this macro. (ListWord is a simple "select-then-copy-and-paste"
macro.)
- The macro's menu defaults and the "spacing"
(comma, tab, etc.) to be used between an index entry and the
adjacent page/line numbers can be changed in the redlined User Modification Area at the top of the macro's code.
- Always make a backup of your document
before playing this (or any) macro. Although
it will not impact the main part of the document (it simply searches
it), it will modify any existing Index entry area.
- Long documents with lots of words to index
(especially if they appear on many pages throughout the document)
can cause the macro to take some time to complete. Be patient.
Disclaimer:
All materials, including any software or software code contained
herein, or that may be found on a related Internet site are offered
without warranty or guarantee of any kind, either express or
implied, including but not limited to implied warranties of merchantability,
satisfactory quality, fitness for a particular purpose, non-infringement,
or those arising by law, statute, usage of trade, course of dealing
or otherwise, and are provided on an "as is," and "with
all faults" basis. The entire risk as to the results and
performance of these materials or software is assumed by you.
The author assumes no liability whatsoever to you or any other
entity or third party for any special, incidental, direct, indirect,
or consequential damages -- including without limitation any
damages to equipment, or for loss of profits, for business interruption,
for loss of data or other information, or for any other loss
arising out of the use or inability to use these materials, techniques,
suggestions, or software programs, even if the author has been
notified of the possibility or actuality of such damages, or
they are foreseeable. Materials herein have been prepared with
reasonable care for educational and informative purposes. No
representations are made regarding the use or the results of
the use of any materials contained herein in terms of their correctness,
accuracy, reliability, or otherwise, and you are again cautioned
that you use them solely at your own risk. You are advised to
make backups of any important files before implementing any materials,
including any macro, suggestion, tip, method, technique, or other
item contained herein. |