4 Replies Latest reply on Aug 26, 2014 4:57 AM by Bob Niland (Error 7103)

    Autonumbering with Headings

    Luxxie Level 1



      I'm trying to auto number some of my headings. Ideally, I would like Heading 1 to have no auto numbering, Heading 2 to go by 1.1, 1.2, 2.1, 2.2, etc, and Heading 3 to go by 1.1.1, 1.1.2, 2.1.1, 2.1.2, etc.


      Is there any way to achieve this without having to auto number Heading 1?



        • 1. Re: Autonumbering with Headings
          Arnis Gubins Adobe Community Professional & MVP

          Is the first digit of the autonumber supposed to reflect the chapter number? If so, then just use the <$chapnum> building block to represent the first digit in your autonumber series for each subsequent heading level. Then you can use the matrix-method to setup your Heading autonumbers for Heading2 on down.

          • 2. Re: Autonumbering with Headings
            Luxxie Level 1

            My problem is that in the front matter of my document, I list all the sections as cross references. For example, Section 1: Introduction, Section 2: Getting Started.


            I originally set up Heading 1 to be auto numbered like this Section <n+>:, but when I insert the cross-reference, only the text that comes after Section 1: is inserted. And since the cross-reference is in a blue to distinguish as a link, it looks a little funny since I've manually typed in Section 1. I don't want to change the colour of the text Section 1: since they won't be able to click on it anyways.


            I've tried your suggestion with the building block, but it does not pick up my Section 2, those headings continue to number from section 1.

            • 3. Re: Autonumbering with Headings
              FieryPantone Level 3

              Have you looked at the building-blocks you're using in the cross-reference? in particular, <$paranum> – this should pull in the auto-numbering slug from the numbered heading. And fine-tuning the building-blocks in your numbering definitions (coupled with adjusting the numbering properties for the chapter files, which is best done from the book) should get your level two numbering to start again wherever required. Post again if you have questions.

              • 4. Re: Autonumbering with Headings
                Bob Niland (Error 7103) Level 4

                If what you want could be described as "I want H1 to have an autonumber, but not look like it has an AN", then see the hacks suggested at:
                Generated list with section numbers