[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

606.0. "changing chapter numbering" by CYCLPS::PANGAKIS () Tue Jul 07 1987 14:32

    I need to manipulate the CHAPTER tag (or maybe something else)
    so that I can change the table of contents below left into
    something like the below right:
    
    CHAPTER 1   1.3.7 TRANSACTIONS ->  SCREEN 1.3.7   TRANSACTIONS
                                     
    Special considerations:
    
    The page numbers should reflect this numbering, for example,
    page 1 would be: 1.3.7-1
                           
    The headings should be SCREEN instead of CHAPTER in the table of
    contents.
    
    Any <HEAD1> (etc.) tags should reflect the numbering sequence
    (preceeded by 1.3.7).
T.RTitleUserPersonal
Name
DateLines
606.1Can't type my own name; it's Rose, not RoeCOOKIE::JOHNSTONTue Jul 07 1987 15:3811
Just glancing at the MILSPEC sample, looks like that would get you the 
non-chapter headings you want; don't know about the page numbers.

Another way that might work is to build a profile, where your front matter is
followed by <include> file tags.

Just guessing, but you might have some time to experiment while you are 
waiting on an answer from someone else who might be more help.


Roe
606.2extremely complicatedCLOSET::ANKLAMTue Jul 07 1987 15:4922
    
    This is actually very tricky to do. You would need to change all
    the TeX macro definitions for the various heading levels to capture
    and save the current number. Then you would need to change the
    definition of the header or footer line where the page number is
    written out to test for this number and to print it. (You would
    also have to decide whether the page number should have the section
    number from the first section on the page or the last section on
    the page.) You would also have to modify the table of contents
    output routines to put the section number in a different place.
    I don't think the problem ends there. As I said, it would be tricky!
    
    I have it on my list to look at a way to put the section numbers
    in the index (rather than than page numbers), and some of that work
    may have useful fall-out for this type of problem. Not in the near
    future, however.
    
    patti                                               
    
    
    
    
606.3Possibly not TOO badBUNSUP::LITTLETodd Little NJCD SWS 323-4475Thu Jul 09 1987 01:2014
    Can you elaborate a little more?  Is the 1.3.7 in your example
    something that is fixed and entered in the .SDML source file or
    is it generated based upon some nesting level of your documents
    structure?  If its the former, I don't think the change is all the
    tricky, is it Patti?  I think you'd only need to change the footer
    definitions (although not necessarily), and the definition for the
    number boxes in the header tags.  Are the other tags whose numbering
    you also want to affect besides <HEADn> such as <FIGURE> or <TABLE>?
    
    -tl
    
    PS  It may actually be trickier than I make it out to be, but its
        late and I'd have to get a better feel for what you're trying
        to do.