I had this code working (it was in an article I submitted for NTG-MAPS a while ago, july 2007). Now this same code gives an error on getbuffer. What happened to getbuffer? Is it possible a \fi has disappeared in the getbuffer code between now and last july? Is there a quick patch because now I get stuck on work that has to be finished.
The error message from TeX: ! Incomplete \ifx; all text was ignored after line 6. <inserted text> \fi <to be read again> \relax \dodoreadfile ...d \relax \fi \dodoreadfileindeed \relax \the \everyafterrea... \mkdobuffer #1->\beginrestorecatcodes #1 \endrestorecatcodes \dodobuffer ...dcsname \else #2\fi }\mkdobuffer #1 \popmacro \currentbuffer \dodogetbuffer ...}\dobuffer {16}{#2}\mkgetbuffer \getvalue {\??bu #1\c!after } ... l.111 \question[number=1][buffer]{\getbuffer} The relevant part of the code, not working is the call to [EMAIL PROTECTED]: ... \doifelse{#2}{\v!buffer}% {\def\filename{buffer}\def\thefile{#3}\let\@@[EMAIL PROTECTED] {.....}% \@@exminput\thefile \endgroup} % reading the file better outside the doif [EMAIL PROTECTED] [EMAIL PROTECTED] Help is appreciated. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________