On 23 September 2011 20:10, Laurent Laville <[email protected]> wrote: > Hi Stuart, > > Following to using the new themes plugin system, I found perharps a > problem. > > I've created a new theme for my own doc (new version with 8.6.6 not > yet online) [1], with command > > asciidoc-8.6.6/asciidoc.py --theme install growl-1.0.zip > > Zip archive "growl-1.0.zip" contains only a growl.css file (and NO > JavaScript) > > When I've rendered my new version of doc with command > > asciidoc.py -a icons -a toc2 -a linkcss -a theme=growl -n -v docs > \userguide.txt > > I got in HTML source code > > <link rel="stylesheet" href="styles/growl.css" type="text/css" /> > <link rel="stylesheet" href="styles/pygments.css" type="text/css" /> > <link rel="stylesheet" href="styles/toc2.css" type="text/css" /> > <script type="text/javascript" src="js/asciidoc.js"></script> > <script type="text/javascript" src="js/growl.js"></script> > > All seems OK except for js/growl.js that does not exist and provided a > 404 error on loading page ! > > What do you think of this ? Did I missed again something ?
Looks like the javascript file isn't being made optional for linkcss. Without linkcss it looks ok. If you don't want to embed then can you put an empty file (or if that doesn't work a do-nothing script) in the zipfile to make it work. Cheers Lex > > Laurent > > [1] http://growl.laurent-laville.org/ > http://www.methods.co.nz/asciidoc/userguide.html#X99 > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
