ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: Aditya Mahajan <adityam@umich.edu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: presentation (simple-slides?) master-like feature?
Date: Wed, 28 Oct 2009 14:56:00 -0400	[thread overview]
Message-ID: <fbb7c5df0910281156iabedffcy703c9a7e0bf426fa@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.0910281430560.26461@ybpnyubfg.ybpnyqbznva>

On Wed, Oct 28, 2009 at 2:40 PM, Aditya Mahajan <adityam@umich.edu> wrote:
> 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

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.

BTW, I'm an  academic as well, so using this for both teaching and
research presentations (my immediate concern here; have a talk coming
up in a few weeks I'd like to try this on).

> 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.

Yeah, using XSLT is pretty straightforward for this.

Bruce
___________________________________________________________________________________
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	other threads:[~2009-10-28 18:56 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
2009-10-28 18:56     ` Bruce D'Arcus [this message]
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=fbb7c5df0910281156iabedffcy703c9a7e0bf426fa@mail.gmail.com \
    --to=bdarcus@gmail.com \
    --cc=adityam@umich.edu \
    --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).