Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
21 posts
|
Again, for some reason I can't find answer for simple question in documentation: can or can't I create title page in PDF with no text whatsoever, only with background image?
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
I think you are looking for the cover page, which is set using the front-cover-image attribute. See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#theme-related-document-attributes. You can then disable the title page using the notitle attribute. Cheers, -Dan On Tue, Oct 8, 2019 at 5:01 AM Hoplop [via Asciidoctor :: Discussion] <[hidden email]> wrote: Again, for some reason I can't find answer for simple question in documentation: can or can't I create title page in PDF with no text whatsoever, only with background image? -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
21 posts
|
Can't i just say "title_page: empty " in theme.yaml or something? As far as i can see, by default only document title appears to be on the title page, so all i need is to get rid of it.
Your solutions is working, sure, but i'm really need to control title page settings in the theme.yaml, not in the source adoc. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
That's just not how Asciidoctor PDF works. You could set the color of the text to transparent so that it doesn't show. But the title page always has the document title. Otherwise, it wouldn't be a title page. -Dan On Tue, Oct 8, 2019 at 6:07 AM Hoplop [via Asciidoctor :: Discussion] <[hidden email]> wrote: Can't i just say "title_page: empty " in theme.yaml or something? As far as i can see, by default only document title appears to be on the title page, so all i need is to get rid of it. -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
21 posts
|
>You could set the color of the text to transparent
I was trying to do that yesterday, this config didn't work: title-page: background-image: rtk-title-page.png font-color: transparent It had said something like unknown color. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
The correct syntax is: title-page: font-color: [0, 0, 0, 0] We should probably support the "transparent" keyword for font colors too, but you can always fall back to a CMYK array. Cheers, -Dan On Tue, Oct 8, 2019 at 11:38 PM Hoplop [via Asciidoctor :: Discussion] <[hidden email]> wrote: >You could set the color of the text to transparent -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
My mistake. That's the color white. Give me a minute to figure out how to represent the color transparent. -Dan On Wed, Oct 9, 2019 at 12:39 AM mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
2681 posts
|
It's not supported. I'll open an issue since it probably should be. Best, -Dan On Wed, Oct 9, 2019 at 12:47 AM mojavelinux [via Asciidoctor :: Discussion] <[hidden email]> wrote:
... [show rest of quote] -- Dan Allen | @mojavelinux | https://twitter.com/mojavelinux |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
21 posts
|
Well, thanks, i'll stick with front-cover-image for now
|
Free forum by Nabble | Edit this page |