• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

Mini TOC with multiple tags...

Explorer ,
Jul 26, 2022 Jul 26, 2022

Copy link to clipboard

Copied

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#]?

Views

52

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2022 Jul 26, 2022

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2022 Jul 26, 2022

Copy link to clipboard

Copied


@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

 

minitoc2.gif

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

LATEST

Thanks, I'll try these out!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines