summaryrefslogtreecommitdiff
path: root/support/relabel/relex2m.txt
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/relabel/relex2m.txt
Initial commit
Diffstat (limited to 'support/relabel/relex2m.txt')
-rw-r--r--support/relabel/relex2m.txt191
1 files changed, 191 insertions, 0 deletions
diff --git a/support/relabel/relex2m.txt b/support/relabel/relex2m.txt
new file mode 100644
index 0000000000..9eebc62887
--- /dev/null
+++ b/support/relabel/relex2m.txt
@@ -0,0 +1,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