Scroll DocBook pagination not matching Confluence pagination

Robert Lauriston
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.
October 17, 2013

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

0 votes
Answer accepted
Robert Lauriston
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.
December 2, 2013

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)

0 votes
Robert Lauriston December 2, 2013

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)

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.
November 17, 2013

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events