-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically set stylesdir if style ends with .yml #1126
Comments
Here's the logic to use:
|
Btw, we're also proposing to rename pdf-style / pdf-stylesdir to pdf-theme / pdf-themesdir. See #1127. |
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
Jul 4, 2019
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
Jul 4, 2019
…ith .yml - if pdf-style value ends with .yml, and pdf-stylesdir is not set, set pdf-stylesdir to directory of pdf-style value - resolve extended themes relative to calculated value of pdf-stylesdir
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
Jul 4, 2019
…ith .yml - if pdf-style value ends with .yml, and pdf-stylesdir is not set, set pdf-stylesdir to directory of pdf-style value - resolve extended themes relative to calculated value of pdf-stylesdir
mojavelinux
added a commit
to mojavelinux/asciidoctor-pdf
that referenced
this issue
Jul 5, 2019
…ith .yml - if pdf-style value ends with .yml, and pdf-stylesdir is not set, set pdf-stylesdir to directory of pdf-style value - resolve extended themes relative to calculated value of pdf-stylesdir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the style is a path (indicated by the fact that it ends with .yml), automatically set the stylesdir to the directory of that path if not explicitly set.
For example, the following command:
would set the stylesdir to
/path/to
.By doing so, resources in the theme file, such as images, will automatically get resolved from this directory.
The text was updated successfully, but these errors were encountered: