Scroll DocBook pagination not matching Confluence pagination

I exported DocBook from Confluence and generated webhelp. The webhelp output generally looks right, except where there are H2 and H3 headings within a Confluence page. In webhelp, those are getting split into multiple pages.

In the Scroll DocBook Exporter documentation I find instructions for defining manual page breaks but not for suppressing unwanted ones.

3 answers

1 accepted

I got this answer from K15t support:

I think you'll need to configure chunking in the Docbook to HTML converter:
http://www.sagehill.net/docbookxsl/Chunking.html
Could this be related? I found a link to that page here: http://docbook.sourceforge.net/release/xsl/1.76.1/webhelp/docs/content/ch02s02.html

Our default export template creates processing instruction in front of every section that has been created for a new Confluence page:
<?confluence type="page" ?>

You would need to configure the converter's chunking configuration to only start a new HTML page for <section> elements having such a processing instruction. I am however not familiar with this tool and can't therefore support you in doing this.

An alternative approach would be to create your own export template: http://www.k15t.com/display/DBK/Creating+a+Template
Then adapt the file 'section.vm' to create any other docbook element instead of 'section'. (See in that file how the processing instruction is inserted)

Hi Robert,

could you please open a support-request by emailing to support@k15t.com ?

It would be great if you could attach your template-jar file and a XML export of the space.
We can then have a deeper look at your problem and will come back to you as soon as possible.

Cheers,
Nils

I got this answer from K15t support:

I think you'll need to configure chunking in the Docbook to HTML converter:
http://www.sagehill.net/docbookxsl/Chunking.html
Could this be related? I found a link to that page here: http://docbook.sourceforge.net/release/xsl/1.76.1/webhelp/docs/content/ch02s02.html

Our default export template creates processing instruction in front of every section that has been created for a new Confluence page:
<?confluence type="page" ?>

You would need to configure the converter's chunking configuration to only start a new HTML page for <section> elements having such a processing instruction. I am however not familiar with this tool and can't therefore support you in doing this.

An alternative approach would be to create your own export template: http://www.k15t.com/display/DBK/Creating+a+Template
Then adapt the file 'section.vm' to create any other docbook element instead of 'section'. (See in that file how the processing instruction is inserted)

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 Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

11,945 views 11 24
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