Re: default-style.yml missing

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

Re: default-style.yml missing

It looks like you might have extra spaces. The argument should be:

-a pdf-theme=themes/base-theme.yml

You could also try:

-a pdf-themesdir=themes -a pdf-theme=base

Though I strongly recommend against using the name "base" in your theme (as that's too easily confused with the built-in base theme). It should be something like "custom".

-a pdf-themesdir=themes -a pdf-theme=custom

> Don't understand how to use the path in Windows.

Asciidoctor PDF is tested on Windows, so I'm confident this works.



On Tue, Aug 27, 2019 at 7:48 AM sroth [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi Mojavelinux,

can you tell me how to doe the conversation 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

If you reply to this email, your message will be added to the discussion below:
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.

Dan Allen | @mojavelinux |