Definition �levels. This file is in-
tended for using RELABEL in 3-level
mode. The hierarchy of text units is
chapter, section and subsection.
Section numbers are reset to 1 in each
new chapter except the first. Sub-
section numbers are reset to 1 in
each new section and all item numbers
are reset to 1 in each subsection.
This file is intended to show how the
program relabel works and to help you
experiment with it. The "chapters",
"sections" etc. all have memnonic
labels, which the program RELABEL
replaces by numbers in the output file.
Run the program using this file as
input and compare the output file with
this file. Close this file before you
start.
After running RELABEL, open this file
and the relabeled version in
windows side by side, and compare the
two files. These lines are short to
facilitate this.
WARNING �WARNING. RELABEL can deal with
two kinds of files, and asks you which
kind you have. If we restart the
section numbers at the beginning of
each chapter then a full label of all
items must contain the chapter label,
although in references to items in the
current text unit you may omit ALL text
unit identifiers. If we do not
restart section numbers in each chapter
then RELABEL disregards chapter
identifiers except in chapter labels.
If you include a chapter identifier in a
nonchapter label RELABEL will get
confused. Conversely, if section
numbers are to start from 1 in each
chapter, all references to other text
units must contain a chapter identitier.
Section �sugg. Suggestions
Note that if you just move Horst
of Ithaca to Hopewell, he will be
married label-wise to Hope of Hopewell
insofar as they will share the same
label. This is because they both
started out with the label �ho.
That is OK as long as they are not
in the same town.
If you run RELABEL before
moving Horst, and ask for chapter
numbers etc. not to be omitted,
then you can move Horst to Hopewell
and RELABEL again, and this time
Horst and Hope will have distinct
labels.
PROBLEM �WARNING. IF YOU HAVE LABELS IN
A FILE WHICH ARE "AT LARGE" IN
CHAPTERS, I.E. NOT IN A SECTION WITHIN
THE CHAPTER. AND YOU SELECT THE "DO NOT
RESET SECTION NUMBERS IN EACH CHAPTER"
OPTION THEN CHAPTER NUMBERS WILL BE
OMITTED FROM ALL LABELS, EXCEPT CHAPTER
LABELS, EVEN INTERNALLY AND THE RELABEL
PROGRAM WILL NOT BE ABLE TO FIGURE OUT
WHAT THE LABELS LOOSE IN THE CHAPTER
SHOULD BE. RELABEL EXAMPLE 2 IS SUCH A
FILE.
CHAPTER �ca. State of California
Campers in California:
�ca Cathy, at large in the US
Fig.�al Alfred
Fig.�ad. Adele Smith
Fig. �adelejones Adele Jones
forw.Ref. to ��ca.or.be Betty
Ref. to Fig. �al Alfred
Forward ref. to ��ny.to.it.ho Horst of Ithaca.
Forward ref. to �Ca Calvin, at large in Ithaca.
Section �or. Orange County
Fig.�bo Bob
Fig.�be Betty
Ref. to �ca.adelejones Adele Jones
Ref. to �ca.or.be Betty
Ref. to �be Betty
Ref. to Fig. �ca.al Alfred
SubSection �sa. Town of Santa Ana
Fig.�ch Charles
Fig.�ca Cathy
Forwardref to Fig.��nj.el Elaine
Forwardref to ��nj.me.pr.da Dan
Section�mo. Monterey County
Subsection �loc. Town of Lockwood
�ed Edward
CHAPTER �nj State of New Jersey.
Fig.�el Elaine
Section �me Mercer County
Subsection �pr Town of Princeton
Fig.�fr Frank, born in Princeton
�da Dan
Subsection �ho Town of Hopewell
�ho Hope of Hopewell
Fig.�dor Doris
Fig.�er Erwin
�al Alvin, at large
CHAPTER �ny State of New York
Section �to Tompkins County
Subsection �it Town of Ithaca
�Ca Calvin, at large
Ref. to �al Alvin, at large in Hopewell
�ho Horst of Ithaca
Forward ref. to ��ny.we.ea.fr Frank,
born in Eastchester
Section �we Westchester County
Subsection �ea Town of Eastchester
Fig. �fr Frank of Eastchester
Ref. to �nj.me.ho.dor Doris
Ref. to �nj New Jersey State
Ref. to �nj.me.pr Princeton, town of
Ref. to �fr Frank of Eastchester
Ref. to �nj.me.pr.fr Frank, born in Princeton
End of Pseudobook