On Wed, Aug 25 2010, Hans Hagen wrote:
\definetyping[LUA] \setuptyping[LUA][option=LUA,escape={/btex,/etex}]
Hopefully you wikify this
Hello Hans, I don't know what to wikify, because I don't understand what is supposed to work and what is not. Here another example with strange behaviour: \startbuffer[typefile-test] btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopbuffer \savebuffer[typefile-test][typefile-test] \definetyping[LUA] \starttext \section{file=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=xxx-yyy} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={XXX,YYY}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=btex-etex} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={/btex,/etex}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \startLUA \stopLUA \typefile{typefile-test} % now it works \stop \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/