Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New target Slidy #60

Open
GoogleCodeExporter opened this issue Apr 18, 2015 · 4 comments
Open

New target Slidy #60

GoogleCodeExporter opened this issue Apr 18, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Started

Attachments:

@GoogleCodeExporter
Copy link
Author

STEVEN not Steve. Sorry about that.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant