\def\Buffer#1#2%30. März 2016 um 10:11
\startbuffer .. \stopbuffer is parsed special
so use:
\def\Buffer#1#2
{\setbuffer[#1]{\input #2\relax}}
{\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
___________________________________________________________________________________