Skip to content
Prev 3640 / 63421 Next

MetaPost device?

[moving to r-devel]
On Thu, Apr 06, 2000 at 05:35:57PM +0200, Peter Dalgaard BSA wrote:
The problem with MetaPost (if I understand well) is how
  you do get metric information about the fonts. 
  In particular for the plotmath stuff.
  The easiest way is to delegate the whole thing to metapost itself (and
  to TeX in the back), i.e., you use 
  > text(somewhere,"\sum_i x_i")
  (not 'text(somewhere,expression(...))')
  and on the mp file the device write
  'btex $\sum_i x_i$ etex'
  ie, you ask to MetaPost to call TeX to process the fragment.
  However, this has the obvious drawback that the preview on the screen
  is not good.
  The alternative is to use the approach of the postscript device
  (you fix the fonts available, distribute a set of files with metric
   information of the fonts, and make the device to use it).
   I am not sure about how hard this will be. BTW, which
   kind of fonts is used by MetaPost?

   guido
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Message-ID: <20000406182908.A19743@sirio.stat.unipd.it>
In-Reply-To: <x2ya6r2qea.fsf@blueberry.kubism.ku.dk>; from p.dalgaard@biostat.ku.dk on Thu, Apr 06, 2000 at 05:35:57PM +0200