ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: ConTeXt gobble my mind
Date: Fri, 07 Nov 2014 16:17:04 +0100	[thread overview]
Message-ID: <545CE270.5090700@wxs.nl> (raw)
In-Reply-To: <114DDC9F-21C9-4B72-8F07-D71F3428C54F@unilim.fr>

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@wxs.nl
> <mailto:pragma@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@unilim.fr
> <mailto:bonnefoi@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@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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

  reply	other threads:[~2014-11-07 15:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06  9:35 Pierre-François Bonnefoi
2014-11-06 11:16 ` luigi scarso
2014-11-06 12:36   ` Pierre-François Bonnefoi
2014-11-06 12:46     ` luigi scarso
2014-11-06 13:00     ` Herbert Voss
2014-11-06 13:30       ` Pierre-François Bonnefoi
2014-11-06 12:12 ` Wolfgang Schuster
2014-11-06 12:59   ` Pierre-François Bonnefoi
2014-11-06 13:12     ` luigi scarso
2014-11-06 13:29       ` Pierre-François Bonnefoi
2014-11-07 11:38         ` Hans Hagen
2014-11-07 13:26           ` Pierre-François Bonnefoi
2014-11-07 15:17             ` Hans Hagen [this message]
2014-11-07 23:00               ` Pierre-François Bonnefoi
2014-11-08 11:08                 ` Wolfgang Schuster
2014-11-09 13:34                   ` Pierre-François Bonnefoi
2014-11-09 14:17                     ` Hans Hagen
2014-11-06 16:57 ` Keith J. Schultz
2014-11-07 10:59   ` Pierre-François Bonnefoi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545CE270.5090700@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).