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

Use default-for-print theme when media is print or prepress and no theme is specified #2306

Closed mojavelinux closed 2 years ago

mojavelinux commented 2 years ago

If the user has not specified a theme, and the media attribute is print or prepress, default to the default-for-print theme instead of the default theme.

The default-for-print theme is optimized for printing. By using it as the default theme selection, it helps users to discover it and provides a better default behavior.

Obviously, if the user specifies a theme, that theme will be used instead.