From: David G. <go...@py...> - 2006-03-30 00:39:46
|
[ra...@gm...] > attached is a patch to expose two basic s5 options via the rst2s5.py > script: The defaultView (outline|slideshow) and controlVis > (hidden|visible) meta options. The defaults are what the current > code uses. Good idea. I'll apply the patch once I'm done with the template conversion I'm doing now. > a little sidenote that bugs me at the moment: > > s5 uses nice slide# ids on the slide <div>s. What's nice about them? They're inconsistent. Insert a new slide and your previous link is no longer correct. Why does this bug you? What's your rationale for wanting a change? > docutils provides nice readable ids using the section title. > but there can only be one id in xhtml. > > it would be great to have both... > but I have no idea how to do it... Do you need the slide# IDs for every slide? If not, just add a target wherever you need one: .. _slideX: > two nested divs feels awkward, Not at all; that would be a clean way to do it. > and putting one id on the <h1> feels wrong too. Why? --=20 David Goodger <http://python.net/~goodger> |