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>
Subject: Re: Uncovering Slides in a Presentation with Progress Meter
Date: Thu, 26 Apr 2012 18:56:54 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.02.1204261843540.928@qrpragenyvmrq> (raw)
In-Reply-To: <CAFP+xFJZn6Dzh=4gnTykmFnYnTU=Efi5Yc=VfdP1PnUb_thxsA@mail.gmail.com>

On Thu, 26 Apr 2012, Troy Henderson wrote:

> I am trying to uncover content within an itemized list, and I am using
> \phantom to get the desired effect.  However, I would like to tweak
> the progress meter to consider these "pages" as the same instead of
> separate.  I am pasting a minimal example below, and I would like to
> know if
>
> (1) there is a more "standard" way (instead of using \phantom) of
> uncovering the second item in the itemized list

See s-pre-60.mkiv for a javascript based stepper and s-pre-61.mkiv for 
usage example (at the end).

Paul Isambert also has a javascript based stepper in the lecturer package 
but that package does not work with ConTeXt MkIV.

Personally, I find javascript based steppers to be unreliable as they 
don't work on all viewers. I either use \phantom or don't include the text 
at all. (I posted my stepping macros on the list a few days back).

There was also an r-steps module on the wiki, but that is almost 8-10 
years old, so it is unlikely that it will work without significant 
changes.

> (2) the progress meter can be modified to illustrate 3 (instead of 4)
> total pages AND not have the progress meter change between pages 2 and
> 3 (since I want to view them as the same "page")

I don't know which counter the interaction menu uses. You can try to 
decrement the userpage counter (\decrement[userpage]) and see if it works.

Ideally, each step should be a subpage and the userpage counter should 
only increment on a new slide.

If you do not need the interaction part of the interaction menu, but just 
need a visual progress meter, you can look at my visualcounter package:

http://randomdeterminism.wordpress.com/tag/visualcounter/

For an example see http://www.ece.mcgill.ca/~amahaj1/talks/gerad-2012.pdf 
(the theme is inspired from one of Hans's styles).

Thomas and I also use different progress meters in the simpleslides 
module which are written in metapost. The visual-counter module is based 
on the code in simpleslids, but is a separate module so it can be included 
in other documents as well.

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	other threads:[~2012-04-26 22:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 21:39 Troy Henderson
2012-04-26 22:56 ` Aditya Mahajan [this message]
2012-04-29 17:36   ` Marco
2012-04-29 21:22     ` Aditya Mahajan
2012-04-27  1:58 ` Otared Kavian

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.02.1204261843540.928@qrpragenyvmrq \
    --to=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).