On 30/09/10 19:40, david wrote:
Thank you, it works.
A little detail: when an item can be folded or unfolded, there is a
specific little icon (see http://www.w3.org/Talks/Tools/Slidy2/#(10)).
I think it will appear if the icons in
http://www.w3.org/Talks/Tools/Slidy2/graphics/
(for example: http://www.w3.org/Talks/Tools/Slidy2/graphics/fold-dim.gif)
where included in asciidoc distribution.
I decided on a more minimalist approach, highlighting the bullet points and
numbers.
On 30 sep, 04:18, Stuart Rackham<[email protected]> wrote:
On 30/09/10 03:17, david wrote:
awesome!
Have you considered the "outline" options
(seehttp://www.w3.org/Talks/Tools/Slidy2/#(10)
I tryed a simple example:
[role="outline"]
* bla
** blabla
** blabla
where the two "blabla" items should be masked. The html output is:
<div class="ulist"><ul class=" outline">
<li>
<p>
bla
</p>
<div class="ulist"><ul class="">
<li>
<p>
blabla
</p>
</li>
<li>
<p>
blabla
</p>
</li>
</ul></div>
</li>
</ul></div>
And it seems to be correct for me, but in the browser, the "bla" is
collapsed, and not the "blabla" sublist.
The outline class attribute needs to go in the ul and ol (not the enclosing
div), but there's still a limitation with Slidy -- the outlining gets confused
by the extra div's and p's that AsciiDoc puts in lists. So they need to be
stripped. I've committed a patch that resolves the issue:
http://code.google.com/p/asciidoc/source/detail?r=b3ed9d9b016ff50ff38...
Cheers, Stuart
On 29 sep, 10:21, Stuart Rackham<[email protected]> wrote:
I've just committed a slidy (HTML slideshows) backend based on Phillip Lord's
slidy backend to the trunk:
http://code.google.com/p/asciidoc/source/detail?r=607ef92a3a9e33b45a8...
Here are a couple of examples:
http://www.methods.co.nz/tmp/slidy.htmlhttp://www.methods.co.nz/tmp/s...
Cheers, Stuart
On 20/09/10 23:03, Phillip Lord wrote:
For anyone who is interested, I have a clone of asciidoc with slidy
support integrated now.
https://phillordbio-asciidoc-fixes.googlecode.com/hg/
Apologies for the name, Stuart, which implies asciidoc is broken, which
it isn't.
So far, I have basic slidy working, producing a presentation. It uses
the asciidoc style sheets, so you get slides that look like asciidoc. It
has an integrated copy of slidy.js and slidy.css, and if you set the -a
data-uri option, then you get an all-in-one HTML file (this required
one small change to slidy.js, unfortunately).
There is also trivial support for incremental, and I've fiddled with the
bulletted list presentation a bit, to remove the paratags on each list
item; in practice this compacts the lists somewhat, which is useful in
slides.
It should be a clone of asciidoc head, at least if I am understanding
mercurial correctly.
Phil
Phillip Lord<[email protected]> writes:
Actually, I had a bash at this myself and have a minimal working
version, which I've attached. It's pretty small, as slidy is fairly
minimal in it's requirements.
I'll be working on this over the next few days.
Phil
david<[email protected]> writes:
For me, the answer is no. I am not a python programmer, and I don't
understand yet enough asciidoc configuration files to produce a
working slidy.conf.
On 14 sep, 14:47, Phillip Lord<[email protected]> wrote:
I missed this thread when it first came out. Some intense googling got
me to this....
http://csrp.iut-blagnac.fr/~jmi/svg-slides/
Which seems to use either slidy or S5.
Sven's original asciidoc-s5 at
http://github.com/svenax/asciidoc-s5
has gone 404.
I was wondering, whether any of the original participants of the thread
have got any further!
Phil
david<[email protected]> writes:
It currently works perfectly.
JQS5 can be used without any changed in the html file. Slidy needs
specific markup in the html file, and so (I think) a new slidy.conf in
asciidoc.
I will try to do something about it, based on your xhtml11.conf.
On 21 ao t, 08:45, Stuart Rackham<[email protected]> wrote:
I've written an FAQ for JQS5, you'll need to run from the trunk as it relies on
a fix I've just made to the docinfo mechanism. Let me know if you have any
problems getting it to work.
Cheers, Stuart
== Can AsciiDoc generate slide shows?
There are a number of browser based HTML slideshow applications
written in JavaScript, most could probably be made to work with
AsciiDoc. Here's how usehttp://staticfree.info/projects/jqs5/[JQS5]
to turn an AsciiDoc document (`mydoc.txt`) into a slideshow
(`mydoc.html`):
. Download and extract the 'JQS5' tarball.
. Put this your document's 'docinfo' file (`mydoc-docinfo.html`):
+
---------------------------------------------------------------------
<link rel="stylesheet" href="./jqs5/jqs5.css">
<link rel="stylesheet" href="./jqs5/theme/staticfree/style.css">
<script src="./jqs5/jquery-1.2.6.js" type="text/javascript"></script>
<script src="./jqs5/jqs5.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(jqs5_init);
</script>
<style type="text/css"> hr { visibility: hidden; }</style>
---------------------------------------------------------------------
* The `./jqs5/jquery-1.2.6.js` file name may differ depending on the
version of 'JQS5'.
* The last line hides 'hr' elements generated by by the Asciidoc
'html4' backend.
. Generate the slideshow (`mydoc.html`) with this command:
$ asciidoc -bhtml4 -adocinfo mydoc.txt
On 20/08/10 22:16, david wrote:
I'm late and I missed that.
Creation of slides would be a very great improvment of asciidoc... I
was wondering if it was possible to include the support of slidy, the
w3c current recommendation to create slideshow (http://www.w3.org/
Talks/Tools/#slidy). I don't know if it's easily faisable. In slidy,
each slides is contained in<div class="slide"> ...</div>, the title
of the slide is in<h1> ...</h1>. Incremental display (class =
"incremental") and expandable content (class = "outline" or "expand")
are supported.
On 2 ao t, 23:31, Stuart Rackham<[email protected]> wrote:
On 29/06/10 00:12, Bela Hausmann wrote:
You may also be interested inhttp://staticfree.info/projects/jqs5/,
which is basicS5(not as powerful), but without extra HTML markup.
That's neat, all you would need to do is create a jqs5.conf file that included a
customized version of the html4.conf [header] then run something like (haven't
tried it though).
asciidoc -b html4 -f jqs5.conf myslideshow.txt
Cheers, Stuart
Bela
On 7 Jun., 00:18, svenax<[email protected]> wrote:
I really like simple text markup, and I have been using asciidoc a lot
for documentation and short documents. Sometimes, though, I need to
make some kind of presentations, and a nice and clean way of doing
this is by usingS5which is based on XHTML.
Unfortunately, asciidoc does not have anS5output option, so I tried
Pandoc instead. But it got too confusing to use two different markup
systems with almost, but not quite, the same syntax.
Since asciidoc is eminently configurable, I thought I should try to
make theS5output option myself. It is by no means finished, but it
works reasonably well for me. If anyone is interested, you can grab it
here:
http://github.com/svenax/asciidoc-s5
Please feel free to comment, modify, and help me make it better.
Eventually anS5backend may find its way into the standard asciidoc
distribution.
--
Sven Axelsson
--
Phillip Lord, Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics, Email: [email protected]
School of Computing Science,
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, msn: [email protected]
NE1 7RU
--
Phillip Lord, Phone: +44 (0) 191 222 7827
Lecturer in Bioinformatics, Email: [email protected]
School of Computing Science,
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower, skype: russet_apples
Newcastle University, msn: [email protected]
NE1 7RU
--
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.