My directions to get the presentation running were too terse. (I was also 
missing an image). I just gave it a try on a separate machine and now have 
the exact steps that you need:

# fetch and setup the backend, dzslides and decks
mkdir -p $HOME/.asciidoc/backends
cd $HOME/.asciidoc/backends
git clone git://github.com/mojavelinux/asciidoc-dzslides-backend.git 
dzslides
cd dzslides
git clone git://github.com/mojavelinux/dzslides.git
mkdir $HOME/tmp-slide-decks
cd $HOME/tmp-slide-decks
git clone git://github.com/mojavelinux/decks.git mojavelinux-decks
cd mojavelinux-decks/asciidoc-with-pleasure

# create a version of the presentation w/ embedded assets
asciidoc -a data-uri -a linkcss! slides.asciidoc

NOTE: if you get the warning "asciidoc: WARNING: slides.asciidoc: line 37: 
missing style: [blockdef-listing]: qrcode" it means you need to install the 
qrcode filter (linked from the asciidoc project site)

# create a version of the presentation w/ linked assets
asciidoc slides.asciidoc
ln -s $HOME/.asciidoc/backends/dzslides/dzslides dzslides

The symlink is required in the second case since the presentation will be 
looking in the current folder for dzslides.

Note that the presentation relies on my fork of dzslides, which has some 
enhancements and tweaks to my liking. It could probably work w/ the 
original dzslides w/ some tweaks.

Personally, I like dzslides better than all the other HTML5-based 
presentation frameworks...and I've tried them all. dzslides has much more 
flexibility, has a better out of the box stylesheet, uses more semantic 
markup and has an awesome presenter mode console. It's just better, IMO.

Good luck!
 

>  
> this looks even nice, probably the best one for html slides? (among 
> slidy,slidy2,keydown,deckjs...)
>
> problem after a quick test:
> in the source file here:
>
> https://raw.github.com/mojavelinux/decks/master/asciidoc-with-pleasure/slides.asciidoc
>
> // asciidoc -a data-uri -a linkcss! slides.asciidoc
> //
> // HTML5:
> // asciidoc -b html5 -o outline.html slides.asciidoc
>
> but following that I got errors:
>
> pi...@640g-laptop:~/.asciidoc/backends/dzslides$ <javascript:> asciidoc 
> -a data-uri -a linkcss! ~/Dropbox/temp-transfer/slides.asciidoc.txt
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/themes/highlight/monokai.min.css
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/themes/style/stormy.css
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/core/dzslides.css
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/themes/transition/fade.css
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/core/dzslides.js
> asciidoc: WARNING: slides.asciidoc.txt: line 30: include file not found: 
> /home/ping/.asciidoc/backends/dzslides/dzslides/highlight/highlight.min.js
> asciidoc: WARNING: slides.asciidoc.txt: line 37: missing style: 
> [blockdef-listing]: qrcode
> sh: /home/ping/Dropbox/temp-transfer/images/mild.png: No such file or 
> directory
> asciidoc: WARNING: slides.asciidoc.txt: line 139: {sys3:"/usr/bin/python" 
> -u -c "import base64,sys; base64.encode(sys.stdin,sys.stdout)" < 
> "/home/ping/Dropbox/temp-transfer/images/mild.png"}: non-zero exit status
>
> ping@640g-laptop:~/Dropbox/temp-transfer$ asciidoc -b html5 -o 
> outline.html slides.asciidoc.txt
> asciidoc: WARNING: slides.asciidoc.txt: line 37: missing style: 
> [blockdef-listing]: qrcode
> asciidoc: WARNING: slides.asciidoc.txt: line 55: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 115: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 130: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 296: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 396: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 464: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 657: missing style: 
> [blockdef-example]: NOTES
> asciidoc: WARNING: slides.asciidoc.txt: line 723: missing style: 
> [blockdef-example]: NOTES
>
>
> I guess I missed sth in the installation step 2:
>  
> Next, make a symlink to dzslides in that folder.
>   
> cd ~/.asciidoc/backends/dzslides
> ln -s /path/to/dzslides .
>
>   If you enable the linkcss attribute, then the symlink should be added 
> in the same directory as the presentation.
>  
> what is that /path/to/dzslides ? where/how can I get it installed? 
> I find this:
> https://github.com/paulrouget/dzslides
>  
> is this the one your refer dzslides to?
>  
> thanks.
>  
> regards
> ping 
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asciidoc/-/Unsy4IWQH_gJ.
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.

Reply via email to