How can we start numbering at 0 instead of 1

John Heinser September 17, 2017

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
Nils Bier _K15t_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 20, 2017

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

John Heinser September 20, 2017

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

0 votes
Maarten Cautreels
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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

John Heinser September 18, 2017

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events