Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Different EPS exported file from frontend and kernel

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37393] Re: [mg37376] Different EPS exported file from frontend and kernel
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Sat, 26 Oct 2002 02:03:34 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at wolfram.com

On Fri, 25 Oct 2002, Nevin Kapur wrote:

> I am using Mathematica for Students 4.2 on Red Hat Linux 8.0.  The
> following command produces a satisfactory output when executed from
> the command line but when run in the Mathematica frontend, it produces
> an EPS file where the y-axis label looks like: "Exp@xD"
> 
> Export["plot.eps", Plot[ Exp[x], {x,-1,1}, AxesLabel -> {"x",
>         "Exp[x]"} ]]
> 
> Furthermore, the eps file produced by the frontend cannot be used with
> dvips: I get the error
> 
>   dvips: ! Couldn't find header file Mathematica2Mono.pfb
> 
> Indeed, this file does not exist on my system.
> 
> I _think_ I have followed all the instructions from Jens-Peer Juska's
> "The Mathematica Virtual Font Package" document distributed with
> Mathematica but that doesn't seem to help.

Try configuring DVIPS so that it includes the path to the Type 1 
Mathematica fonts.  

On your system, the fonts should be located in a directory with a path
that can be determined by evaluating the following expression in a kernel:

ToFileName[{$TopDirectory, "SystemFiles", "Fonts", "Type1"}]

This directory contains ASCII (.pfa) versions of the fonts, but DVIPS
should be capable of handling these fonts as well as their binary
equivalents.

To find out how to adjust the DVIPS setting, check the documentation for
your implementation of TeX (e.g. teTeX, emTeX, etc.).  It has been my
experience that the setting is in a plain text configuration file.  
However, the name of the file and the variable that you need to modify
tends to vary among implementations.

-- 
P.J. Hinton
User Interface Programmer                         paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: Off by 0.00000001, Why?
  • Next by Date: Re: Off by 0.00000001, Why?
  • Previous by thread: Re: Different EPS exported file from frontend and kernel
  • Next by thread: Vector field with ImplicitPlot ?