ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marko Schuetz <MarkoSchuetz@web.de>
Subject: escaping from \starttyping...\stoptyping
Date: Wed, 07 Nov 2001 22:48:38 +0100	[thread overview]
Message-ID: <20011107224838X.marko@kinetic.ki.informatik.uni-frankfurt.de> (raw)

I want to use ConTeXt macros from within typing, like

\define[1]\mysquare{#1$^2$}

\starttyping
this is verbatim text /mysquare{j}
\stoptyping

it works with macros that do not take arguments, but with arguments
the open curly brace seems to be considered for the macro name and an
undefined ... error is produced. 

A related problem is that I cannot have e.g. a comma after a macro
name because then also the name is not recognized.

Help will be appreciated! :-)

Marko


             reply	other threads:[~2001-11-07 21:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-07 21:48 Marko Schuetz [this message]
     [not found] <20011107224838X.marko@kinetic.ki.informatik.uni-frankfurt. de>
2001-11-08  9:19 ` Hans Hagen
2001-11-08 10:47   ` Marko Schuetz
     [not found] ` <20011108114700B.marko@kinetic.ki.informatik.uni-frankfurt. de>
2001-11-08 13:20   ` Hans Hagen
2001-11-09 13:31     ` Marko Schuetz
     [not found]   ` <20011109143114Y.marko@kinetic.ki.informatik.uni-frankfurt. de>
2001-11-12 11:26     ` Hans Hagen
2001-11-12 13:24       ` Marko Schuetz

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=20011107224838X.marko@kinetic.ki.informatik.uni-frankfurt.de \
    --to=markoschuetz@web.de \
    --cc=marko@ki.informatik.uni-frankfurt.de \
    /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).