[dev-context] \dowithbuffer adds unwanted space

Wolfgang Schuster schuster.wolfgang at googlemail.com
Mon Nov 7 09:46:24 CET 2011


Hi Hans,

there is a extra space at the end of the buffer content.

\def\starttest
  {\dowithbuffer{testbuffer}{starttest}{stoptest}\relax\processtest}

\def\processtest{“\ctxcommand{getbuffer("testbuffer")}”}
%\def\processtest{“\ctxcommand{getbuffer("testbuffer")}\removeunwantedspaces”}

\starttext

\starttest TEST\stoptest

\starttest TEST \stoptest

\stoptext

Wolfgang



More information about the dev-context mailing list