asciidoctor / asciidoctor-pdf

:page_with_curl: Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.
https://docs.asciidoctor.org/pdf-converter/latest/
MIT License
1.14k stars 501 forks source link

Author and Revision not showing in Title Page #2399

Closed shadyvd closed 1 year ago

shadyvd commented 1 year ago

index.adoc

= Testing AsciiDoc: How will the PDF look?
:doctype: book

:author: Author Test
:email: email@example.org

Environment

$ asciidoctor-pdf --version
Asciidoctor PDF 2.3.4 using Asciidoctor 2.0.18 [https://asciidoctor.org]
Runtime Environment (ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c5) [x86_64-linux]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

Command

$ asciidoctor-pdf index.adoc

Expected Output Title Page with Title, Subtitle, and Author Information

Actual Output PDF title page without author information - see attached index.pdf for details

mojavelinux commented 1 year ago

You have an empty line in your document header, which causes it to end early. See https://docs.asciidoctor.org/asciidoc/latest/document/header/#document-header-structure

In the future, please ask question about usage in the project chat first at https://chat.asciidoctor.org. Thanks.

shadyvd commented 1 year ago

Thank you.