Login  Register

Support for multi-part books

Posted by bleathem on Apr 11, 2013; 5:22am
URL: https://discuss.asciidoctor.org/Support-for-multi-part-books-tp102.html

Hello all,

In converting the RichFaces docbook xml to asciidoc (using some xslt) then back again to docbook xml (using asciidoctor), I've noticed that asciidoctor doesn't support multi-part books.  I've created some gists to demonstrate how asciidoc and asciidoctor differ here:

Some simple multi-part asciidoc source:
https://gist.github.com/bleathem/5360926

The docbook xml rendered using asciidoc:
asciidoc -b docbook45 -o book-multi.asciidoc.xml book-multi.txt
https://gist.github.com/bleathem/5360911

The docbook xml rendered using asciidoctor:
asciidoctor -b docbook45 -o book-multi.asciidoctor.xml book-multi.txt
https://gist.github.com/bleathem/5360921

You can see the asciidoctor xml is missing the <part> tags.

I've filed a github issue requesting support for multi-part support:
https://github.com/asciidoctor/asciidoctor/issues/222

WDYT? How hard would it be to add this to asciidoctor?  Or am I just doing something wrong, and the support is already there...