[***SPAM***] problem with \setuptyping[option=LUA, escape=//]
Hello, The "escape=//" option is ignored here: \setuptyping[option=LUA, escape=//] \starttext \starttyping bla // \em sometex \stoptyping \stoptext What could be done, to make it work? TIA for any help! Peter -- Contact information: http://pmrb.free.fr/contact/
On 25-8-2010 3:04, Peter Münster wrote:
The "escape=//" option is ignored here:
\setuptyping[option=LUA, escape=//] \starttext \starttyping bla // \em sometex \stoptyping \stoptext
What could be done, to make it work?
\definetyping[LUA] \setuptyping[LUA][option=LUA,escape={/btex,/etex}] \starttext \startLUA bla // /btex\em sometex /etex \stopLUA \stoptext Hopefully you wikify this Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
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/
participants (2)
-
Hans Hagen
-
Peter Münster