ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Reconfigure mpgraph
@ 2006-02-11 14:44 Sebastian Sturm
  2006-02-12 11:11 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Sturm @ 2006-02-11 14:44 UTC (permalink / raw)


Hi,

I'd like to use the Metapost graph module together with the Euler math fonts.
Unfortunately, mpgraph seems to expect its label font to have the decimal
dot at position 46/2E, whereas according to \showfont the eurm10 dot is
at position 58/3A. This results in Metapost omitting all dots from the tick
mark labels. Is there an easy way to reconfigure mpgraph (I looked at the 
source code, but that seems very confusing to me) to look for
its dots at the other position?

Best regards,
Sebastian Sturm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reconfigure mpgraph
  2006-02-11 14:44 Reconfigure mpgraph Sebastian Sturm
@ 2006-02-12 11:11 ` Taco Hoekwater
  2006-02-12 14:31   ` Sebastian Sturm
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2006-02-12 11:11 UTC (permalink / raw)


Sebastian Sturm wrote:
> Hi,
> 
> I'd like to use the Metapost graph module together with the Euler math fonts.
> Unfortunately, mpgraph seems to expect its label font to have the decimal
> dot at position 46/2E, whereas according to \showfont the eurm10 dot is
> at position 58/3A. This results in Metapost omitting all dots from the tick
> mark labels. Is there an easy way to reconfigure mpgraph (I looked at the 
> source code, but that seems very confusing to me) to look for
> its dots at the other position?

Can't you use an Euler text font? These have the dot in the right place.

Cheers, Taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reconfigure mpgraph
  2006-02-12 11:11 ` Taco Hoekwater
@ 2006-02-12 14:31   ` Sebastian Sturm
  2006-02-12 17:58     ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Sturm @ 2006-02-12 14:31 UTC (permalink / raw)


> Can't you use an Euler text font? These have the dot in the right place.
> 
> Cheers, Taco

Hi,

I'm not sure what font you're referring to; it would at least have to include
all the Euler digits. I tried zeurm10, but it has a right-pointing triangle at
position 2e. The fonts in my bluesky/euler subdirectory (euex, eufb, eufm,
eurb, eurm, eusb and eusm) also don't work. Can you tell me the name
of the text font including the dot?

Thanks for your answer,
Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Reconfigure mpgraph
  2006-02-12 14:31   ` Sebastian Sturm
@ 2006-02-12 17:58     ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2006-02-12 17:58 UTC (permalink / raw)


Sebastian Sturm wrote:
>>Can't you use an Euler text font? These have the dot in the right place.
>>
>>Cheers, Taco

I'm sorry. I must have been half asleep when i wrote that, because I
wrote down absolute nonsense. I double-checked all my local font files,
and there is no way to actually do what I said, sorry.

The graph macros assume that the dot is in the standard ascii
location, and I don't dare trying to extend graph.mp to make that
configurable (I don't really understand those macros). In case
someone else whats to try: the macros that need extension are in
the file format.mp.

Sorry again,
Taco

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-12 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-11 14:44 Reconfigure mpgraph Sebastian Sturm
2006-02-12 11:11 ` Taco Hoekwater
2006-02-12 14:31   ` Sebastian Sturm
2006-02-12 17:58     ` Taco Hoekwater

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).