ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: "Animation" in slides (\presentationstep, metafun)
Date: Thu, 05 Aug 2004 00:23:58 +0200	[thread overview]
Message-ID: <411161FE.3040900@wxs.nl> (raw)
In-Reply-To: <4110ED78.3020504@email.si>

[-- Attachment #1: Type: text/plain, Size: 2357 bytes --]

Mojca Miklavec wrote:

> 2.) filling-up a table
>
> This is a more complicated example and probably "playing with TeX" may
> be the only solution, but I'll ask anyway.
>
> I need to make something similar as, say, multiplication table or a
> table for dynamic programming calculation of minimum editing distance.
>
> There is a n*m table, whose fields have to be filled step-by-step
> (sometimes the last entries in bold or in red) on consecutive slides.
> Copy-pasting and correcting the table ten or twenty times makes no sense.
>
> I would be grateful on any suggestion about how to solve this problem.


(for efficiency reasons, in s-pre-60 patch):

\def\StartSteps{\iftrialtypesetting\else\ResetStep\NextStep\StartStep\fi}
\def\StopSteps {\iftrialtypesetting\else\StopStep\PrevStep\fi}
\def\FlushStep {\iftrialtypesetting\else\StopStep\NextStep\StartStep\fi}

and then:

\usemodule[pre-61]

\starttext

\StartSteps

\starttabulate
\NC test \FlushStep \NC test \FlushStep \NC \NR
\NC test \FlushStep \NC test \FlushStep \NC \NR
\NC test \FlushStep \NC test \FlushStep \NC \NR
\stoptabulate

\StopSteps

\stoptext

> In the above mentioned example in Prosper this kind of page numbering 
> is solved exactly the way I like.

the StartSteps etc gives this for free -)

Implementing al those fancy things is not that complex since most of the 
the machinery is available in context for years now, but time ...

(being at a few tex conferences recently and seen prosper in action ... 
i don't like presentations all look the same, which is why i prefer to 
provide a general solution that can be applied to any style, i also get 
the creep of the document source coding some people showed me;  so, in 
due time i will extend the Stepper (a more complex example is the self 
running dante XV presentation -- on out site; which reminds me that i 
have to document and post that style)

(personally i more and more tend to clean and sober presentations -)

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------


[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 21659 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      parent reply	other threads:[~2004-08-04 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 14:06 Mojca Miklavec
2004-08-04 22:10 ` Hans Hagen
2004-08-04 22:23 ` Hans Hagen [this message]

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=411161FE.3040900@wxs.nl \
    --to=pragma@wxs.nl \
    --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).