Skip to main content
Inspiring
July 26, 2022
Question

Mini TOC with multiple tags...

  • July 26, 2022
  • 3 replies
  • 157 views

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 has been closed for replies.

    3 replies

    Inspiring
    July 28, 2022

    Thanks, I'll try these out!

    Barb Binder
    Community Expert
    Community Expert
    July 27, 2022

    @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

     

    ~Barb at Rocky Mountain Training
    K.Daube
    Community Expert
    Community Expert
    July 26, 2022

    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.