It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can we start numbering at 0 instead of 1

We need the output numbering to start at 0. The reason is that our manuals have to correspond to global compliance issues for a certain industry. Their manuals start with Chapter 0 "General". 

So, our first Page after the Title Page is called "General". In the current output:

1 General

Is there a way we can modify / set variables so as to achieve the following:

0 General

Help greatly appreciated.

2 answers

0 votes

Hi John,

You can achieve this using the Confluence Source Editor.

This plugin allows you to edit the source html of a page which would allow you to add a start index to the <ol> tag. For example:

<ol start="0">
<li>Number 0</li>
<li>Number 1</li>
<li>Number 2</li>

Hope this helps.



Hi Maarten - thank you for the quick reply. The issue, to be more specific is the following:

We are using Scroll .pdf Exporter (Version 4 and above). The exporter assigns Section numbering according to the Page Titles and Page Trees  (I am not talking about lists or headings within a page).

So the following Page Titles:

Page Title "General"

Page Title "Organization"

Page Title "Personnel"

would be numbered as follows (ny Scroll .pdf Exporter) during the .pdf export:

1 General

2 Organization

3 Personnel

However, I need to be able to start at 0. So:

0 General

1 Organization

2 Personnel

Can you help with this?

Hi John,

with Scroll PDF Exporter 4.x, it's currently not yet possible to have further control on the heading numbering.

We're tracking this in an existing feature request (see, and will work on this in an upcoming version.

Please sign up at!default.jspa to watch, comment on or vote for this issue. We'll then send a notification for every status update.

Besides starting the numbering with a certain number, would you need any additional functionality here? If so, please feel free to comment the issue, or leave a comment in this thread here.

Looking forward to your feedback.


Hi Nils thank you for your feedback. Will have to roll back to 3.x.

For technical/legal documentation purpses, there needs to be a little more control of TOC entries and headings. E.g.

  • Doc Title
  • Preamble
  • List of Changes
  • 0 General
  • 1 Personnel
  • 2 Facilities
  • Appendix

At the moment it is too digital - Page titles are numbered ... or not.

For the work I am in, it is too limiting at the moment - but would open up a bunch of possibilities if enabled.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Marketplace Spotlight: November Continuous Integrations

                                                Shipping new code shoul...

67 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you