Re: [PPower4] pause.sty and vertical spacing

2003-10-28 Thread Marc van Dongen
Klaus Guntermann ([EMAIL PROTECTED]) wrote:

: Indeed that would be nice. But I do not have an idea how to achieve
: that. 
: The problem is that \pause inserts something into the resulting pdf/dvi
: output stream to control the post processor. Thus there is some care
: needed to place the uses properly, because TeX may insert glue before
: or after the almost invisible \pause, if you do not take care.
: Because of this the manual suggests to put the \pause close to printed
: material.

In my experience vertical layout only screws up between paragraphs.
Most of the time it helps to put the pause at the end of the paragraph
after which you want a pause. Make sure to put it immediately after
something that is printable.

If you put the pause at the start of a paragraph before which you want a pause
then in my experience the vertical layout frequently (if not always) screws up

Regards,



Marc van Dongen


Re: [PPower4] pause.sty and vertical spacing

2003-10-28 Thread Klaus Guntermann
Marc van Dongen writes:
  If you put the pause at the start of a paragraph before which you want a pause
  then in my experience the vertical layout frequently (if not always) screws up

Marc is right. 
In such cases the sequence
\leavevmode\pause
may help though, if you cannot put the \pause at the end of the
previous section, e.g. because that was verbatim material.

Klaus
-- 
Klaus Guntermann[EMAIL PROTECTED]
FG Systemprogrammierung, FB Informatik, TU Darmstadt
Wilhelminenstr. 7, 64283 Darmstadt, Germany


Re: [PPower4] pause.sty and vertical spacing

2003-10-28 Thread Marc van Dongen
Klaus Guntermann ([EMAIL PROTECTED]) wrote:

: In such cases the sequence
: \leavevmode\pause
: may help though, if you cannot put the \pause at the end of the
: previous section, e.g. because that was verbatim material.

That worked and was useful.

For lecture presentations I have an environment that puts lines
at the start and end.

--
$ echo Helo world
Hello word
$
--

 Before I could never do the following:
Have a pause immediately after the script (because of bad vertical
alignment). This is why I had to resort to putting the \pause inside
the environment for the script but that way the line at the end of
the script wouldn't be printed. Now it works. Great

Regards,


Marc


[PPower4] pauselevel for graphics

2003-10-28 Thread Shrirang K. Karandikar
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));}