ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* m-graph.mkiv format bug
@ 2012-10-15  9:19 Alan BRASLAU
  2012-10-15 10:08 ` Sietse Brouwer
  0 siblings, 1 reply; 6+ messages in thread
From: Alan BRASLAU @ 2012-10-15  9:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

There is a bug with format() as redefined in m-graph.mkiv
1e10 and 1e-10 truncate the tailing 0.
(I have not been able to fix the code...)

Alan

Minimal example:

\usemodule [graph]

\starttext
\startMPpage
label(format("@g","1e-10"),(0,      0)) ;
label(format("@g","1e+10"),(2cm,    0)) ;
label(format("@g","1e-12"),(0,  -.5cm)) ;
label(format("@g","1e+12"),(2cm,-.5cm)) ;
\stopMPpage
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2012-10-15 12:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-15  9:19 m-graph.mkiv format bug Alan BRASLAU
2012-10-15 10:08 ` Sietse Brouwer
2012-10-15 10:27   ` Alan BRASLAU
2012-10-15 10:45     ` Alan BRASLAU
2012-10-15 11:03       ` Sietse Brouwer
2012-10-15 12:21         ` Alan BRASLAU

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