ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Bruce <bdarcus@gmail.com>
Subject: Re: presentation (simple-slides?) master-like feature?
Date: Wed, 28 Oct 2009 14:40:31 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0910281430560.26461@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <51B81F2C-3DDD-4831-B9EF-578841099281@uni-bonn.de>

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
___________________________________________________________________________________


  parent reply	other threads:[~2009-10-28 18:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 15:11 Bruce
2009-10-28 17:05 ` Thomas A. Schmitz
2009-10-28 17:32   ` Bruce
2009-10-28 18:50     ` Aditya Mahajan
2009-10-28 18:40   ` Aditya Mahajan [this message]
2009-10-28 18:56     ` Bruce D'Arcus
2009-10-28 19:24       ` Aditya Mahajan
2009-10-28 21:53         ` Page breaks Andreas Harder
2009-10-28 22:05           ` Arthur Reutenauer
2009-10-28 23:35             ` Andreas Harder
2009-10-28 22:17           ` Wolfgang Schuster
2009-10-28 23:39             ` Andreas Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0910281430560.26461@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --cc=bdarcus@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).