pombreda / txt2tags

Automatically exported from code.google.com/p/txt2tags
GNU General Public License v2.0
0 stars 0 forks source link

New target Slidy #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
HTML slide presentation, alternative to S5
http://www.w3.org/Talks/Tools/Slidy2

Original issue reported on code.google.com by aureliojargas@gmail.com on 10 Nov 2010 at 3:54

GoogleCodeExporter commented 9 years ago
Generating Slidy output would be a high priority feature for me.  A user just 
specifies:

txt2tags.py -t xhtml --slides slideShow.t2t

Thanks for txt2tags!  I'm using it regularly (for other things).

Steve

Original comment by steven.j...@gmail.com on 22 Nov 2010 at 1:36

GoogleCodeExporter commented 9 years ago
Have you tried using the slidy template (in the current development version) 
I've made? (I've also just updated it)
http://code.google.com/p/txt2tags/source/browse/trunk#trunk/templates

You can see a working example there:
http://anamnese.online.fr/site2/textallion/samples/examples_slide.html
(if you don't see the incremental display for the first slide, it's because 
there is no "cover" page, you can force to see it by using the back key (left 
arrow) or by clicking on the content option and click on the first slide)

Original comment by eforg...@gmail.com on 22 Nov 2010 at 6:20

GoogleCodeExporter commented 9 years ago
Steven sent me a patch to add the Slidy target, I've attached it to this issue. 
Now we've got a patch and a template for Slidy, we should decide what to do.

I'll paste here Steve's message. Steve, you can post here any further comment, 
ok?

From Steve:

I'm not sure that what I've done is the best way to go about this...
As you'll see, the document header generates the first slide minus the
closing div tag.  Then each slide must begin with a level 1 title,
which inserts a "handout" div and closes the previous slide div, then
opens a div for the current slide and inserts the title in h1 tags.
The the EOD closes the final div and the entire document.

It would probably be better to use a block title - but I couldn't
figure out how to make that work.

Also, each slide has a comment associated with it the I'd like to have
the slide number automatically generated in (so a numbered title would
make sense).  But numbered elements are usually handled by the browser
(<ol><li>...).  This numbering would have to be handled inside of
txt2tags - and I could not see how to do that either...

To generate a Slidy show:

======= Start of slideShow.t2t ========
Line 1: Title
Line 2: Author
Line 3: Subtitle

= Slide 2 =
- Contents of slide 2

= Slide 3 =
...
======= End of slideShow.t2t =======

% txt2tags.py -t xhtml --slides slideShow.t2t

I hope that this is helpful.  It's not perfect, but I hope it might
serve as a starting point for generating Slidy presentations.

Original comment by aureliojargas@gmail.com on 10 Dec 2010 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
STEVEN not Steve. Sorry about that.

Original comment by aureliojargas@gmail.com on 10 Dec 2010 at 2:46