We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Chapter numbering in master document

asked 2020-11-02 16:32:07 +0200

llmunro gravatar image

updated 2020-11-02 17:41:37 +0200


I am formatting a master document and would like to use chapter numbering. I understand how to enable it, but am not quite sure how to use it with two different kinds of Heading 1 styles. I have Heading 1, Chapter 1 to start page numbering at 1 on the first page of the first chapter. I also use Heading 1 throughout for other chapter headings.

It looks to me like I can only enable Chapter Numbering for one paragraph style at a time, assigning Level 1 to Heading 1. How can I use chapter numbering with these two different paragraph styles?

Lisaimage description image description

edit retag flag offensive close merge delete


Please improve your question. It is not clear to me where you have Heading 1. They should mark the heading in the subdocuments to denote chapter starts. Use the Heading n styles to define the structure of your document.

Restarting page number at 1 is a matter of a manually added Insert>More Breaks>Manual Break. This is external to chapter numbering.

I don't understand where you have 2 different paragraph styles.

You TOC as shown is inconsistent: you have a "CHAPTER 1" and a "Chapter 1: CHAPTER 2". How did you style these? Have you some autogenerated numbering?

ajlittoz gravatar imageajlittoz ( 2020-11-02 17:13:38 +0200 )edit

Apologies for the lack of clarity. I've restarted page numbers in the master document, using a style I created called Heading 1, Chapter 1 style for the first heading in the subdocuments (which is CHAPTER 1). The remainder of the headings for the subdocuments use the regular Heading 1 style (the chapter title CHAPTER 2 is a Heading 1 style). I tried to enable chapter numbering in the master document by assigning Level 1 to the Heading 1 style (Tools> Chapter Numbering), but CHAPTER 1 has not been numbered because it has been formatted with Heading 1, Chapter 1 style.rather than the regular Heading 1 style.

I would like to start the chapter numbering with CHAPTER 1 (Chapter 1, but I can't see a way to do so without altering the page restart on Page 1 (created with the Heading 1, Chapter 1 style).

How can I ...(more)

llmunro gravatar imagellmunro ( 2020-11-02 17:26:45 +0200 )edit

I've added an additional image with new Chapter titles to try to clarify. I would like the INTRODUCTION (Heading 1, Chapter 1 style) to be Chapter 1. SAMPLE CHAPTER TITLE (Heading 1) is Chapter 2.

llmunro gravatar imagellmunro ( 2020-11-02 17:36:08 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-11-02 20:13:26 +0200

ajlittoz gravatar image

Simply style your chapter headings with regular Heading 1. Your first chapter heading is a "singleton": it is a standard chapter heading with an "accident" (meaning supplementary formatting details which occur only once in the document). This is one of the rare exceptions to the rule "no direct formatting". It is perfectly acceptable to "patch" this occurrence of Heading 1 with a preceding Insert>More Breaks>Manual Break to designate a page style (necessary even if it is the same as the preceding part) and a starting page number.

Thus all chapters are styled with Heading 1 and you have no more problems with Tools>Chapter Numbering.

A second example of tolerated exception is your unnumbered "INTRODUCTION" (considering "Chapter 1" is provided by the auto-insertion of Tools>Chapter Numbering). For consistency, Tools>Chapter Numbering is activated in the master document and every sub-document. Consequently you get "Chapter 1: INTRODUCTION". Put the cursor at left of "INTRO…" and press Backspace. This direct formatting removes the number for this heading only. This direct formatting survives the transfer in the master and you have the unnumbered "INTRO…" there. Next Heading 1 will be numbered "Chapter 1: XXX" as expected.

As you noticed, Tools>Chapter Numbering accepts only one paragraph style per level. The direct formatting exceptions described above allow you to tune formatting and numbering in marginal ways.

Direct formatting is not prohibited. It is recommended to avoid it whenever possible. There are rare cases where you can't do without. You need then to be fully aware of the consequences and really know what you're doing. @Mike Kaganski wrote in an answer or a comment that using direct formatting needs expert skills contrary to common belief. He's right. Direct formatting is like spices: use with moderation otherwise your dish receives an awful taste and can no longer be eaten.

In your case, if and only if your first chapter is unnumbered and is the only one of its kind (unnumbered + page number reset), this can be handled with a specific user paragraph style attached to outline level 1 (I suggest it inherits from Heading 1 so that any formatting change in Heading 1 is automatically forwarded to it). But this user style must not be cited in Tools>Chapter Numbering. Being attached to outline level 1, it will be automatically collected in the TOC.

It is up to you to choose between simplicity/consistency with direct formatting or full style customisation.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

edit flag offensive delete link more


Thanks--this is super helpful and makes sense (and I so appreciate your time!). I'm going to try this out on a master document that I have just for trying out different formatting solutions.

llmunro gravatar imagellmunro ( 2020-11-02 20:43:24 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-11-02 16:32:07 +0200

Seen: 82 times

Last updated: Nov 02 '20