slidy2 backend for asciidoctor

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

slidy2 backend for asciidoctor

wimalopaan
Hi all,

I have a bunch of presentations using the slidy2 backend in asciidoc. I like to fully switch over to asciidoctor, but the question is: will there be a slidy2 backend for asciidoctor? Are there any activities?

--
Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

LightGuardjp
My guess is if you'd like a slidy2 backend you'll have to create and contribute it. I don't know of anyone else asking for one.


On Fri, Feb 7, 2014 at 11:29 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi all,

I have a bunch of presentations using the slidy2 backend in asciidoc. I like to fully switch over to asciidoctor, but the question is: will there be a slidy2 backend for asciidoctor? Are there any activities?

--
Wilhelm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/slidy2-backend-for-asciidoctor-tp1372.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

wimalopaan
Thank you.

Now I switched to deck.js backend.

The only problem with deck.js, that the syntaxhighlighting isn't working. If I render the same document-source with html backend, it works as expected.

Any hints?

_ Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

LightGuardjp
Take a look at the html5 backend. Chances are the deckjs backend isn't pulling in a stylesheet that's needed. 

Sent from Mailbox for iPhone


On Sun, Feb 9, 2014 at 4:07 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:

Thank you.

Now I switched to deck.js backend.

The only problem with deck.js, that the syntaxhighlighting isn't working. If I render the same document-source with html backend, it works as expected.

Any hints?

_ Wilhelm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/slidy2-backend-for-asciidoctor-tp1372p1391.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

wimalopaan
Checked the output: it is not a missing stylesheet. Looks like that coderay isn't invoked at all:

Below you see the part of the resulting html-file using deck.js backend (the appropriate tags are missing, so I guess that coderay isn't invoked correctly):

<div class="listingblock">
<div class="content">
<pre class="CodeRay"><code class="java language-java">class {
      public static void main(String[] args) {
      }
}</code></pre>
</div>
</div>

And here you see the part using the html-backend:

<div class="listingblock">
<div class="content">
<pre class="CodeRay"><code class="java language-java">class {
      public static void main(String[] args) {
      }
}</code></pre>
</div>
</div>
</div>

I'm very new to asciidoctor: so, what can I do to nail down the problem?

--
wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

wimalopaan
oh,  forgot  the raw-tag for the posting:

here the result with deck.js backend:

<div class="listingblock">
<div class="content">
<pre class="CodeRay"><code class="java language-java">class {
      public static void main(String[] args) {
      }
}</code></pre>
</div>
</div>

and here with html backend:


<div class="listingblock">
<div class="content">
<pre class="CodeRay"><code class="java language-java"><span class="type">class</span> {
      <span class="directive">public</span> <span class="directive">static</span> <span class="type">void</span> main(<span class="predefined-type">String</span><span class="type">[]</span> args) {
      }
}</code></pre>
</div>
</div>

--
Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

mojavelinux
Administrator
In reply to this post by wimalopaan
I'm glad you decided to move to deck.js because I think it receives a lot more attention these days than slidy and that means you'll likely get more help :) Creating a backend for slidy isn't all that difficult, but I'd only recommend venturing down that path if there is a really compelling reason to use it over deck.js or reveal.js.

For advice on how to structure your deck.js document, take a lot at the deck.js introduction slides that I ported to AsciiDoc:

https://gist.github.com/mojavelinux/7655050/raw/58c703801ec569801d22a78d70b20e110fcff4b4/deck.js-introduction.adoc

I tried to demonstrate various features of AsciiDoc and Asciidoctor that keep the presentation lean.

There are also deck.js examples in the hyla repositories: https://github.com/cmoulliard/hyla/tree/master/lib/templates/sample

As for the syntax highlighting question, check out my response in the other thread [1] or in the Asciidoctor FAQs [2].

Cheers!

-Dan

[1] http://discuss.asciidoctor.org/No-syntax-highlighting-with-deck-js-backend-td1385.html
[2] http://asciidoctor.org/docs/faq/



On Sun, Feb 9, 2014 at 4:06 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thank you.

Now I switched to deck.js backend.

The only problem with deck.js, that the syntaxhighlighting isn't working. If I render the same document-source with html backend, it works as expected.

Any hints?

_ Wilhelm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/slidy2-backend-for-asciidoctor-tp1372p1391.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

wimalopaan
Hi Dan,

great! Now it works as expected.

Many thanks,

Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: slidy2 backend for asciidoctor

mojavelinux
Administrator
Awesome!! Enjoy!

-Dan


On Mon, Feb 10, 2014 at 1:17 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi Dan,

great! Now it works as expected.

Many thanks,

Wilhelm


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/slidy2-backend-for-asciidoctor-tp1372p1398.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--