summaryrefslogtreecommitdiff
path: root/support/relabel/relex2m.txt
blob: 9eebc6288723c9200db941dc585d70e2b90df20b (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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
RelabelExample2 file for Macintosh.

Chapter in. Introduction.

Section le. Levels.

Definition levels. This file is an
example file for using RELABEL in 2-level
mode. The hierarchy of text units is
section and subsection.
Chapter labels are not part of any
other identifier but when a new
chapter starts RELABEL resets to 1 all
all counts except the section count
and the count for "at large" items.
Subsection numbers are reset to 1 in
each new section and all item numbers
except "at large" are reset to 1 in
each subsection.


Section di. Directions.

Def def. 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. View the
original and relabeled files side by
side. Close this file before you
start.

Subsection howtorefer. Reference format

In 2-level mode all references to
items in other text units must
contain a section identitier and, if
the item is in a subsection, the
subsection identifier must also be
supplied. The section identifier must
be given even if it you are referring
to an item  in another sucsection of
the current section. You have the
option of omitting ALL unit
identifiers if you are referring to a
label in the same text unit, i.e., if
no section or subsection starts
between the label and the reference.
  Exception: items of the type "at
large" are not considered part of any
particular text unit and references
to them should NOT contain text unit
identifiers.


Section su. 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 before and after relabeling.
This is because they both started out
with the label  ho. That is OK as
long as they are not in the same text
unit. If you want to move Horst from
Ithaca to Hopewell, run RELABEL before
moving Horst, and ask for section
numbers etc. to be retained.  Then
you can move Horst to Hopewell. This
time Horst and Hope will have 
different labels but the label of
Horst will reflect his former rather
than his present location. To correct
this, run RELABEL again. You can ask
for abbreviated or full labels, and
this time Horst and Hope will have
distinct labels.

Forward ref. to me.ho.ho Hope of Hopewell
Forward ref. to to.it.ho Horst of Ithaca

CHAPTER ca. State of California

Section ca. Campers in California

Forward ref. to At large alt Alton
At large al Albert
At large Al Allyson
Fig.ca Carl
Fig.al Alfred
Fig.ad. Adele Smith
Fig. adelejones Adele Jones
forw.Ref. to or.be Betty
Ref. to Fig. al Alfred
Forward Ref. to nonexistent label
ne Nobody
Forward ref. to to.it.ho Horst
of Ithaca

Section or Orange County


Fig.bo Bob
Fig.be Betty
Ref. to adelejones Adele Jones
Ref. to or.be Betty
Ref. to be Betty
Ref. to Fig. al Alfred

SubSection sa. Santa Ana

Fig.ch Charles
Fig.ca Cathy
Forwardref to me.pr.da Dan

Section mo Monterey County

Subsection loc Lockwood

ed Edward

CHAPTER nj. State of New Jersey

Section cam. Campers in New Jersey

  Note that we can not use ca as
identifier for this section because
we used ca as identifier for
the section Camping in California.
This file is intended for not resetting
the section numbers in each new
chapter. When this option is used,
chapter identifiers are used only
in chapter labels and the same
section label can not be used in
different chapters. When the reset
option is used, a chapter identifier
are part of the full label of
every item and RELABEL will not be
confused if the same identifier
is used for sections in different
chapters, even if you do not type
the full label but only the
abbreviated form, i.e., the last item.
Note that  ca  is used three times, as
a chapter identifier, a section
identifier and an item identifier.

Fig.el Elaine

Section me. Mercer County

Subsection pr. Princeton

Fig.fr Frank, born in Princeton
da Dan

Subsection ho. Village of Hopewell

ho Hope of Hopewell
Fig.dor Doris
Fig.er Erwin

CHAPTER ny State of New York

Section to Tompkins County

Subsection it City of Ithaca

ho Horst of Ithaca
ForwardRef. to we.ea.fr Frank, born in
Eastchester.

Section we Westchester County

Subsection ea Eastchester (a town in Westchester)

alt Alton
Ref. to at large Al Allyson
Fig. fr Frank, born in Eastchester
Ref. to me.ho.dor Doris
Ref. to nj New Jersey State
Ref. to me.pr Princeton, town of
Ref. to fr Frank, born in Eastchester
Ref. to me.pr.fr Frank, born in Princeton
   End of Pseudobook