ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* buffer broken?
@ 2012-01-11 10:11 Hans van der Meer
  2012-01-11 10:33 ` luigi scarso
  2012-01-11 12:10 ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: Hans van der Meer @ 2012-01-11 10:11 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 491 bytes --]

Something must have been changed with buffers between the versions:
ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
and
ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11

Formerly this was ok:
\startbuffer[abc]
whatever
\stopbuffer

Now I get: ! Missing } inserted.

Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past.

Hans van der Meer




[-- Attachment #1.2: Type: text/html, Size: 3424 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 10:11 buffer broken? Hans van der Meer
@ 2012-01-11 10:33 ` luigi scarso
  2012-01-11 11:52   ` Meer, H. van der
  2012-01-11 12:10 ` Hans Hagen
  1 sibling, 1 reply; 7+ messages in thread
From: luigi scarso @ 2012-01-11 10:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 629 bytes --]

On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer <havdmeer@xs4all.nl>wrote:

> Something must have been changed with buffers between the versions:
> ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
> and
> ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11
>
> Formerly this was ok:
> \startbuffer[abc]
> whatever
> \stopbuffer
>
> Now I get: ! Missing } inserted.
>
> Because running this in isolation goes without a problem, I suspect the
> change has to do with the project structure in which I use the buffer. But
> again, it worked in the past.
>
Does it works with
\setbuffer[abc]
whatever
\endbuffer
?


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 3969 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 10:33 ` luigi scarso
@ 2012-01-11 11:52   ` Meer, H. van der
  2012-01-11 12:13     ` luigi scarso
  2012-01-11 18:14     ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: Meer, H. van der @ 2012-01-11 11:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1097 bytes --]



On 11 jan. 2012, at 11:33, luigi scarso wrote:



On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer <havdmeer@xs4all.nl<mailto:havdmeer@xs4all.nl>> wrote:
Something must have been changed with buffers between the versions:
ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
and
ConTeXt  ver: 2012.01.09 10<tel:2012.01.09%2010>:08 MKIV  fmt: 2012.1.11

Formerly this was ok:
\startbuffer[abc]
whatever
\stopbuffer

Now I get: ! Missing } inserted.

Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past.
Does it works with
\setbuffer[abc]
whatever
\endbuffer
?


It works with these macros, yes. Thanks.

But is \setbuffer..\endbuffer something new? I do not see it on the Reference page of the wiki. Also it doesn't seem in line with ConTeXt's regular naming scheme of \startsomething..\stopsomething.
Can you give somewhat more information, for examle what is the difference between \setbuffer and \startbuffer?


Hans van der Meer


[-- Attachment #1.2: Type: text/html, Size: 6171 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 10:11 buffer broken? Hans van der Meer
  2012-01-11 10:33 ` luigi scarso
@ 2012-01-11 12:10 ` Hans Hagen
  2012-01-11 12:14   ` luigi scarso
  1 sibling, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2012-01-11 12:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans van der Meer

On 11-1-2012 11:11, Hans van der Meer wrote:
> Something must have been changed with buffers between the versions:
> ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
> and
> ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11
>
> Formerly this was ok:
> \startbuffer[abc]
> whatever
> \stopbuffer
>
> Now I get: ! Missing } inserted.
>
> Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past.

should be ok in today's beta


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 11:52   ` Meer, H. van der
@ 2012-01-11 12:13     ` luigi scarso
  2012-01-11 18:14     ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: luigi scarso @ 2012-01-11 12:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2270 bytes --]

On Wed, Jan 11, 2012 at 12:52 PM, Meer, H. van der <H.vanderMeer@uva.nl>wrote:

>
>
>  On 11 jan. 2012, at 11:33, luigi scarso wrote:
>
>
>
> On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer <havdmeer@xs4all.nl>wrote:
>
>> Something must have been changed with buffers between the versions:
>>  ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
>>  and
>>  ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11
>>
>>  Formerly this was ok:
>>  \startbuffer[abc]
>>  whatever
>>  \stopbuffer
>>
>>  Now I get: ! Missing } inserted.
>>
>>  Because running this in isolation goes without a problem, I suspect the
>> change has to do with the project structure in which I use the buffer. But
>> again, it worked in the past.
>>
>   Does it works with
>  \setbuffer[abc]
>  whatever
>  \endbuffer
>  ?
>
>
>  It works with these macros, yes. Thanks.
>
>  But is \setbuffer..\endbuffer something new? I do not see it on the
> Reference page of the wiki. Also it doesn't seem in line with ConTeXt's
> regular naming scheme of \startsomething..\stopsomething.
> Can you give somewhat more information, for examle what is the difference
> between \setbuffer and \startbuffer?
>
>
>  Hans van der Meer
>
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
Well, start/stopbuffer should work... and Hans said that it will be fixed
in the next beta.

The problems seems to be a missing \endgroup

\setuvalue{\e!start\v!buffer}%
  {\bgroup
   \obeylines
   \dosingleempty\buff_start}

\def\buff_start[#1]%
  {\buff_start_indeed{}{#1}{\e!start\v!buffer}{\e!stop\v!buffer}}

\def\buff_start_indeed#1#2#3#4% \donothing needed !
  {\normalexpanded{\buff_pickup{#2}{#3}{#4}{}{\buff_stop{#4}}}}

Perhaps it should be
\def\buff_start[#1]%
  {\buff_start_indeed{}{#1}{\e!start\v!buffer}{\e!stop\v!buffer}\egroup}



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 7195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 12:10 ` Hans Hagen
@ 2012-01-11 12:14   ` luigi scarso
  0 siblings, 0 replies; 7+ messages in thread
From: luigi scarso @ 2012-01-11 12:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1697 bytes --]

On Wed, Jan 11, 2012 at 1:10 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 11-1-2012 11:11, Hans van der Meer wrote:
>
>> Something must have been changed with buffers between the versions:
>> ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
>> and
>> ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11
>>
>> Formerly this was ok:
>> \startbuffer[abc]
>> whatever
>> \stopbuffer
>>
>> Now I get: ! Missing } inserted.
>>
>> Because running this in isolation goes without a problem, I suspect the
>> change has to do with the project structure in which I use the buffer. But
>> again, it worked in the past.
>>
>
> should be ok in today's beta
>
>
> ------------------------------**------------------------------**-----
>                                          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 <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/<http://foundry.supelec.fr/projects/contextrev/>
> wiki     : http://contextgarden.net
> ______________________________**______________________________**
> _______________________
>



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2756 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: buffer broken?
  2012-01-11 11:52   ` Meer, H. van der
  2012-01-11 12:13     ` luigi scarso
@ 2012-01-11 18:14     ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2012-01-11 18:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1609 bytes --]


Am 11.01.2012 um 12:52 schrieb Meer, H. van der:

> 
> 
> On 11 jan. 2012, at 11:33, luigi scarso wrote:
> 
>> 
>> 
>> On Wed, Jan 11, 2012 at 11:11 AM, Hans van der Meer <havdmeer@xs4all.nl> wrote:
>> Something must have been changed with buffers between the versions:
>> ConTeXt  ver: 2011.11.29 18:47 MKIV  fmt: 2011.12.31
>> and
>> ConTeXt  ver: 2012.01.09 10:08 MKIV  fmt: 2012.1.11
>> 
>> Formerly this was ok:
>> \startbuffer[abc]
>> whatever
>> \stopbuffer
>> 
>> Now I get: ! Missing } inserted.
>> 
>> Because running this in isolation goes without a problem, I suspect the change has to do with the project structure in which I use the buffer. But again, it worked in the past.
>> Does it works with 
>> \setbuffer[abc]
>> whatever
>> \endbuffer
>> ?
>> 
> 
> It works with these macros, yes. Thanks.
> 
> But is \setbuffer..\endbuffer something new?

No, it’s a old command but not very useful for a user.

> I do not see it on the Reference page of the wiki.

The original source for the reference pages didn’t provide a way to describe the syntax for \setbuffer but there are also many commands which are undocumented.

> Also it doesn't seem in line with ConTeXt's regular naming scheme of \startsomething..\stopsomething.
> Can you give somewhat more information, for examle what is the difference between \setbuffer and \startbuffer?

\setbuffer can’t be nested like \startbuffer and not a command which should be used in a document. It’s useful for internal use when one write macros where the regular buffer environment can’t be used.

Wolfgang

[-- Attachment #1.2: Type: text/html, Size: 7144 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-11 18:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-11 10:11 buffer broken? Hans van der Meer
2012-01-11 10:33 ` luigi scarso
2012-01-11 11:52   ` Meer, H. van der
2012-01-11 12:13     ` luigi scarso
2012-01-11 18:14     ` Wolfgang Schuster
2012-01-11 12:10 ` Hans Hagen
2012-01-11 12:14   ` luigi scarso

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