Re: [NTG-context] sectionblockenvironment not working?

2009-08-09 Thread Hans Hagen

Wolfgang Schuster wrote:


Am 08.08.2009 um 16:28 schrieb B. Vogel:


Hi all,

I can't get the example below working.
Is there a problem with the sectionblockenvironment?



the problem is there since a while

\unprotect

\def\dostartstructureblockenvironment[#1]% evt \pushendofline \popendofline
  {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
   
\grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s!do#1\endcsname}} 



\def\dostartsectionblockenvironment[#1]% evt \pushendofline \popendofline
  {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
   
\grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s!do#1\endcsname}} 



\def\getstructureblockenvironment#1%
  {\let\do\firstofoneargument
   \csname\??nb\s!do#1\endcsname}

\protect


ok, applied (i'll look into it later as this mechanism needs some 
cleanup anyway)



-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sectionblockenvironment not working?

2009-08-08 Thread Wolfgang Schuster


Am 08.08.2009 um 16:28 schrieb B. Vogel:


Hi all,

I can't get the example below working.
Is there a problem with the sectionblockenvironment?



the problem is there since a while

\unprotect

\def\dostartstructureblockenvironment[#1]% evt \pushendofline  
\popendofline

  {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
   \grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s! 
do#1\endcsname}}


\def\dostartsectionblockenvironment[#1]% evt \pushendofline  
\popendofline

  {\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
   \grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s! 
do#1\endcsname}}


\def\getstructureblockenvironment#1%
  {\let\do\firstofoneargument
   \csname\??nb\s!do#1\endcsname}

\protect

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sectionblockenvironment not working?

2009-08-08 Thread B. Vogel
Thanks, it is working nicely. 

On Saturday 08 August 2009, Wolfgang Schuster wrote:
 Am 08.08.2009 um 16:28 schrieb B. Vogel:
  Hi all,
 
  I can't get the example below working.
  Is there a problem with the sectionblockenvironment?

 the problem is there since a while

and the solution too, looking at the speed of your answer.

Is there a reason for not merging your patch besides Hans being busy?

Regards,

Bernard


 \unprotect

 \def\dostartstructureblockenvironment[#1]% evt \pushendofline
 \popendofline
{\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
 \grabuntil{\e!stop\v!structureblockenvironment}{\csname\??nb\s!
 do#1\endcsname}}

 \def\dostartsectionblockenvironment[#1]% evt \pushendofline
 \popendofline
{\long\def\do##1##2{\setstructureblockenvironment{#1}{##1##2}}%
 \grabuntil{\e!stop\v!sectionblockenvironment}{\csname\??nb\s!
 do#1\endcsname}}

 \def\getstructureblockenvironment#1%
{\let\do\firstofoneargument
 \csname\??nb\s!do#1\endcsname}

 \protect

 Wolfgang

 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___



___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] sectionblockenvironment not working?

2009-08-08 Thread Wolfgang Schuster


Am 08.08.2009 um 17:37 schrieb B. Vogel:


Is there a problem with the sectionblockenvironment?


the problem is there since a while


and the solution too, looking at the speed of your answer.

Is there a reason for not merging your patch besides Hans being busy?


i wrote the patch an hour ago, hans will fix it (i guess in a  
different way)

when he has time to read the mail

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___