Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2 posts
|
I've posted this on StackOverflow but have not received any love over there. http://stackoverflow.com/questions/29904527/asciidoctor-breaks-rendering-deck-js-backend
--- I am attempting to use the deck.js backend with asciidoctor. I followed the instructions at http://asciidoctor.org/docs/install-and-use-deckjs-backend/. I get the following error: $ asciidoctor --trace -T asciidoctor-backends/haml deckjs-example.asciidoc /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- asciidoctor/stylesheets (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /home/worldwidewilly/Dropbox/presentations/adoc-deck/asciidoctor-backends/haml/deckjs/helpers.rb:1:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/renderer.rb:121:in `block in initialize' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/renderer.rb:69:in `each' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/renderer.rb:69:in `initialize' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/document.rb:743:in `new' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/document.rb:743:in `renderer' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/document.rb:752:in `render' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor.rb:915:in `render' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/cli/invoker.rb:86:in `block in invoke!' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/cli/invoker.rb:79:in `each' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/lib/asciidoctor/cli/invoker.rb:79:in `invoke!' from /var/lib/gems/1.9.1/gems/asciidoctor-0.1.4/bin/asciidoctor:13:in `<top (required)>' from /usr/local/bin/asciidoctor:23:in `load' from /usr/local/bin/asciidoctor:23:in `<main>' My document - deckjs-example - looks like: = Asciidoctor Deckjs Example Bill Turner :backend: deckjs :deckjs_theme: web-2.0 :deckjs_transition: horizontal-slide :navigation: :blank: :goto: :menu: :status: :split: :toc: == Title of Slide One Hello World! [canvas-image="images/groovy.jpg"] == Slide Two's Title will not be displayed [role="canvas-caption", position="center-up"] This text is displayed on top of the example.jpg image. My directory contains all the things that I seem to need to have installed: $ ls total 32K 22021551 drwxr-xr-x 7 worldwidewilly worldwidewilly 4.0K Apr 27 13:38 asciidoctor-backends 24910534 drwxr-xr-x 8 worldwidewilly worldwidewilly 4.0K Apr 21 20:30 deck.js 527971 -rw-r--r-- 1 worldwidewilly worldwidewilly 394 Apr 27 14:01 deckjs-example.asciidoc 26740079 drwxr-xr-x 2 worldwidewilly worldwidewilly 4.0K Apr 27 14:00 images I presume a configuration problem. Searching has yet to reveal a solution - though I did find something here in this discussion group that looked very similar. However, the solutions did not seem to fit my situation. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
354 posts
|
Looks like you're using a MUCH older version of asciidoctor, 0.1.4. All the backends in that repo I believe have been updated to asciidoctor 1.5.x. The current version of asciidoctor is 1.5.2. Try updating asciidoctor and see if things work better.
On Monday, April 27, 2015, bill turner [via Asciidoctor :: Discussion] <[hidden email]> wrote: I've posted this on StackOverflow but have not received any love over there. http://stackoverflow.com/questions/29904527/asciidoctor-breaks-rendering-deck-js-backend ... [show rest of quote] -- |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
2 posts
|
In reply to this post by bill turner
I used the Linux Mint PPA to install asciidoctor. I should have known better. Thanks for the input. I will be offline for the next few days as I travel across the country by train (no wifi on the long haul Amtrak trains), but I did update the version, so I will be able to test it out. If I continue to have problems, I will post again after completing my journey.
|
Free forum by Nabble | Edit this page |