On 11/6/2014 2:29 PM, Pierre-François Bonnefoi wrote:
I can not define a mode for each of my slide neither I can express a list of activated slides.
On 06 Nov 2014, at 14:12, luigi scarso
mailto:luigi.scarso@gmail.com> wrote: On Thu, Nov 6, 2014 at 1:59 PM, Pierre-François Bonnefoi
mailto:bonnefoi@unilim.fr>wrote: Hello Wolfgang and Luigi,
My example lines are too small to fully understand the purpose of using the gobbleinput instruction : I have made some slides for my students that I can choose or not ton include in the final presentation :
\skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide
I've made some macros to include or not a slide according to its number given into a list or by just putting before the macro \skipSlide. This is very useful as I have students of different levels.
The gobbleinput solution is the best solution : I can activate or not a slide according to my audience.
If I use the buffer solution, I'll not be able to deactivate the whole slide containing the typing region.
Perhaps Modes ? http://wiki.contextgarden.net/Modes
\starttext \definebuffer[Slide] foo % \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide bar \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------