Skip to main content
Inspiring
Jul 26, 2022 4:05 PM UTC
Question

Mini TOC with multiple tags...

I know how to create a basic mini-TOC, but I'm adding two styles for the TOC to grab (Chapter Number and Chapter Name) and whent he mini TOC is generated the TOC has the Chapter Number [page#] and Chapter Name [page#]. How can I get it to make the page number just at the end of the chapter number and name? (Chapter Number Chapter Name [page#]?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Inspiring
    Jul 28, 2022 1:05 PM UTC

    Thanks, I'll try these out!

    Translate
    Barb Binder
    Community Expert
    Community Expert
    Jul 27, 2022 12:41 AM UTC

    @TeamMancomm wrote:

    How can I get it to make the page number just at the end of the chapter number and name? (Chapter Number Chapter Name [page#]?


     

    Is this what you are asking for? If so add Chapter <$chapnum>: in front of the <$paratext> building block and add a tab in front of the <$pagenum> building block. Set the tab stop, update the style and update the mini-TOC.

     

    ~Barb

     

    Translate
    ~Barb at Rocky Mountain Training
    K.Daube
    Community Expert
    Community Expert
    Jul 26, 2022 6:25 PM UTC

    Hi Team Mancom

    On the MTOC (name form the tops of my head) referencepage youhave for each para format to be considered for the MiniTOC  paragraph, with the template for the lines in the MiniTOC.

    gotoObjectId :<$ObjectType> <$ObjectId>\
                <$paratext> .......................... <$pagenum>
          <$paratext> ................................ <$pagenum>
          <$paratext> ................................ <$pagenum>
    <$paratext> ...................................... <$pagenum>

    Here you see the most used 'tags' in the standard arrangement. See my compendium on page 394 

    You may modify the 'template' similar as you do for the standard TOC.

    Translate