ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Trouble with percent character in ConTeXt text (programm code typing)
@ 2010-08-24 13:53 Jaroslav Hajtmar
  2010-08-24 14:15 ` Wolfgang Schuster
  0 siblings, 1 reply; 13+ messages in thread
From: Jaroslav Hajtmar @ 2010-08-24 13:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello all...

I am converting any manual from HTML to ConTeXt.
There are a lot of programm code. and in the code is very often % 
character.
Ther is no problem in \startyping - \stoptyping environment, but I need 
using this in text ... for example

The sequence \type{%0} stands for the whole match. The sequence 
\type{%%} stands for a single~\type{%}.
or
For instance, the call \type{string.format('%q', 'a string with "quotes" 
and \n new line')} will produce the string:
...
etc..

1.

It is clear that this can not work, but is there any satisfactory solution??
Something like \startypingintext  ...  \stoptypingintext  i.e. intext 
typing environment..


2.
in html code is often emphasis found inside the program code
for example:
<code>\<em>ddd</em></code>,

Maybe it's a dumb question, but may be inside emphasis inside verbatim 
(\startyping - \stoptyping) environment??

Thanx Jaroslav

___________________________________________________________________________________
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] 13+ messages in thread

end of thread, other threads:[~2010-08-25 19:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 13:53 Trouble with percent character in ConTeXt text (programm code typing) Jaroslav Hajtmar
2010-08-24 14:15 ` Wolfgang Schuster
2010-08-24 14:30   ` Jaroslav Hajtmar
2010-08-25  7:27   ` Trouble with # character in TABLE environment Jaroslav Hajtmar
2010-08-25  9:46     ` Hans Hagen
2010-08-25 10:07       ` Trouble with # character in TABLE environment...& trouble with \starttyping environment too Jaroslav Hajtmar
2010-08-25 11:34         ` Hans Hagen
2010-08-25 18:49           ` Jaroslav Hajtmar
2010-08-25 18:55             ` Hans Hagen
2010-08-25 18:59           ` Aditya Mahajan
2010-08-25 19:03             ` Hans Hagen
2010-08-25 10:42       ` [***SPAM***] Re: Trouble with # character in TABLE environment Peter Münster
2010-08-25 11:26         ` 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).