At 16:59 12.11.2001 +0100, BdB wrote:
> > 3. \presentationstep does not have any noticable effect. This is the
> > command to be used to build a page stepwise, isn't it? Like
> > bla\par\presentationstep bla? How to do the trick?
>
>Look at s-pre-00.tex, there are some comments there which might help.

Yes, sorry, it was not that difficult. Now I have this file:

\input s-pre-02

\enablepresentationstep
\definereference[Whatever][JS(NextPresentation{\realfolio})]
\definecolor[StepColor][BackgroundColor]

\starttext

    \dorecurse{10}{This is some great text! }

    \presentationstep

    The even greater rest.

    \page

    Hallo

\stoptext

I get a stepwise result now.  Two problems remain, the first one very annoying:

1) The final line before \presentationstep gets cut at the baseline, 
resulting into truncated letters g, j etc.
This makes it unusable. In s-pre-00.tex I found
\def\dopresentationstep#1% not ok yet
   {...
       \def\presentationshade%
         {\presentationshield
            [\c!breedte=\tekstbreedte,\c!hoogte=\presentationstepheight]{}}
   ...}
I think the height has to be increased here (by the depth of a \strut)? I 
tried it and it worked ok for the text lines, but the shields overlap from 
the text into the page area. How to do it?

2) How to bind the Whatever reference to a key, the return key if possible? 
Any action that does a nextpage now should do a Whatever instead.
(probably very basic)


> > ps: is there a setup command to change the default text colour
> > including the colour of captions?
>
>Again look at s-pre-01.tex which colors are used. Override with:
>
>\definecolor[white][blue]
>
>for example, or hack s-pre-01.tex

To be precise: I want to change the colour of the glyphs from black to 
something, not the colour of the background. I am sure there is a command 
for this, but I can't find it...

Eckhart


Reply via email to