Asciidoctor-pdf - No title page

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Asciidoctor-pdf - No title page

dan3789
Hi there

I installed asciidoctor-pdf on macOS Mojave using Homebrew. When converting to a pdf for
some reason it does not produce a title page. The default-theme.yml file is exactly the
same as on my fedora, where the title page shows up just fine.
It seems to completely ignore the title_page key.

Is this a known bug, or am I doing something wrong here?

macOS:
$ asciidoctor-pdf -v
Asciidoctor PDF 1.5.0.alpha.18 using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Fedora 30:
# asciidoctor-pdf -v
Asciidoctor PDF 1.5.0.alpha.16 using Asciidoctor 1.5.6.1 [http://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:- ex:UTF-8)

Thanks
Br Daniel
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor-pdf - No title page

mojavelinux
Administrator
There are two cases when a title page is inserted:

* the doctype is book
* the title-page attribute is defined (with an empty value)

Otherwise, the doctitle (and TOC) goes at the top of the first page).

I'll update the docs to make sure this is super clear.

Cheers,

-Dan
Reply | Threaded
Open this post in threaded view
|

Re: Asciidoctor-pdf - No title page

dan3789
Yeah, this did the trick.
Thanks a lot for the quick help

Cheers
Daniel