ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \asciimode and cld
@ 2011-05-27  9:00 Peter Münster
  2011-05-27 13:07 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2011-05-27  9:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

How can one use \asciimode in cld syntax?

This does not seem to work:

context.starttext()
context.asciimode()
context"bla % bla"
context.stoptext()

TIA for any hints!

-- 
           Peter
___________________________________________________________________________________
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: \asciimode and cld
  2011-05-27  9:00 \asciimode and cld Peter Münster
@ 2011-05-27 13:07 ` Hans Hagen
  2011-05-27 13:46   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2011-05-27 13:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

On 27-5-2011 11:00, Peter Münster wrote:
> Hello,
>
> How can one use \asciimode in cld syntax?
>
> This does not seem to work:
>
> context.starttext()
> context.asciimode()
> context"bla % bla"
> context.stoptext()

\starttext

     \startluacode
         context.startTEXpage()
             context.starttext()
             context.pushcatcodes("txtcatcodes")
             context("bla % bla")
             context.popcatcodes()
             context.stoptext()
         context.stopTEXpage()
     \stopluacode

\stoptext


-----------------------------------------------------------------
                                           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: \asciimode and cld
  2011-05-27 13:07 ` Hans Hagen
@ 2011-05-27 13:46   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2011-05-27 13:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Peter Münster

On 27-5-2011 3:07, Hans Hagen wrote:
> On 27-5-2011 11:00, Peter Münster wrote:
>> Hello,
>>
>> How can one use \asciimode in cld syntax?
>>
>> This does not seem to work:
>>
>> context.starttext()
>> context.asciimode()
>> context"bla % bla"
>> context.stoptext()
>
> \starttext
>
> \startluacode
> context.startTEXpage()
> context.starttext()
> context.pushcatcodes("txtcatcodes")
> context("bla % bla")
> context.popcatcodes()
> context.stoptext()
> context.stopTEXpage()
> \stopluacode
>
> \stoptext

better

\startluacode
context.startTEXpage()
context.pushcatcodes("txtcatcodes")
context("bla % bla")
context.popcatcodes()
context.stopTEXpage()
\stopluacode



-----------------------------------------------------------------
                                           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

end of thread, other threads:[~2011-05-27 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27  9:00 \asciimode and cld Peter Münster
2011-05-27 13:07 ` Hans Hagen
2011-05-27 13:46   ` Hans Hagen

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).