[PATCH] Fix for non-inclusion of user-supplied stylesheet with slidy backend in 8.6.6

16 views
Skip to first unread message

Michael Hackett

unread,
Oct 6, 2011, 5:10:05 PM10/6/11
to asciidoc
There is a small error in the slidy.conf backend in the line that is
supposed to embed user-supplied stylesheets (from the command line --
attribute stylesheet=mystyles.css) that was preventing this from
working in the current 8.6.6 release. I know little about the code,
but looking at the rest of the file, I guessed at the correction and
it works now.

Here's the patch:

--- usr/local/etc/asciidoc/slidy.conf 2011-09-09 21:29:52.000000000
-0300
+++ /usr/local/etc/asciidoc/slidy.conf 2011-10-04 22:25:47.000000000
-0300
@@ -85,7 +85,7 @@
ifdef::pygments[]
include1::{stylesdir=./stylesheets}/pygments.css[]
endif::pygments[]
-include1::{stylesheet}}
+include1::{stylesheet}[]
</style>
<script type="text/javascript">
# Escape as CDATA to pass validators.

Stuart Rackham

unread,
Oct 25, 2011, 8:49:24 PM10/25/11
to asci...@googlegroups.com
Hi Micheal, thanks for spotting the broken configuration, have committed your patch:

http://code.google.com/p/asciidoc/source/detail?r=656b5b7505bb7dfbe73a042ed3744cedab1fcc8b

Cheers, Stuart

Reply all
Reply to author
Forward
0 new messages