Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I'm an absolute Beginner with asciidoctor-pdf and tried to generete a PDF-Document with
asciidoctor-pdf -a pdf pdf-style=themes/default-theme.yml -a Brandmeldealagen.adoc directory and style-theme are both existing! The error message: "asciidoctor: FAILED: input file pdf-style=themes/default-theme.yml is missing" also the same if i use the complete path. Don't find a solution on the internet It would be very kind to get help from you Regards Sven |
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
|
Sven, You seem to have mistyped the command. It should be: asciidoctor-pdf -a pdf-theme=./themes/default-theme.yml Brandmeldealagen.adoc If you're going to use a custom theme, I recommend naming it something other than "default". Keep in mind it's now possible to extend from the default theme so you don't have to copy it. See https://github.com/asciidoctor/asciidoctor-pdf/blob/master/docs/theming-guide.adoc#keys-extends Best, -Dan On Wed, Aug 7, 2019 at 7:26 AM sroth [via Asciidoctor :: Discussion] <[hidden email]> wrote: I'm an absolute Beginner with asciidoctor-pdf and tried to generete a PDF-Document with ... [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 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thank you for the solution.
I try to learn the basic settings for pdf-styling but i'm missing most of the basics f.e. Logo-setting on front page in the Documentation i've found. Can you be please so kind to give me an information about the secret, where to find usable Documentation about asciidoctor-pdf and styling? I've found the styling-guide, quick-reference of asciidoctor and the theme-guide of asciidoctor-pdf. Thank you very much regards sven |
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
|
Sven, I recommend studying the chronicles example. It's a kitchen sink of features, including a custom theme, title page logo, etc. We can always add more if you're looking for something that isn't covered. Best, -Dan On Wed, Aug 14, 2019 at 8:29 AM sroth [via Asciidoctor :: Discussion] <[hidden email]> wrote: Thank you for the solution. ... [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 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This post was updated on Aug 27, 2019; 2:09pm.
In reply to this post by mojavelinux
Hi Mojavelinux,
can you tell me how to do the convertation in the Windows cmd? C:\Users\User_6\.......asciidoctor>asciidoctor-pdf -a pdf-style =themes/base-theme.yml basic-example.adoc asciidoctor: ERROR: could not locate or load the built-in pdf theme `themes/base -theme.yml' (<unknown>): mapping values are not allowed in this context at line 32 column 54 (Psych::SyntaxError) Use --trace for backtrace Don't understand how to use the path in Windows. Thank you very much Sven Everything works, the heat makes me a little bit stupid.... ;-) |
Free forum by Nabble | Edit this page |