When attempting to use a different Slidy theme, it appears that AsciiDoc always appends the default stylesheet path, even when a custom path is given:
asciidoc --backend slidy -a theme=~/docs/stylesheets/w3c-blue.css igor.txt asciidoc: WARNING: igor.txt: line 7: include file not found: /usr/local/etc/asciidoc/stylesheets/~/docs/stylesheets/w3c-blue.css.css asciidoc: WARNING: igor.txt: line 7: include file not found: /usr/local/etc/asciidoc/stylesheets/~/docs/stylesheets/w3c-blue.css.css
On Mon, Jan 23, 2012 at 3:19 PM, Warren Block <wbl...@wonkity.com> wrote: > When attempting to use a different Slidy theme, it appears that AsciiDoc > always appends the default stylesheet path, even when a custom path is > given:
Yes, the theme attribute selects the theme from the directory defined by the themedir attribute.
> asciidoc --backend slidy -a theme=~/docs/stylesheets/w3c-blue.css igor.txt > asciidoc: WARNING: igor.txt: line 7: include file not found: > /usr/local/etc/asciidoc/stylesheets/~/docs/stylesheets/w3c-blue.css.css > asciidoc: WARNING: igor.txt: line 7: include file not found: > /usr/local/etc/asciidoc/stylesheets/~/docs/stylesheets/w3c-blue.css.css
> This is with AsciiDoc 8.6.4 on FreeBSD 8.2.
> -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to asciidoc@googlegroups.com. > To unsubscribe from this group, send email to > asciidoc+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en.
On Mon, 23 Jan 2012, Lex Trotman wrote: > On Mon, Jan 23, 2012 at 3:19 PM, Warren Block <wbl...@wonkity.com> wrote: >> When attempting to use a different Slidy theme, it appears that AsciiDoc >> always appends the default stylesheet path, even when a custom path is >> given:
> Yes, the theme attribute selects the theme from the directory defined > by the themedir attribute.
Yes, but I think there was a similar problem with the stylesheet attribute. For example, this works:
-a stylesheet=~/docs/stylesheets/wb-html.css
Maybe the theme attribute is not supposed to work the same way, though.
On Mon, Jan 23, 2012 at 4:38 PM, Warren Block <wbl...@wonkity.com> wrote: > On Mon, 23 Jan 2012, Lex Trotman wrote:
>> On Mon, Jan 23, 2012 at 3:19 PM, Warren Block <wbl...@wonkity.com> wrote:
>>> When attempting to use a different Slidy theme, it appears that AsciiDoc >>> always appends the default stylesheet path, even when a custom path is >>> given:
>> Yes, the theme attribute selects the theme from the directory defined >> by the themedir attribute.
> Yes, but I think there was a similar problem with the stylesheet attribute. > For example, this works:
> -a stylesheet=~/docs/stylesheets/wb-html.css
> Maybe the theme attribute is not supposed to work the same way, though.
No its not supposed to work the same way, a stylesheet attribute specifies a single file which is in addition to the standard stylesheet, a theme stylesheet is used in place of the standard stylesheet. So themedir works more like stylesdir and scriptsdir do, but has an extra level defined by the theme attribute. This is to allow the theme to be selected from several which can be installed to the default place using the plugin mechanism.
> -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to asciidoc@googlegroups.com. > To unsubscribe from this group, send email to > asciidoc+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en.