ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johan Sandblom <Johan.Sandblom@cns.ki.se>
Subject: passing arguments to commands while typing
Date: Thu, 08 Jul 2004 19:18:53 +0200	[thread overview]
Message-ID: <382a63c76b.3c76b382a6@ki.se> (raw)

While documenting some Matlab code for barely computer literates I wish to use the positional graphics described in the MetaFun manual. Not sure if this is possible of course. I am not at all successful so far since I cannot get the escaping mechanism to accept my code. It appears that the /hpos works just fine but the {} generate problems. I have tried using <<>> in all ways I could think of but haven't been lucky yet. Is this possible?

Minimal example:

\setuppapersize[S6][S6]
\setuptyping[option=commands]
\starttext
\starttyping
test /hpos{word}{test} test
\stoptyping
\stoptext

-- 
Johan Sandblom  N8,MRC          "Good judgment comes              
                Karolinska sjh   from experience.
t +46851776108  17176 Stockholm  Experience comes
m +46735521477  Sweden           from bad judgment."

             reply	other threads:[~2004-07-08 17:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08 17:18 Johan Sandblom [this message]
2004-07-14 14:04 ` 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=382a63c76b.3c76b382a6@ki.se \
    --to=johan.sandblom@cns.ki.se \
    --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).