Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Multilevel numbering with mixed number formats

Return to Member Forum

  • Author
    Posts
    • #14405894
      Margaret Hunter
      Participant

      I know how to make a ‘normal’ multilevel (outline) list like this:

      1. Level 1
      1.1 Level 2
      1.2 Level 2

      2. Level 1
      2.1 Level 2
      2.2 Level 2

      But my client (it’s their design!) has the level 1 headings set using the numbering format 01, 02, 03 etc. I don’t want those leading zeros to appear in level 2 as 01.1, 01.2 etc. Can anyone think of a good way to do that please? I know I can do a fudge by creating the zero in a separate text frame next to the level 1 heading, so not including it in the numbering format, but that’s not great. And of course if I have more than 9 sections then I’m not going to need that zero at all.

    • #14405895
      Margaret Hunter
      Participant

      I’ve thought of another fudge that works, but still interested to hear whether anyone has a better solution.

      I’ve set the level 1 numbering to 1,2,3,4 format but applied a character style to the numbers that’s a tiny size and no colour. And for the visible section number I’ve created a separate unthreaded frame with just the 01,02,03 etc numbers so that they appear on the page but are not part of the multilevel list.

    • #14405897
      Dhafir Photo
      Participant

      Use 2 paragraph style, the first one is for Level 1 with default Numbering settings. In the second para. style use these settings:

      Bullets and Numbering Options:
      Level: 2
      Numbering Style:
      Number: ^1.^#.^t

    • #14405898
      Margaret Hunter
      Participant

      Thanks for your reply, Dhafir. Perhaps I have misunderstood your answer but I can’t see how that solves it. I need to keep the level 1 headings with the 01,02,03 format. It’s level 2 I want to change to 1.1, 1.2, 1.3 (ie level 1 but without the zero, then level 2 number).

    • #14405899
      David Blatner
      Keymaster

      That is a VERY weird design choice. (Feel free to tell your client I think so.) :-)

      Yeah, I think you may have to do a “manually insert zero” kind of hack. If you had hundreds of these, it might be worth getting someone to write a script to do it.

      The following article will likely not help, but I can’t help posting it just because it discusses the whole “zero” thing in a different way:

      Multilevel Numbering With a Zero (like 2.0.1)

    • #14405900
      Margaret Hunter
      Participant

      Thanks, David. I think I’ve already read that, but I’ll take another look.

      I agree about the design (I didn’t set up this template), and I’m going to try to persuade my client to ditch those leading zeros. But in the meantime my hack with the hidden numbers is working. Just haven’t checked yet what it will do when I try to create an accessible PDF…

      This project is stretching my InDesign brain in other ways too. We have references (bibliography) in as numbered endnotes, but some refs need to be cited more than once. In the past they resorted to static notes, but we now want them to be clickable in the PDF. So far I have a combo of endnotes and cross-references for the duplicates. But it’s all fun working this out.

    • #14405943

      Hi,

      In fact, as usual with InDesign, it’s so simplistic:

      3 Para Styles [of course, everybody will understand that the “Level 1B” para style is” invisible”!] + 3 simple Regex [run 0 to reset, then 1 and 2!]

      (^/) The Jedi

      https://snipboard.io/1Ceotd.jpg
      https://snipboard.io/VTHXho.jpg
      https://snipboard.io/dvjzJV.jpg

      https://snipboard.io/9A1Sok.jpg
      https://snipboard.io/CGQ2sY.jpg
      https://snipboard.io/qoCrcK.jpg

    • #14405977
      Nick B
      Participant

      Hi Margaret

      Another approach you might try uses chapter numbers but this only works if you are using an indb book and chapters are separate document files. In that case for your list level 1 you can use a numbered list with 01, 02 style and 1,2,3 style for list level 2, but for your list level 2 instead of ^1.^# it would be ^H.^#.

      You can obviously only have one level 1 heading in each chapter file so that level 1 heading no.=chapter no., but this allows for more than 10 chapters, and also lets you generate a table of contents with the 01 / 1.01 format automatically.

      Nick

    • #14405988
      Margaret Hunter
      Participant

      Thanks, Michel. I will try when I have time to understand your solution.
      Nick, this isn’t using books. It’s for short single document reports.

Viewing 8 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads