Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Overview  
Indexer main window (blurred)

Indexer, at the right, displays the pages of a book and the index entries for each page. The index entries for the current page are highlighted with a yellow background.

With Indexer, you scroll though the book adding/deleting entries for each page. You can also edit and extend the list of terms available to be assigned to pages. as entries.

Index Terms window, blurred Index terms are listed in a separate window like the one at the right. Double clicking an item adds it as an entry for the current page. Typing in the list window scrolls it to the first term starting with what you have typed. You can have multiple terms window scrolled to different places in the list. The TermsEditor window
TermsEditor (new in Version 3.3) manages the list of index terms. It displays the terms alphabetically and offers tools for adding, revising, and deleting terms. A good place to start is with the File menu's "Scan for Proper Nouns ..." command. You select text files and it scans them for word strings that might be proper nouns, instantly creating lots of houn phrases; the majority of which should be in the index.
Finally, the Create Index menu command combines the entries from all pages to produce an index. See sample at the right. At present other index styles are produced manually. Send your index to me along with the desired format.
labor force
composition of, 67, 94, 96, 103, 131, 188n8–9, 191n10
growth in, 103, 108, 110, 111, 117, 174, 177, 180
labor party, xi, 14, 15, 20, 21, 122, 124–127, 184n3
labor union
membership, 4, 15, 16, 35, 36, 52, 57, 59, 74, 81, 93, 94, 159, 189n21, 194n19
Terminology
term
An item that may appear in the index. It will not appear if no page has an entry for it.
entry
term that has been chosen for a page. That term will appear in the index and will have the current page among its page numbers. For instance, if "labor party" is a term and it is added as an entry for page 20. In the final index, the entry for "labor party" will list 20 as one of the pages.
project directory
The directory with all files for generating an index for one book. The files include the list of all terms, one text file for each chapter, the index entries for each chapter, and the final output index file.
 

Entries in the left column above are links to more help:
 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Install Indexer  

Installing Indexer

The download will also have created a shortcut Indexer shortcut image in the same directory. You can click it to start Indexer. Or copy the Icon to your desktop, another directory, or the start program menu and click it there.

Indexer requires JRE, the Java runtime environment for J2SE 1.6 or later. Check your java version at http://www.java.com/en/download/. If your system has not got the latest Java, the site will offer to download it.

Input files to Indexer are ASCII text files. They are described in the Getting Ready page and in further detail below.

Installation on MSWindows

First check that you have the runtime for J2SE 1.6 or later. (Check at http://www.java.com/en/download/.)

Create an installation directory, such as
C:\Program Files\physpics\Indexer.
Download InstallIndexer.jar to the installation directory and double click on it. Three items are installed: Indexer.jar, a shortcut to Indexer, and a directory containing the icon used by the shortcut. You can now delete InstallIndexer.jar.

To run Indexer double click on Indexer.jar or on the shortcut. If clicking the shortcut fails, see the "Advanced" section below.

For convenience copy the shortcut to your desktop or a project directory where you are making an index. To create an entry for Indexer in your Start Menu, drag the desktop icon into the "Start" button, pause for the menu to appear, and then continue dragging to the desired place in the menu.

To view the full help file locally, you can download InstallIndexerGuide.jar Double click to do the install. If you install it in the same directory as Indexer.jar, the Help menu item "Browse full Help" will fetch it from your file system instead of the web.

ADVANCED for MSWindows

If typing "java" on the command line does NOT produce

	"Usage: java [-options] class [args...]"
and forty more lines, you may need to reinstall Java. Another option is to explicity name the Java directory in the command. If Java is installed in c:\Program Files\Java\jdk1.6 then the command to run Indexer is "c:\Program Files\Java\jdk1.6\bin\java" -jar "xxx\Indexer.jar" where xxx is the installation directory you chose.

You may want a desktop icon where you can drop a file to edit its index entries. Here's how. Put the following in a file indexer.bat:

	start "Indexer" /min java.exe -jar "c:\mydir\Indexer.jar" %*
Create an icon (with "paste shortcut") and edit its Properties to change the "Target" to the location and name your new indexer.bat file. When you drop a file on the icon, Indexer will open and start with that file. The approach above creates a terminal window. Deleting that window will terminate Indexer. To avoid having the terminal, change indexer.bat to:
	start "Indexer" "c:\mydir\Indexer.jar" %*

To ease the task of adding line numbers to the source file, I wrote a GNU emacs macro. The current page number is in an emacs register. To set it, give the command

	C-u number \C-x r n p
To insert the current page number and increment the number, invoke the macro:
	C-z
Here is the macro definition:
	(fset 'page-number
	   [return return ?$ ?@ return left ?\C-x ?r ?+ ?p 
			 ?\C-x ?r ?g ?p  ?\C-e] )
	(global-set-key [26] 'page-number)

Other platforms (tested on Mac)

Launching from desktop icons and the Start Menu (Microsoft Windows and Unix running GNOME 2.0+)

Java Web Start technology can automatically create shortcuts for your application on the desktop and in the Start Menu for Web-deployed applications developed with Java technology. You can use the Java Control Panel to control the shortcut settings. Shortcuts can also be added by using the Java Web Start Cache Viewer, using the install shortcut menu item.

Using Java Web Start Software Behind a Proxy Server/Firewall

Java Web Start software must be configured with the correct proxy settings in order to launch applications from outside your firewall. Java Web Start software will automatically try to detect the proxy settings from the default browser on your system (Internet Explorer or NetscapeTM browsers on Microsoft Windows, and Netscape browsers on the Solaris Operating Environment and Linux). Java Web Start technology supports most web proxy auto-configuration scripts. It can detect proxy settings in almost all environments.

You can also use the Java Control Panel to view or edit the proxy configuration.

To find the Java Cache Viewer is an art. Start by launching the Java Control Panel; your desktop may have a shortcut to it, or you will have to find it under the name javacpl in the bin/ directory of the Java runtime (jre) installation. Click the "General" tab and then the button labelled "View" under "Temporary Internet Files". (The control panel layout has changed many times, so look around if you don't find it under exactly the names listed here.)

 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Prepare to Use Indexer  
To prepare for  creating an index with Indexer:
  1. Choose a project directory
  2. Install Indexer
  3. Adapt the book text
  4. Generate a list of potential index terms

 

1. Choose a Project Directory

Indexer runs in a project directory devoted to indexing one book. To begin, this directory must be populated with a few files - Indexer itself, the book chapters  xxxx.txt, and a list of index terms, indexterms.txt. See the following sections.

After running indexer more files will appear in the project directory

xxx-index.txt - one for each chapter. These contain the index entries assigned to each page. If you really need to change an index term that has already been assigned, you can edit these files.

index.txt or index.html - One of these files is created by the Create Index ... option in the File menu. It contains the generated index. Manual processing is generally required to reformat it for submission to the publisher.

2. Install Indexer

The simplest approach is to install Indexer into the project directory. Visit the Indexer download page and click the button to Download Indexer. When the browser prompts for a destination directory, give the project directory. After downloading, double click the newly downloaded file. One item installed is the Indexer logo as a link to the Indexer application. Click this logo to start Indexer.

For more installation options see the Admin Guide.

3. Adapt the Book Text

Convert the publisher's page-proof file to text.  Most editors provide an option for this. Indexer expects the "UTF-8" encoding; if your text has no special characters, this will be the same as ASCII. (But beware, even without European alphabets Microsoft Word uses non-ASCII characters for quotes. So you really need UTF-8.)

Break the text file into conveniently sized chunks; Indexer calls these chunks "chapters," but any division is acceptable, including the "division" that puts the entire text into one file. The file extension must be ".txt".

Indexer needs the page numbers to put into the index. You provide these by inserting code lines in the .txt chapter files. Before the text for each page insert a line having ONLY

$@xxx

where xxx is the page number for the subsequent page. The number may decimal or roman. It may be ppnmm for note mm on page pp. Non-numeric values may also succeed. More about the chapter text files is provided in the Admin Guide.

 

convert iso-8859-1 to utf-8
iconv -f iso-8859-1 -t utf-8 accented-authors.txt > accented-authors-utf8.txt

4. Generate Index Terms

Creating indexterms.txt

Here's how to get started with an empty indexterms.txt. Run Indexer (by double clicking its icon). If there is no indexterms.txt file, Indexer will prompt you to let it create one in the current directory. Accept the offer. Now click the "Switch to Terms Editor" button and start entering terms.

To get a lot of terms automatically, Choose "Scan for Proper Nouns..." in the File menu. The terms created are capitalized phrases from throughout the text. Since senteences start with capital letters that are NOT part of noun phrases, some spurious phrases wil be collected. Bad new: this is annoying; good(ish) news: you get to practice deleting terms.

When providing a text to scan for proper nouns, omit the reference or bibliography section. Capitalization will create spurious terms. Instead, edit the references/bibliography to make a list of authors, one per line. (Lines without commas will be converted by assuming that the last full word on the line is the last name.) Supply this file via the Read Author's List ... option of the File menu.


Proper Nouns List

. Those found are added to the list of index terms. This is a hueristic scan that identifies nouns and noun phrases by capitalization. Since capitalization also indicates sentence start, errors occur: some phrases are missed; some spurious phrases are found. The hueristics are especially inappropriate for reference and bibliography sections. These should NOT be included in the text file. Recommendation: Run this option first and prune the list before going on. More about proper nouns below.

To get started building an index terms list it may be useful to have a list of the proper nouns that appear in the text. The installation includes a rudimentary program for sifting your text for proper nouns. No such program will be perfect and this one is a tad simplistic. Here are some of the phrases it extracted from one manuscript:

H. L. Mencken of the Baltimore Sun
Number
O'Hair's
OFA
Obama
Obama Justice Department
Obama and McCain
Obama and the Democratic Party
Obama's
Office of Faith-Based Initiatives
pro-Israel AIPAC
Roe v. Wade

Some of the principles the tool employs are these:

  • Generally, a proper noun is capitalized and a noun phrase is a sequence of proper nouns.
  • First words of sentences are ignored. A sentence ends with period, question mark, or exclamation point. If a sentece begins "Barrack Obama ... " only the Obama would be extracted as a proper noun.
  • Noun phrases extend through capitalized words and through words that are articles, prepositions, and conjunctions. Sometimes this inadvertently combines two phrases as in "Obama and the Democratic Party."
  • Words with mixed-case like eTrade and eBay are considered proper nouns.
  • Apostrophes and dashes are accepted if contained within words.
  • Noun phrases do not contain other punctuation; not even commas. The phrase "Number" above follows a colon in the text.
  • A single capital letter followed by a period is treated as a proper noun. "v." is a noun as a special case.

Results will be best if the references section is NOT scanned with this tool. Author names are usually last-name-comma-first-name, which will be parsed as two names by this tool. I suggest emacs or Excel for processing references.

When execution begins, the proper noun scanner will prompt for the name of the file to scan. Indexer accepts some words in lower-case within noun phrases. The default list is all pronouns, articles, and prepositions. Words can be added to this list by putting them in a file called phraseControl.txt, one word per line.

Author's List

Author names are generally included in the index. The reference or bibliography section is usually a comprehensive list of these. Unfortunately the large variety of rules for punctuating references makes it non-trivial to identify them by program. Fortunately, they are not hard to isolate with any competent text editor like emacs. To enter author names into Indexer, put them in a file with one author per line. Lines without commas will be converted to last-name-comma-given-names by assuming that the last name is a single word. Where this is not the case, enter the name in that format.

 

Create Index Entries for a Chapter

Once the Indexer window is open, select from the File menu the option for Open Chapter. Some terms will be automatically added to pages because trigger phrases appear on those pages. You may delete these entries. To add other entries, double click on a term in a Terms List window.

Indexer will automatically save your work every few minutes and when you exit. To be safe, you can choose the "Save" item from the File menu or type control-S.

 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Build the Terms List  

Indexing with Indexer means assigning index terms as entries for each page. Cenral to this task is the list of index terms that can be assigned. This list is kept in the project directory as file indexterms.txt, as described in the Admin guide.

The project directory must have a file indexterms.txt. The format is described in the Admin Guide; it may be edited with any text-oriented editor. However, Indexer now offers TermsEditor for creating and revising indexterms.txt.

tems editor windowThe TermsEditor window, at right, has, top-to-bottom, menu bar, the Find / Create line, the table of index terms, and a message line.

Typing into the Find/Create box causes the table to scroll to the term begining with the current string. Click the Add Term button to add a new main term with the name in the Find/Create box.

Editing Cells

"Opening" a cell - When you click on a cell in one of the text columns, it "opens" for editing; a box surrounds it and the background is white. You can edit text in an open cell with all the usual text editing operations: mouse selection, text typing, backspace, and all the others. The cell is closed by typing enter or clicking elsewhere.

If a cell is selected, but not open, it can be opened by clicking or by typing F2.

Unscrolling - If the contents of a cell are changed, it is resorted to its new alphabetic location in the table. This often scrolls the table. To return to the previous scroll position, type alt-left arrow. (This same keystroke is used in browsers for going back to the previous page.)

Closing cells - An open cell can be closed by typing ENTER.

If a cell is open, and has changed in value, no other operation can be done until the cell is closed. Attempting another operation will close the cell, but not do the operation. To remind you that a cell has closed, every time a cell closes a small whoosh is sounded. So if you try to do an operation and hear a whosh, you will know the operation did not get done.

Special keystrokes

A number of special key strokes are defined.

Arrow keys - If no cell is open, the arrow keys will move the selection from one cell to the next. In an open cell the arrows move the cursor through the text.

ENTER - If a cell is open, ENTER will close it. If no cell is open, and a non-text (insert or delete) column is selected, the ENTER key will perform the insert or delete operation dictated by the column.

F2 - Open cell - If a cell is selected and not open, F2 will open it. (This is the same as in Excel.)

^Z  - Undo - Same as the Undo operation in the Edit menu.

^Y - Redo - Same as the Redo operation in the Edit menu.

^N - Convert name - Same as the Convert Name operation in the Edit menu.

^S - Save - Same as the Save operation in the File menu.

F1 - Help - Same as the Show Help operation in the Help menu. (Use the Browse User's Guide option in the Help menu to open this Guide.)

table of how to type accents Typing accented characters

For an accented letter, hold the control key and type the prefix, release control and type the letter. Similarly for upper case. See the table to the right.

On US keyboards, quote is an upper case apostrophe, tilde is an upper case grave, and circumflex is an upper case 6.

The TermsEditor windowColumns

Here are the columns of the table.

4 Index Terms. A main term is unindented or ditto marks to repeated the term on the line above it. A subterm is indent and prefixed with a colon. A "referer" term is indented and surrounded with (^ and ). Referer terms are not available to be assigned as entries to pages. Instead, when the index is generated there will be an entry for the referer. Its contents will be "See" followed by the parent main term.

Click on an item in column 4 and it is opened for editing. If the text is revised, the term will be moved in the table to its proper alphabetic position.

A word about acronyms - If a main term has an acronym, as in

Gross State Product (GSP)

then a referer from the acronym to the term is automatically generated. The acronym will not appear in the termslist window, but will appear in the generated index.

2 Trigger phrases. When a page is made "current", the background for its entries becomes yellow. At the same time the page text is scanned to see if it has any trigger phrases in terms newly defined since the page was last scanned. When a trigger phrase is found, the phrase in the text is colored. If the trigger applies to only one term, the phrase is colored blue and the term is added to the pages entries. If more than one term applies, the phrase is colored red, but no entries are added.

1 "Add phrase" arrow. Clicking an arrow in the left column causes an additional instance of the term to be added and its phjrase is opened to type in a phrase. (Until a phrase is typed in, the phrase internally has the value "~~~".)

3 "Add subterm arrow. Click an arrow in the third column and a new subterm line is added to the main term and opened for editing. (Until a subterm is entered, the subterm internally has the value "~~~".)

5 Clicking a red X in the fifth column will the term on that line. Main terms can only be deleted if they have no subterms.

Referers are added in column 4 with the AddReferer menu item. It is in the Edit menu in the menu bar and also on a popup. A referer line is added and opened for editing. (Until a referer is entered, it internally has the value "~~~".)

Menus

In the screen shots, one letter is underlined in each row. This is the menu item's "mnemonic key". Typing that key while the menu is visible will perform that menu item.

Terms Editor File menu

File menu

Save Saves the terms to indexterms.txt. (This will be done automatically when switching back to Indexer.)

Scan for Proper Nouns ...Prompts for the name of a .txt file and scans it for proper nouns, adding those found to the terms table. See Getting Ready.

Read Author's List ... Prompts for the name of a file with one name per line and addds the names to the terms table. See Getting Ready.

Exit Saves the terms list and closes the Indexer and TermsEditor applications.

Terms Editor File menuEdit menu

Undo xxx Reverses the effect of the last operation. The xxx names the sort of operation. Major operations like Scan for Proper Nouns and Read Authors List canot be undone.

Redo xxx If an operation has been unone, this operation does it again. A single operatno can be Undo-ed and Redo-ed any number of times, but the number of saved operations is no more than 25.

Delete Term The current row is deleted. Terms canot be deleted until all subterms and referers have been deleted.

Add Phrase A new row is inserted for the term on the current line. The phrase column is blank and opened for editing.

Add Subterm A new row is inserted below the current line. The term field is opened as a subterm (with a leading colon.)

Add Referer A enw row is inserted below the current row and its term field is opened as a referrer, inside (^ and ).

Convert Name The term field is modified as though it were a name in form first-middle-last. The new version is in form last-comma-first-middle.That is, the last full word is moved to the front and a comma is placed after it. Typing control-N has the same effect.

Terms Editor File menu

Help menu

Show Help Opens the Context Help window. As you move the mouse over the Terms Editor window, the Context Help window is scrolled to a description of the item under the mouse. To scroll in the Concext Help window, type the F1 key; it jumps the mouse to the Context Help window with out intervening mouse motion. Then you can scroll within the Context Help window to read descriptions.

Browse User's Guide Opens your local browser showing your local copy of the Indexer User's Guide. (If the local copy downloaded with InstallIndexer is not available, the website copy will be shown.)

About Indexer Displays a small dialog box with the Indexer versino number, the current directory, and the current file.

Switch to Indexer button

Clicking the Switch to Indexer button closes the table and returns to viewing pages and their index entries. At this time, the index terms are written to their file, indexterms.txt. The terms are also scaned for consistency; redundant terms are deleted and necessary terms are added. Examples of necessary terms include the main term for a subterm or a mnemonic. The design of the TermsEditor makes it unlikely that any such modifications are needed.

 

 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Choose Terms for Each Page 
The main Indexer window names the current file and directory in the title bar. There follows three rows: menu bar, the pades table, and a message line at the bottom.
the Indexer main window

The three columns of the pages table are the page number, the contents of the page, and the index terms that have been selected for that page. As the page was read in, Indexer scanned it for trigger phrases (as given in indexterms.txt). In the image above, the phrases "race to the bottom" and "slavery" resulted in index entries of the same. "Interstate competition" and "Levi" resulted in "labor costs, state" subhead "interstate competition" and "Levi, Margaret." The term United States of America was added with the Add Entry command. The phrase "labor costs" is red because that phrase is the trigger for two different index terms. Neither was automatically listed, so you need to review red phrases to see if any index terms should be added for that page. Selecting the entire red phrase will make the Index Terms window scroll to the alphabetically first term in the Index Terms window. Selecting a blue phrase will cause the selection to jump to the index entry made for that term.

The index entries on the "active" page are hi-lit in yellow. Additions and removal of index entries occur there. When you scroll the text, Indexer makes one of the visible pages active and colors its entries section in yellow.As the text is scrolling you will see empty entry areas. That is because the text is not scanned for trigger phrases until the page is made active (and thus has a yellow area).

Entering Accented Characters

Letters for European alphabets can be entered with prefix control characters. For example, type control-apostrophe and the letter a to enter á (a-acute). The supported letters are these

type a control ↓ and then a letter →

a e i o u y A E I O U Y c C n N
acutecontrol-' (apostrophe) á é í ó ú ý Á É Í Ó Ú Ý        
umlautcontrol-" (double-quote) ä ë ï ö ü ÿ Ä Ë Ï Ö Ü          
circumflexcontrol-6 (digit-6) â ê î ô û   Â Ê Î Ô Û          
gravecontrol-` (grave) à è ì ò ù   À È Ì Ò Ù          
tildecontrol-~ (tilde) ã     õ     Ã     Õ         ñ Ñ
cedillacontrol-, (comma)                         ç Ç    
slashcontrol-/ (slash)       ø           Ø            
ringcontrol-o (letter-o) å           Å                  

Command Buttons

The menu bar has four buttons for the commands of Indexer:.
  • Click on an entry in the yellow area and click Remove Entry. The entry is removed.
  • Click on a term in the Index Terms window and click Add Entry. The term is added to the yellow area.
  • Click Create new index term ... and you will be prompted for an entry to be added to the Index Terms window.
  • Click Rescan page and the page will be rescanned for all trigger phrases. If any are found, new terms will be added at the bottom of the entries list.

Rescanning is usuaully unnecessary. Every time a page is made active it is scaned for terms that have been added since the last time the page entries were modified. However, once an entry has been deleted for a page the only way to get it back is by selecting the entry in a terms window and using the Add Entry button.

Commands can be invoked from menus, and also from the keyboard:

Command
Keystrokes
Add Entry

Insert or Control-a
or double-click on term in Index Terms window

Remove Entry
Delete or Control-d
Create new index term ...
Control-n
Save entries
Control-s

With Create new index term, you can add a new term or add a crossreference. For adding a term you will see three fields:
Adding an index term
The trigger phrase is one or more words; when a page is scanned, Indexer looks for these phrases. If one is found, its term is added to the entries for the page. The index entry is the main heading field together with the optional sub heading field. A new term is rejected if all three fields exactly match those of an existing term. Oterwise the term is added at its alphabetic location in the Index Terms window and immediately inserted in the indexterms.txt file. It is not added to the active page; to do os, type the INSERT key.

Clicking the "Cross reference" tab at the top of the dialog box brings up the fields for entering a cross reference:
Four fields for entering a cross-reference: the term where the reference will appear and the term it refers to.
The "for nickname" term is the term in the index where this cross reference will appear; The "See ..." term is the one that is referred to. The "under" term might be NEA and the "See" term "National Education Association (NEA)" Then the index would have entries
National Education Association (NEA) 12, 20, 44
...
NEA. See National Education Association
(Note the special case for acronyms. The trailing instance of "(NEA)" is stripped from the entry for NEA, but appears in the other entry.)

The 'file' menu

The File Menu

Open Chapter - Prompts for a new chapter and opens it. The file must be a text file with extension .txt. Pages in the text must each be preceded with a line having $@xxx, where xxx is the page number. The directory for Chapter files is remembered from one editing session to the next.

Save Entries - For chapter xxx.txt, this command creates file xxx-index.txt and stores into it all the index entries. It remembers which entries you have deleted. The chapter is rescanned every time it becomes active, but deleted entries do not come back. Entries are saved automatically when you open another chapter, or you exit the program, or when a five minute timer fires.

Create Index ... - You are prompted with a list of all the ...-index.txt files in the current directory. When you click "Index in text" or "Index in html", the checked files are read, the entries are sorted, and an index is created in index.txt or index.html, respectively. The html file can be edited with Microsoft Word to convert it to some other format. Or with emacs to modify line endings conveniently.

New Terms Window - A new instance of the Index Terms window is opened. All such windows look and behave alike, except that they may be scrolled differently and each may have its own set of selected entries. The selection is visible only when the window has the input focus.

Exit - Indexer saves any entries. For filename.txt, entries are saved to filename-index.txt.  Entries are automatically saved when you switch to another file or exit the program.  They are also saved every five minutes,

The 'Entries' menu

The Entries Menu

Insert Term - D

Delete Term - D

New Term ... - D

Rescan Page - Dasd

asd

The 'file' menuThe Windows Menu

A- Displ

A- Displ

A- Displ

 

The 'file' menuThe Help Menu

Show Help - Brings up a window displaying the ContextHelp file. As the mouse moves across the Indexer windows, the help window scrolls to describe what is under the mouse. F1 will also raise the ContextHelp window. In addition, it jumps the mouse to that window without changing the main window; thus you can explore the Context help.

Enter demo mode - In demo mode, Indexer works on a single built-in file and set of index terms. Creating an index shows it on the screen instead of saving it to a file.  Things to try:

Choose menu item File/CreateIndex and either html or text.
See the nice index.
Click "shadow" at the bottom of the terms list window.
It turns blue.
Click on a page in the main window.
Its index entries turn yellow.
Click the Add Entry button at the top.
"shadow" gets added to the entries in the yellow area.
Choose File/CreateIndex again.
Now the index has an entry for "shadow" and a cross reference to it.

If you add "dark" as a term on some page(s), more cross references will appear. (Cross references do not appear unless the term they point at has associated entries.)

Browse User's Guide - asasdasd

About Indexer - Displays some mildly useful information, especially the current directory and file name. You should report the version number in error reports.

The bottom lines of the About window display the current directory and current file.

"Index Terms" Window

Available Index Terms window        Any term in the"Index Terms" window can be assigned to any page in the text.  Scroll through the list. Select a term. It turns blue. Click the Add Entry button, and that term becomes an entry for the current page. Select two or more consecutive terms. They get blue. Click the Add Entry button, and they all become entries for the page.

If you want a new term, use the Create new index term ... button. If you want another copy of the entire window, use New Terms Window in the File menu. The contents of the window are derived from indexterms.txt in the same directory as the open chapter.
 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Make the Index  

After terms have been chosen for each page, it is time to make the index. At the end of the IndexerEscort document, click to "Create Index" button. File index.html will be created. The GenIndex program will have created styles embedded in the document, in a separate index.css file, or both. To view the generated index use your browser to visit the generated index.html.

Formatting the Index in HTML

One way to get the index formatted is via a CSS stylesheet. The actual generated index.html file starts:

<dl style="margin:0;">
<dt class='indexermainterm'>labor force</dt>
<dd class='indexersubterm'>composition of, 67, 94,
96, 103, 131, 188n8&ndash;9, 191n10</dd>

Each main term is of class indexermainterm and each subterm is class indexersubclass. By adjusting the stylesheet, the appearance can change. The Indexer default style is:

   <style type="text/css">  	
      .indexermainterm { padding-left: 1em; text-indent: -1em; }  
      .indexersubterm { padding-left: 1em; text-indent: -1em; }
   </style>
 
Indexer logo
Indexer  Indexer 3.8 (35zb Feb 29, 2020)
by zweibieren @physpics.com
 
Appendix: File Formats  

.Indexer.ini

To remember the project directory, Indexer creates a file ".Indexer.ini" in the user's home directory. Thus after the first run, any Indexer binary will open the project directory last used. To switch to another directory, use the file:Open menu item to open a chapter file in that directory.

Chapter text files: xxxx.txt

Each section of the book needs to be in the project directory as a text file. Use UTF-8 if an encoding is necessary to report all characters (especially European alphabets and 6's / 9's quotation marks).

Each page of text must begin with a line containing  "$@" and the page number:
    $@1
          Chapter 1.
          Call me Ishmael. ...

The initial .txt file for the book can created by "Save as" from most word processors. In Microsoft Word, the option appears in the dialog box as "Plain Text (*.txt)". (If your word processor lacks this amenity, email me.) When the document contains special characters, MS Word will prompt you for an encoding. Choose "UTF-8" or "Unicode(UTF-8)." After creating the text file, break it up into sections and add page number lines with a text editor. Wordpad works well. Or emacs, if you have it.

Indexer does rudimentary formating on text:

  • Paragraphs are created for empty lines or for lines beginning with whitespace.
  • A line beginning with digit-dot-digit is a heading.
  • A line beginning "Chapter digit" is a heading.

Headings are bold and centered.

More about indexterms.txt follows.

Indexterms.txt

The lines of indexterms.txt mostly define index terms. The simplest form is
      phrase  WHITE  term
where WHITE is some combination of tabs and spaces. Since phrase and term can each have spaces, WHITE must be at least one tab or two spaces. More are okay.

The phrase is employed when Indexer scans a chapter text; it scans for instances of the phrase and where it finds one, inserts the corresponding term as an entry for the page. When inserting terms from the Index Terms window, only the term is employed.

Phrase words can contain only letters, hyphens, and apostrophes. Other characters are ignored.  The phrase can be omitted and then that term is never automatically added to a page by the initial scan. If the phrase is left out, there must be leading white space, as in
     WHITE term

For narrower categories, index terms are often subdivided with subterms. An index term with a subterm is written in the form
    phrase WHITE term SPACE COLON SPACE subterm

The corresponding index entry will appear as
    term
       subterm  xx, xx, ... (page numbers)

Besides terms, indexterms.txt may contain blank and comment lines. Comments begin with "//". One comment line can have the form
    // title: title words ...
When the index is generated in html, this book title will appear as the page title for the html page.

The first book indexed had phrases for both New York and New York Times. This works because the longest phrase found is the one used. But "York Times" would not work; the text "New York Times" would be recognized as "New York" and not as an instance of "York Times".

As terms are added, they are appended to indexterms.txt. Preceding each new term is a comment like this

// 1308343209406 end of session Fri Jun 17 16:40:09 EDT 2011
Only the long number matters. It is the internal form for the time when the entry was created.

Cross reference entries

Cross references are index entries that direct the reader to look at other index entries. They appear in the index as "see ..." and "see also ...," as in
NYT. See New York Times
race/ethnicity
    home ownership and, 25n3
    equality, struggle for (see racial equality, struggle for)
    political party polarization, 102-3 (see also polarization, racial)
    See also Eastern Europeans; Asians.
These are incorporated in indexterms.txt with lines having the form
 index term .SEE. index term
where either index term may be just a main heading, or may be a main heading, " : ", and a sub heading.  For instance
NEA : members .SEE. National Education Association (NEA) : membership
which will generate in the index as
National Education Association (NEA)
membership 23, 25, 167-71
NEA
members (see National Education Association, membership)

Neither the term before or after .SEE. can have an associated phrase. To assign a phrase, put in another line that gives the phrase and its index term.

For the indexterms.txt line "xxx .SEE. yyy", the Index Terms window will have a listing of yyy.