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 vote
Maarten Cautreels Community Champion Sep 17, 2017

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>
</ol>

Hope this helps.

Best,

Maarten

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 https://k15t.jira.com/browse/EXP-2079), and will work on this in an upcoming version.

Please sign up at https://k15t.jira.com/secure/Signup!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.

Cheers,
Nils

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.

Regards

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

255 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you