ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Formating verbatim text
@ 2010-12-03  9:40 Khaled Hosny
  2010-12-03 14:24 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Khaled Hosny @ 2010-12-03  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The following is listed on the wiki but does not work in MkIV, the
commands are just typeset verbatim as well.

\setuptyping[option=commands]
\starttext
\starttyping
/BTEX{\em aa}/ETEX
\stoptyping
\stoptext

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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: Formating verbatim text
  2010-12-03  9:40 Formating verbatim text Khaled Hosny
@ 2010-12-03 14:24 ` Wolfgang Schuster
  2010-12-04 19:00   ` Khaled Hosny
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2010-12-03 14:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 03.12.2010 um 10:40 schrieb Khaled Hosny:

> The following is listed on the wiki but does not work in MkIV, the
> commands are just typeset verbatim as well.

The mechanism has changed in MkIV, you can now write

\setuptyping[escape=yes]

\starttyping
normal /BTEX\em emphasized/ETEX normal
normal /BTEX\bf bold/ETEX normal
\stoptyping

or you set your own delimiters with

\setuptyping[escape={[[,]]}]

\starttyping
normal [[\em emphasized]] normal
normal [[\bf bold]] normal
\stoptyping

Wolfgang

___________________________________________________________________________________
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: Formating verbatim text
  2010-12-03 14:24 ` Wolfgang Schuster
@ 2010-12-04 19:00   ` Khaled Hosny
  0 siblings, 0 replies; 3+ messages in thread
From: Khaled Hosny @ 2010-12-04 19:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Dec 03, 2010 at 03:24:35PM +0100, Wolfgang Schuster wrote:
> 
> Am 03.12.2010 um 10:40 schrieb Khaled Hosny:
> 
> > The following is listed on the wiki but does not work in MkIV, the
> > commands are just typeset verbatim as well.
> 
> The mechanism has changed in MkIV, you can now write
> 
> \setuptyping[escape=yes]
> 
> \starttyping
> normal /BTEX\em emphasized/ETEX normal
> normal /BTEX\bf bold/ETEX normal
> \stoptyping
> 
> or you set your own delimiters with
> 
> \setuptyping[escape={[[,]]}]
> 
> \starttyping
> normal [[\em emphasized]] normal
> normal [[\bf bold]] normal
> \stoptyping

Great! Thanks.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___________________________________________________________________________________
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-12-04 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-03  9:40 Formating verbatim text Khaled Hosny
2010-12-03 14:24 ` Wolfgang Schuster
2010-12-04 19:00   ` Khaled Hosny

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