Re: \visible[from number1 to number2]

Nordhaug Hans Fredrik <[email protected]> Thu, 7 Aug 2014 11:41:41 +0000
Newsgroups gmane.comp.tex.texpower.user
Message-ID <[email protected]>
Hi, Ranousse!

I don't have time to look at this, but you should know:

1) TeXPower is a dead project. It has been years since I had time to look at 
it or fix issues. 
2) Most people, me included, has switched to Beamer.

Best regards,
Hans Nordhaug - maintainer.

PS! I do accept patches and will find time to release a new version if necessary.

Ranousse wrote on the 2014-08-07:
> \parstepwise{%
>   \step[][\value{step}=1\or\value{step}=2]{a -- on 1 and 2}\\
>   \step[][\value{step}=2\or\value{step}=3]{b -- on 2 and 3}\\
>   \step[][\value{step}=3\or\value{step}=4]{c -- on 3 and 4}% }
>   
> The previous code does not work as intented.
> The last step is shown when step=3 but not when step=4
> because totalsteps=3.
> Is there a way to force totalsteps to be 4 ?
> 
> More generally I would like to write a macro \visible that could be
> used like this :
>      \visible[3, 5]{text} % text is shown on step 3, 4 and 5 only.
>      
> Without the problem shown above, such a macro could be :
> \def\visible[#1,#2]{\step[\value{step}=#1][\not\value{step}<#1\and\not\value{step}>#2]}

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk