ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: using symbols in MetaFun
Date: Sat, 11 Feb 2006 05:28:19 +0100	[thread overview]
Message-ID: <6faad9f00602102028x561190b7yac4851df28598c08@mail.gmail.com> (raw)

Hello,

I have a "conversion" defined in the following way:

\usesymbols[jmn]
\defineconversion
   [gnuplot]
   [$\bullet$,
    $\circ$,
    $\star$,
    x,
    {\symbol[navigation 1][NextJump]}]

I would like to use these symbols in a macro
    draw_symbol(x,y,number)
so that
    draw_symbol(0,0,3)
would draw a star in the origin.

The problem is that I don't know:
- how to use symbol sets inside MetaFun (verbatimtex \usesymbols[jmn]
etex doesn't work here)
- how to enable
    label(btex \convertnumber{gnuplot}{5} etex, (x,y))
  to work properly in metafun (no luck with verbatimtex ... etex again)

Any hints would be appreciated.

Thanks,
    Mojca

             reply	other threads:[~2006-02-11  4:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-11  4:28 Mojca Miklavec [this message]
2006-02-12 19:03 ` Taco Hoekwater
2006-02-13 11:22   ` Hans Hagen
2006-02-13 10:44 ` Hans Hagen
2006-02-15 15:42   ` Mojca Miklavec

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=6faad9f00602102028x561190b7yac4851df28598c08@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).