.LM .if not HLP .HL 1 NUMBERING .endif hlp .helpc NUMBER .p These commands set numbers for various items. The number may be either a decimal number or a string of letters. If n is a letter A it corresponds to 1, B to 2, Z to 26, AA to 27, AB to 28, and so on. If the number is preceded by a plus sign "+" then then new value is the old value plus the specified increment. If the number is omitted it is assumed to be 1. No number may exceed 3999 or EWU. DSR allows larger numbers, but incorrectly handles Roman numerals larger than 3999. .ifnot small .if hlp .if rsx .i5.dhy;ADDITIONAL HELP AVAILABLE: .nj.ts +10,+10,+10,+10,+10,+10 APPENDIX CHAPTER LEVEL ITEM LIST PAGE SUBPAGE .j.ehy .endif rsx .endif hlp .helpd APPENDIX .br .endif small .q _.NUMBER APPENDIX [+-n] .ifnot small .p.x NUMBER>APPENDIX supplies a number or letter to be used as the letter for a subsequent APPENDIX command. See NUMBER CHAPTER. .helpd CHAPTER .endif small .q _.NUMBER CHAPTER [+-n] .qq _.NMCH [+-n] .ifnot small .p.x NUMBER>CHAPTER supplies a number (n) to be used in a subsequent CHAPTER command. NUMBER CHAPTER would be used when a chapter of a document occupies a source file of its own. In such a case, NUMBER CHAPTER would be the first command of the source file. n may also be a letter. This would also be used if you wish to skip a chapter for insertion later on. To skip chapters specify +n. If the current chapter is 10 and you specify _.NUMBER CHAPTER +2 the next chapter will be 12. This command also enables chapter numbering. When chapter numbering is in effect each _.CHAPTER or _.APPENDIX command resets the page number to 1 and the chapter or appendix number are printed with the page number as part of the page header. This is the normal RUNOFF mode. .if hlp .if rsx .i5;ADDITIONAL HELP AVAILABLE: NO .endif rsx .endif hlp .helpe NO .q _.NO NUMBER CHAPTER .p.x NO>NUMBER CHAPTER disables chapter numbering. When it is disabled, the page numbers are not reset with each chapter or appendix, and the chapter/appendix number is not printed as part of the header. This command must be issued before the first _.CHAPTER or _.APPENDIX command if you wish to disable chapter-page numbering. In addition it must be reissued after each _.NUMBER CHAPTER if you intend to control chapter numbering but wish running page numbers. You may permanently disable chapter numbering with _.DISABLE NUMBERING CHAPTER. .helpd LEVEL .endif small .q _.NUMBER LEVEL [+-n1],[+-n2],[+-n3],[+-n4],[+-n5],[+-n6] .qq _.NMLV [+-n1],[+-n2],[+-n3],[+-n4],[+-n5],[+-n6] .ifnot small .p.x NUMBER>LEVEL sets the next header to the number specified. The next time _.HEADER LEVEL is used the number specified will be the header number. If the next _.HEADER LEVEL command specifies a level different from the one implied in the _.NUMBER LEVEL command the result will be undefined. If n1 is omitted then the next level will be 1.0. For example the following command sequence is specified: .s.i10; _.NUMBER HEADER 5,4,3,2 _.HEADER LEVEL .s The result of this would be: .s.i10; 5.4.3.2 .br;If the current level is 1.2.3.4 and _.NUMBER LEVELS +1,+1,-1,-1 is specified, then the next section header will be 2.3.2.3. .helpd ITEM .endif small .q _.NUMBER ITEM /name/ [+-n1] .qq _.NMIT /name/ [+-n1] .ifnot small .p.x NUMBER>ITEM This sets item numbers. The item must have been defined by _.DEFINE ITEM. n is the new number for it. .endif small .helpd LIST .q _.NUMBER LIST [+-n] .qq _.NMLS [+-n] .ifnot small .p.x NUMBER>LIST sets the next number in the list to n. If the current list element is numbered 10 and you specify _.NUMBER LIST +2 the the next element will be 12. .helpd PAGE .endif small .q _.NUMBER [PAGE] [+-n] .qq _.NMPG [+-N] .qn _.NO NUMBER .qn _.NNM .ifnot small .x NO>NUMBER .p.x NUMBER>PAGE These commands control page numbering. If you wish to pick the next page then specify n as the page number. If you wish to skip several pages for inserting diagrams, artwork or any other items which require a full pages, you may do so by issuing the following commands: .i5; _.NUMBER PAGE +n _.PAGE The next page number will be the current page number +n. If you issue _.NUMBER PAGE 10 then the next page will be 10. If the current page is 10 and you specify _.NUMBER PAGE +2 the next page will be 12. If the current page is 10 and you specify _.NUMBER PAGE -1, the next page will be 9. _.NUMBER PAGE +1 essentially is redundant. The page number is normally right justified with respect to the permanent right margin. See the _.PAGE SIZE command. .p _.NO NUMBER PAGE stops page numbering. However, pages continue to be counted, so that the normal page number can appear if page numbering is resumed with the _.NUMBER command. If you wish to disable page numbering so that the _.NUMBER command will not enable it you should use _.DISABLE NUMBERING. .helpd SUBPAGE .endif small .q _.NUMBER SUBPAGE [+-n] .qq _.NMSPG [+-n] .ifnot small .p.x NUMBER>SUBPAGE starts the next page as subpage number n or letter n where n is the subpage letter. .endif small