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

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1413 bytes --]

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


[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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 19:24 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
2009-10-28 19:24       ` Aditya Mahajan [this message]
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.0910281517560.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).