On Wed, 28 Oct 2009, Bruce D'Arcus wrote:

     <li class="slide title">
       <h1>Test Slide Show</h1>
     </li>

should be translated to

    \setupTitle[title="Test Slide Show",author=,date=]
    \placeTitle

Well, except that I want the option to have this sort of rendering
elsewhere in the presentation. I see you address that in a followup;
would love to see you add that macro.

This is just a modification of the Interlude macro http://randomdeterminism.wordpress.com/2009/10/21/creating-a-style-file-in-context/

\def\Interlude{\dowithpargument\doInterlude}

\def\doInterlude#1%
  {\page
    \null
    \vfill \vfill
   \startalignment[center]
     \let\\\crlf
     \interludefont
       \setupinterlinespace[big]
      #1
      \endgraf
  \stopalignment
   \vfill \vfill \vfill
   \page}


But this is ad-hoc. To integrate this with all styles, this macro should have its own background and the user should be able to configure the font, alignment, color, etc using a proper interface. So, that will have to wait until Thomas and I have more time (basically, the end of semester). However, as a stop-gap measure, the above should work. Just translate

     <li class="slide title">
       <h1>Test Slide Show</h1>
     </li>

to

        \Interlude{Test Slide Show}

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
___________________________________________________________________________________

Reply via email to