ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Trouble with # character in TABLE environment...
Date: Wed, 25 Aug 2010 09:27:16 +0200	[thread overview]
Message-ID: <4C74C5D4.4000509@gyza.cz> (raw)
In-Reply-To: <4C73D41B.7030300@googlemail.com>

Hello, all

Why is a problem with character # inside TABLE??
\type{#XXX} is without problem but inside TABLE is a problem with 
compilation

It works:
\bTABLE
\bTR
\bTD \type{\#patt}\eTD
\eTR
\eTABLE


Isnt works:
\bTABLE
\bTR
\bTD \type{#patt}\eTD
\eTR
\eTABLE

Is there solving the problem??
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
___________________________________________________________________________________


  parent reply	other threads:[~2010-08-25  7:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Jaroslav Hajtmar [this message]
2010-08-25  9:46     ` Trouble with # character in TABLE environment 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=4C74C5D4.4000509@gyza.cz \
    --to=hajtmar@gyza.cz \
    --cc=ntg-context@ntg.nl \
    /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).