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

chapter numbering

Enthusiast ,
Nov 18, 2023 Nov 18, 2023

Copy link to clipboard

Copied

Hello,

In a single FM document, I have tried to make a chapter numbering, but the chapter number is always at "1" for all chapters. Why ?

 

screenshot0017.jpg

TOPICS
Getting started

Views

416

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

correct answers 2 Correct answers

Community Expert , Nov 18, 2023 Nov 18, 2023

Hi,

If this is a single file, then this is the correct behaviour.

The chapnum variable changes, when you start another file of a book.

When you have only a single file, the chapnum variable will not change.

You can use the other counters n+, etc.

They work equally well.

Best regards, Winfried

Votes

Translate

Translate
Community Expert , Nov 19, 2023 Nov 19, 2023

Hi Pierre!

 

Try changing the MTOC buiilding blocks to:
<$paranum> <$paratext">tab<$pagenum>

 

Then right click the Mini TOC on page 1 to update.

 

~Barb

Votes

Translate

Translate
Community Expert ,
Nov 18, 2023 Nov 18, 2023

Copy link to clipboard

Copied

Hi,

If this is a single file, then this is the correct behaviour.

The chapnum variable changes, when you start another file of a book.

When you have only a single file, the chapnum variable will not change.

You can use the other counters n+, etc.

They work equally well.

Best regards, Winfried

Votes

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
Enthusiast ,
Nov 18, 2023 Nov 18, 2023

Copy link to clipboard

Copied

Hi Winfried,

For my "chapitre tag", I have changed the "chapnum[+]" to "n+", and it works very well for a single FM document.

 

But if I try to make a mini TOC on the same page of the single document, the mini TOC (see red line) does not displays the Chapter number tag ("Chapitre tag") I have created. It is strange because by choosing the mini TOC I had selected this "chapitre tag". So it should display "chapitre 1", "chapitre 2", but it is not the case. Why ?

 

screenshot0019.jpg

And in the Reference page I see that I have only "paratext" :

 

screenshot0020.jpg

Votes

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 ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

Hi Pierre!

 

Try changing the MTOC buiilding blocks to:
<$paranum> <$paratext">tab<$pagenum>

 

Then right click the Mini TOC on page 1 to update.

 

~Barb

Votes

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
Enthusiast ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

Hi Barb,

I have entered "paranum" in reference page and it works very well. Thank you.

Here is the workflow I have used :

1) I write the titles of all my chapters :

 

screenshot0002.jpg

 

2) Then I select the chapters titles and I create a tag ("chapitre tag") like this : "Chapitre <n+>" :

So, it put automatically "chapitre 1" and "chapitre 2" before my chapter titles.

 

screenshot0003.jpg

 

3) Then I create a miniTOC by selecting the tag I have created ("chapitre tag") :

 

screenshot0005.jpg

 

4) Here is the result by adding "paranum" in the reference page :

I can notice in paragraph catalog that FM has created a tag "chapitre tag MTOC".

 

screenshot0008.jpg

Do you think it is a good workflow ?

 

Votes

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 ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

Yes, Pierre this is the correct workflow, and yes, Fm creates the Chapitre tag MTOC for you.

 

The next step is to add the formatting to Chapitre tag MTOC (easiest on the reference page).Set the font, and set the right-align tab stop (likely with leader dots) at the right margin.

 

~Barb

Votes

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
Enthusiast ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

Here is the result with the formatting :

1) in reference page :

 

screenshot0009.jpg

2) And in the body page :

 

screenshot0010.jpg

Votes

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
Enthusiast ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

When the miniTOC is created, is it possible to add new paragraph tag to the MiniTOC, or do I need to delete the created miniTOC and create a new miniTOC with the added paragraph tags ?

Votes

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 ,
Nov 19, 2023 Nov 19, 2023

Copy link to clipboard

Copied

Hi Pierre:

 

You can delete the original mini TOC and create a new one.

 

However, you aren't starting over, because it doesn't delete the original paragraph style (Chapitre tag MTOC) or the MTOC reference page that you already set up—it will just add a new line to the reference page. You will need it format the new one, and then go back to page 1 and right click to update to include the new info along with what you already have.

 

~Barb

Votes

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
Enthusiast ,
Nov 20, 2023 Nov 20, 2023

Copy link to clipboard

Copied

Hi Barb,

I have tried to work on numbering properties.

Here is my workflow :

 

1) the "chapitre tag" :

 

screenshot0008.jpg

 

2) the "section tag" :

 

screenshot0009.jpg

Do you think this workflow and the settings are correct about the numbering properties ?

And I have deleted my precedent miniTOC. So in the new miniTOC I have two tags : "chapitre tag" and "section tag" :

 

screenshot0012.jpg

Votes

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 ,
Nov 20, 2023 Nov 20, 2023

Copy link to clipboard

Copied

LATEST

Hi Pierre:

 

Yes, all looks good. I might minimize the spacing between the para numbers and the text, but that's it! 🙂

 

~Barb

Votes

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