On Wed, 28 Oct 2009, Thomas A. Schmitz wrote:
Bruce,
very briefly: I'm very very short on time this week, so won't be able to look
into this until middle of next week, but I just wanted to let you know that I
find your idea great. I had been thinking of adding an xml template for
simple presentations. your html-based stuff looks gorgeous, so I would like
to know more about it. And let us know what exactly it is that you're missing
in simple-slides. In theory, titles are typeset in layers, so everything
should be there.
I also like this idea. In fact, it will not be too difficult to map these
to simple-slides. Basically
<li class="slide title">
<h1>Test Slide Show</h1>
</li>
should be translated to
\setupTitle[title="Test Slide Show",author=,date=]
\placeTitle
and
<li class="slide">
<h1>Hello</h1>
<ul>
<li>one</li>
<li>two</li>
</ul>
</li>
should be translated to
\SlideTitle{Hello}
\startitemize
\item one
\item two
\stopitemize
we currently do not have any specific environment for blockquote (but
Thomas and I have discussed adding something similar). The vanilla ConTeXt
equivalent \startblockquote ... \stopblockquote doesn't do anything fancy.
Finally,
<li class="slide imgbig">
<h1>Container Ships</h1>
<img src="filename.jpg" />
</li>
should be translated to
\IncludePicture[horizontal][filename.jpg]{Container Ships}
I do not know what is the best way to do these translations. ConTeXt can
also handle XML files, so it is just a matter of writing the translation
rules in ConTeXt. Or, if you prefer, you can write an XSLT transformation.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________