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

This widget could not be displayed.

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)

This widget could not be displayed.

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

This widget could not be displayed.

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 Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

141 views 0 9
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