"^Nitram^" <[EMAIL PROTECTED]> writes:

Hi,

> I try to define new command with typing in this way:
> \def\Command#1%
> {
>  \framed[options]
>  {
>   \starttyping
>   #1
>   \stoptyping
>  }
> }

Don't mess with verbatim stuff in commands. Don't ask why, just don't
do it ;-)


And: TeX != C. Don't write C-like TeX-braces: 

{
 \this
  {
  \that
   {

This will give you a hard time looking for unwanted spaces.

Use % or better: write 

\def\Command#1%
     {\framed[...]%


> How I can do it - put ConTeXt code to own frame ?...

\definetyping
   [nitram]
   [before=\startframedtext,
    after=\stopframedtext]
\starttext
\startnitram
crazy
\stopnitram
\stoptext


Patrick
-- 
Silent is the goldfish in its bowl
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to