Hi,

First of all, thanks for a great package. I've been looking for a
latex based powerpt. replacement, and this comes the closest. 

On to my question: leveldemo includes the first three layers and removes
the first two as the page is built. What I am trying to do is insert and
remove layers drawn in xfig as the page is built. To be more specific,
I'd like to build a slide as follows (each step corresponding to
'pagedown'):

1. display layer x
2. display layers x-1 and x-2
3. display layers x-3 and remove layer x-1
4. display layer x-4

and so on. I put in the following for the user-defined pause macro:

\pausecount=1%
\def\mypause{%
\showthe\pausecount%just for debugging
\ifcase\pausecount%
\pauselevel{=1}\pause\or%displays LWGH1.0
\pauselevel{=2}\pause\or%displays LWGH1.1
\pauselevel{=3}\pause\or%displays LWGH1.2
\pauselevel{=4 :5}\or%this is the boundary between LWGH1.3 & 4!!
\pauselevel{=5}\pause\or%displays LWGH1.4 (with prev)
\pauselevel{=6}\pause\or%displays LWGH1.5
\pauselevel{=7}
\else%
\pause
\relax\fi% all other levels no assignment
\advance\pausecount by 1\relax}% and increment the counter

With this, LWGH1.3 and 4 are shown at the same time as expected,
but if I understand this correctly, LWGH1.3 should be removed after
level 5. Unfortunately this does not happen. About the only thing that
kindof works is:

\pauselevel{=4 :5}\or%this is the boundary between LWGH1.3 & 4!!
\pauselevel{=5 :6}\pause\or%displays LWGH1.4 (with prev)

, but then at layer 6 *both* LWGH1.3 and LWGH1.4 disappear.

how do I get this to work 'correctly'?

a less critical question: is it possible to display the current level? I
tried \showthe\pauselevel, but (la)tex didn't like that very much. It
would help debugging quite a bit, rather than looking at the pdf output
and trying to guess what was going on...

Shrirang

-- 
main(int in,char *inn[] ) {((in=='+'-'+'+'/'/'/')&& (inn['+'-'+']=")(Tisjsb\
oh!L/!Lbsboejlbs\n\n\n\n\ntsjsbohAfdf/vno/fev)in);" )&&main('/'/'/'+'/'/'/',
inn))||(!!in&&(inn[ '-'-'-'][in]==0x29)&& !!'(' &&putchar(012))|| ('/'/'/'&&
putchar(inn['-'-'-' ][ in]-'/'/'/'+'+'-'+')&&main(in+'/'/'/'+'+'-'+',inn));}

Reply via email to