diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/relabel/relex3i.txt |
Initial commit
Diffstat (limited to 'support/relabel/relex3i.txt')
-rw-r--r-- | support/relabel/relex3i.txt | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/support/relabel/relex3i.txt b/support/relabel/relex3i.txt new file mode 100644 index 0000000000..132b37fc27 --- /dev/null +++ b/support/relabel/relex3i.txt @@ -0,0 +1,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 |