default-style.yml missing

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

default-style.yml missing

sroth
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
Reply | Threaded
Open this post in threaded view
|

Re: default-style.yml missing

mojavelinux
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

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


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/default-style-yml-missing-tp7051.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: default-style.yml missing

sroth
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
Reply | Threaded
Open this post in threaded view
|

Re: default-style.yml missing

mojavelinux
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.

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


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/default-style-yml-missing-tp7051p7085.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: default-style.yml missing (solved)

sroth
This post was updated on .
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.... ;-)