[NTG-context] ConTeXt gobble my mind

Hans Hagen pragma at wxs.nl
Fri Nov 7 16:17:04 CET 2014


On 11/7/2014 2:26 PM, Pierre-Fran├žois Bonnefoi wrote:
> Hello Hans,
>
> thank you for contributing to solve my problem.
>
> I've tried your proposition : how can I get the content of the buffer
> afterward ?
> I've tried \getbuffer[Slide] with no success on MKIV beta that I've just
> updated.

\starttext

\definebuffer[Slide]

foo

\startSlide
bla bla bla
\starttyping
language C code
\stoptyping
bla bla bla
\stopSlide

bar

\getbuffer[\thedefinedbuffer{Slide}]

\getSlide

\stoptext


> Does a buffer work only for verbatim content ?

no, for everything

> best regards,
> Pierre-Fran├žois.
>
> On 07 Nov 2014, at 12:38, Hans Hagen <pragma at wxs.nl
> <mailto:pragma at wxs.nl>> wrote:
>
>>
>> \starttext
>>
>> \definebuffer[Slide]
>>
>> foo
>>
>> % \skipSlide
>> \startSlide
>> bla bla bla
>> \startyping
>> language C code
>> \stoptyping
>> bla bla bla
>> \stopSlide
>>
>> bar
>>
>> \stoptext
>>
>>
>
> --
> Bonnefoi Pierre-Francois                |    E-mail : bonnefoi at unilim.fr
> <mailto:bonnefoi at unilim.fr> http://libpfb.so/
> Universite de Limoges, Laboratoire XLIM |       Tel : 06 28 18 03 38
> 123 av Albert Thomas                    |  Mrs. Peel, we're needed...
> 87060 Limoges CEDEX - FRANCE            |                 The Avengers.
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------


More information about the ntg-context mailing list