Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-page (chunked) html output option to jdocbook and docbkx #14

Open
mojavelinux opened this issue May 1, 2015 · 4 comments
Open

Comments

@mojavelinux
Copy link
Member

Add html output to both the jdocbook and docbkx example projects. That way, users can see how they can get from AsciiDoc to multi-page (chunked) html output using the Maven plugin.

@gAmUssA
Copy link

gAmUssA commented May 4, 2015

<format>
         <formatName>xhtml</formatName>
         <stylesheetResource>classpath:/xslt/org/jboss/pressgang/xhtml.xsl
         </stylesheetResource>
</format>

this code snippet configures output of html.
However, it uses jboss specific styles.
How do output html with asciidoctor stylesheet?

@mojavelinux
Copy link
Member Author

How do output html with asciidoctor stylesheet?

There are no Asciidoctor-like styles for the HTML output produced by the DocBook toolchain as of today. The default Asciidoctor stylesheet won't work because the HTML produced by DocBook is quite different from what Asciidoctor produces.

Using the DocBook toolchain to produce chunked HTML output is an intermediary solution to at least get chunked output (until we get around to making it work natively in Asciidoctor). Of course, someone could develop a stylesheet for the HTML output produced by DocBook that looks like the default Asciidoctor stylesheet, but it would be a substantial effort.

@gAmUssA
Copy link

gAmUssA commented May 11, 2015

@mojavelinux What would be your recommendation in terms of using asciidoctor-style-factory styles and dock output ?

@mojavelinux
Copy link
Member Author

@gAmUssA That's not really going to help you since CSS is heavily dependent on the HTML it's styling. The HTML output from DocBook is fundamentally different than what the HTML5 backend of Asciidoctor (and AsciiDoc Python) produce (even more so because it's multi-page HTML).

It really doesn't take that long to create a decent stylesheet from scratch, so that's what I propose. The alternative is to look for a better stylesheet for the DocBook HTML output somewhere on the web. There are many projects that have used this toolchain, so there are probably a number of options out there that can at least get you by until we have the multi-page HTML working in Asciidoctor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants