ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Trouble with percent character in ConTeXt text (programm code typing)
Date: Tue, 24 Aug 2010 16:30:34 +0200	[thread overview]
Message-ID: <4C73D78A.2050708@gyza.cz> (raw)
In-Reply-To: <4C73D41B.7030300@googlemail.com>

Very sorry ... I compiled (it be set for simplify work :-(  ) main 
project, not my minimal example... I found error in code on the same row..
after several hours is difficult for me to look for errors
Thank you to help and sorry...

Jaroslav



Dne 24.8.2010 16:15, Wolfgang Schuster napsal(a):
>  Am 24.08.10 15:53, schrieb Jaroslav Hajtmar:
>> 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..
>
> What prevents you from testting this yourself, \type{%} produce a '%' 
> in the text.
>
>> 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??
>
> Yes, it's possible to use style commands in verbatim mode but the 
> mechanism in MkII and MkIV
> are different and it's important to know which system you use.
>
> 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
___________________________________________________________________________________


  reply	other threads:[~2010-08-24 14:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24 13:53 Jaroslav Hajtmar
2010-08-24 14:15 ` Wolfgang Schuster
2010-08-24 14:30   ` Jaroslav Hajtmar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C73D78A.2050708@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).