Ups, didn't expect that ...  ;-)
Thanks Wolfgang! Actually your version works, Hans' version does not ...
(could try them only now)

Kind regards
Erik

On Wed, Mar 30, 2016 at 2:46 PM, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
30. März 2016 um 10:11


\startbuffer .. \stopbuffer is parsed special

so use:

\def\Buffer#1#2
  {\setbuffer[#1]{\input #2\relax}}
\def\Buffer#1#2%
  {\setbuffer[#1]\input{#2}\endbuffer}

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