ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Math Euler and mp-graph
Date: Thu, 13 Feb 2003 18:22:28 +0000	[thread overview]
Message-ID: <20030213182228.17387@news.comp.lancs.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 1444 bytes --]

Hello, Hans, all,

I'm trying to finalise my euler-math typescripts and type encodings. It
seems to work everywhere, except in metapost mode. It's a mystery. My
latest math-eul and type-eul are attached, (play along at home! put them
in your tex/context/third directory! Now with eulerbold!) and when the
following is run with them, I don't get any decimals in the numerical labels.

\usemodule [graph]

\startMPenvironment%[global]
\usetypescriptfile[type-eul]
\usetypescript[eul]
\setupbodyfont[eul,10pt]
\stopMPenvironment

\starttext

\startMPcode
draw begingraph(100mm,50mm);
  setcoords(linear,log);
  setrange(0,0.01,2,1.0);
  autogrid(itick.bot,itick.lft) withcolor .75white ;
  endgraph;
\stopMPcode


\stoptext

...I've tried the same code with math times and computer modern, and they
work fine. Does anyone have a clue why metapost/metafun would be
inserting something other than a normal mathperiod? That's the only guess
I have as to where it might be happening. I spent a morning meditating on
mp-form, mp-grph, and the like, but did not reach enlightenment.

Can anyone else using m-graph confirm this behaviour?

Cheers,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: euler.zip --]
[-- Type: application/zip, Size: 2132 bytes --]

             reply	other threads:[~2003-02-13 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-13 18:22 Adam Lindsay [this message]
2003-02-14 14:10 ` Otared Kavian
2003-02-14 14:31   ` Adam Lindsay
2003-02-17  7:53     ` Otared Kavian

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=20030213182228.17387@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --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).