summaryrefslogtreecommitdiff
path: root/support/relabel/relex3i.txt
blob: 132b37fc2742f7716a62e14c36afb871ac41b1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
RELABEL EXAMPLE3 FILE FOR MS-DOS COMPUTERS.

Chapter ãintro. Introduction.

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