Skip to main content
Known Participant
October 27, 2008
Question

How do I modify the TOC to show 0100 00 as chapter number?

  • October 27, 2008
  • 7 replies
  • 777 views
Hello,

I have a book that I am working on which uses a certain numbering system, and I am trying to find a way to modify the reference page of the generated TOC, so that it will show:

Introduction............................0100 00
Blah blah blah..........................0204 00
Blah blah blah blah.....................0309 01

The numbering may jump around, therefore I cannot used a standard 100 00 -900 00 autonumbering scheme.

Based on this, would it make sense to create a hidden text style (in white) and then somehow get that listed out in the reference page of the generated TOC? If yes, then how do I go about making that happen?

Right now my TOC will only list out "Introduction" which is a Heading 1 style in my book.

Any ideas on how to make this happen, is very much appreciated.

Regards,

Jim
    This topic has been closed for replies.

    7 replies

    Known Participant
    November 18, 2008
    Hello Alice,

    WP is just text used to represent a repeating term. In this case, WP stands for Work Package. This is just another way of saying chapter, and is a part of the specification mentioned above.

    Jim
    Known Participant
    November 18, 2008
    Hi, Jim,

    Thanks for your explanation. BTW, what is "WP"? Did you type it yourself?
    Known Participant
    November 17, 2008
    Hello all,

    I apologize for not replying earlier (at least to say thanks).

    Okay, here is what I did to get the space to go in between the 0100 and 00:

    1. From the book level, highlight a chapter and then select Format>Document>Numbering.
    2. Next, at the Chapter #: field, enter in the designated chapter number (e.g. 0100 00).
    3. In the Format: field choose Text from the drop down menu.
    4. Click Set.
    5. Repeat this process until all the chapter files have been set with this type of numbering scheme.

    If you are working with a MIL-STD 40051 spec and need to have the work packages, figures and titles contained in the TOC only (versus in separate TOC, LOF and LOT) then complete the following:

    1. From the Book Level of your technical manual, generate a new TOC.
    2. After the TOC has been generated, go to the Reference Page of the the TOC and scroll down to the last page.
    3. Enter in values similar to these (using tabs also from your Paragraph Designer - e.g. 6.0 right justified with leader dots):

    openObjectId <$relfilename>:<$ObjectType><$ObjectId>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>

    <$paratext>...............................................WP<$chapnum>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>
    <$paranum>......<$paratext>.......................<$chapnum><$pagenum>

    Note the chapter number 0100 00 (on the Master Page) is contained on the same line in the page header with the book title, however the chapter number is a variable. Also, you can have the PDF bookmarks automatically generate by creating a hidden (white) text style with the 0100 00 numbering placed in front of all Heading 1 styles (on the Body Page).

    I hope this is helpful to anyone working with this specification.

    Thanks,

    Jim
    Known Participant
    November 17, 2008
    Hi Jim,

    You said that the numeric doesnt accept the space in "0100 00", then how did you get the desired result finally?
    Participating Frequently
    October 28, 2008
    Hi, Jim:

    You can set numbering properties (and others) for multiple selected files in a book window in one operation.

    It's a good idea to do this with all files open, so you can back out with File > Revert to Saved if necessary.

    The book window offers a few operations for all files in the book: From the book window, open the File menu with Shift+File to see them.

    HTH

    Regards,

    Peter Gold
    KnowHow ProServices
    Known Participant
    October 28, 2008
    Hello Arnis,

    I finally got it to work.

    The numbers 0100 00, 0204 00, 0309 01 are listed out in my table of contents to the right side of the chapter title (H1 style).

    Here is what I did (for those of you who want to know how to make this work) using one possible approach in FrameMaker 8:

    1. Open a book file and highlight the first chapter.
    2. Select Format>Document>Numbering from the FrameMaker drop down menu.
    3. From the Numbering Properties popup window, select the Chapter tab.
    4. Select the Chapter# radio button and enter the format for your first chapter in the Chapter# window (e.g. 0100 00).
    5. In the Format window drop down menu, select "Text" as your format.

    Note:

    You can use "Numeric (14)" as your format, however, I have found that numeric will not accept the space in "0100 00".

    5. Click the "Set" button.
    6. Highlight the next chapter and repeat steps 2-5 with the rest of the files in the book.
    7. Save the Book file.
    8. From the book level of FrameMaker 8, select Add>Table of Contents.
    9. At the Set Up Table of Contents popup window, include the desired styles (e.g. Heading 1 and Chapter Number).
    10. Click the Add button.
    11. At the Update Book popup window, click the Update button.
    12. After the TOC has been created, open it and go to the last page of the Reference page.
    13. At the <$paratext><$pagenum> section, change <$pagenum> to <$chapnum>. Also, change any other <$pagenum> references (as needed) to <$chapnum>.
    14. Save and close the TOC file.
    15. From the book level, choose Edit>Update Book.
    16. Re-open the TOC and it should now appear with 0100 00 numbering.

    Note:

    To add tabs and leader dots, you will need to go back to the reference page of the TOC, LOT and LOF and put the cursor between the <$paratext><$pagenum> code and then put in tabs, using the Paragraph designer.

    I hope this is helpful to anyone trying to generate this type of numbering in a book.

    Regards,

    Jim
    Arnis Gubins
    Inspiring
    October 27, 2008
    Jim,

    Where are those numbers being generated? You could consider using the
    paratag autonumber to add these to the end of the heading paragraphs
    and use a Character format that makes them invisible. Then in the TOC
    use the <$paranum> building block on your Reference to pick these up.