ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [***SPAM***] problem with \setuptyping[option=LUA, escape=//]
@ 2010-08-25 13:04 Peter Münster
  2010-08-25 15:33 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2010-08-25 13:04 UTC (permalink / raw)
  To: ConTeXt list

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/


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [***SPAM***] problem with \setuptyping[option=LUA, escape=//]
  2010-08-25 13:04 [***SPAM***] problem with \setuptyping[option=LUA, escape=//] Peter Münster
@ 2010-08-25 15:33 ` Hans Hagen
  2010-08-26  7:06   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2010-08-25 15:33 UTC (permalink / raw)
  To: ConTeXt list

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
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: problem with \setuptyping[option=LUA, escape=//]
  2010-08-25 15:33 ` Hans Hagen
@ 2010-08-26  7:06   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2010-08-26  7:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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/


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-26  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-25 13:04 [***SPAM***] problem with \setuptyping[option=LUA, escape=//] Peter Münster
2010-08-25 15:33 ` Hans Hagen
2010-08-26  7:06   ` Peter Münster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).