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
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
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
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
participants (2)
-
Sebastian Sturm
-
Taco Hoekwater