[NTG-context] help on def & buffer

Erik Margraf erik.margraf at gmail.com
Wed Mar 30 09:27:49 CEST 2016


Dear List,

please help me with my problem here ....

I - probably naively - tried the following:
------------------------

\starttext


\def\Buffer#1#2

{

\startbuffer[#1]

\input #2

\stopbuffer

}

\Buffer{bla}{knuth}


\stoptext

-------------------------


Context gives me the following error on this:


tex error > tex error on line 9 in file
C:/Users/emargraf/Documents/buffer.tex: ! Undefined control sequence



\Buffer ...startbuffer [#1] \input #2 \stopbuffer

l.9 \Buffer{bla}{knuth}


-----------------------


Kind regards

Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160330/6dc421d3/attachment.html>


More information about the ntg-context mailing list