MathGroup Archive 2005

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

Search the Archive

Re: Re: Latex + Mathematica EPS file problems


you may try to hinder dvips on reencoding the fonts with

dvips -j0 -o in.dvi

the problem is, that dvips reencode the fonts and give a new
name to the font. When your graphics also use the font, it
can not be found because dvips has renamed it.

When you use only the computer modern fonts there is no problem
because dvips may or many not reencode the fonts but it makes sure
that there is nothing missed. But for fonts in  a included graphics
and the fonts in the text dvips can not do this because dvips
don't anamyse the fonts in a included graphics.

You can reset the default text font and Mathematics fonts after loading
wrisym.sty, than only the definitions for the monospaced mathematics
output remain and you need only this to typeset input and output.
But be careful Computer Modern look not very harmonic with the
monospaced Mathematica fonts ...


"Torquil MacDonald Sørensen" <torquil at> schrieb im Newsbeitrag 
news:ctcrmn$6qq$1 at
> Greetings,
> Thank you for mentioning the dvips reencoding, because I just found that
> the dvi file contains all the slashes and parentheses, but the ps file
> does not, so something is happening in the dvi -> postscript conversion.
> dvips it run simply as 'dvips -o in.dvi'
> a) It is mathematica version
> b) I am not shure how dvips is configured on this machine, but
> everything works fine when I don't use the notebook2e and wrisym
> packages in my latex document.
> I have tried with and without mathematica including the mathematica
> fonts in the EPS files by using the ConversionOptions ->
> {"IncludeSpecialFonts" -> True} in the Export command, and with and
> without StandardForm output in the plots, but it makes no difference.
> Is it possible to stop the notebook2e and wrisym packages influencing
> how my latex document looks outside of my mathematica-notebook code
> appendices?
> Regards,
> Jens-Peer Kuska wrote:
>> Hi,
>> a) what Mathematica version, since version 4.2 Mathematica
>>    include the PostScript fonts into the EPS files. Clearly this
>>    should be avoided by using Display[] instead of Export[]
>> b) does dvips reencode the fonts ?
>> Regards
>>   Jens
>> "Torquil Madonald Sørensen" <torquil at> schrieb im Newsbeitrag
>> news:ct7okv$ci$1 at
>>>I have a latex document containing several eps-plots generated by
>>>Mathematica 5. The eps files have labels on the axes containing letters,
>>>parentheses and slashes.
>>>This worked fine until I decided to include a Mathematica-notebook saved
>>>to Latex format as an appendix . I added
>>>to the preamble, and added the texmf subdirectory in the mathematica
>>>installation folder into my latex search path.
>>>In addition, I added the line
>>>since otherwise I got error messages regarding this command in the
>>>exported mathematica-notebook.
>>>Then a new problem appeared: The slashes and parentheses on the text
>>>labels on the axes of my eps-plots disappeared after I included the
>>>mathematica notebook appendix, but the ordinary letters were still
>>>there. Does anybody know how to fix this problem?

  • Prev by Date: Re: Re: Area Under Curve (Min Length Interval)
  • Next by Date: Re: Re: List Partition
  • Previous by thread: Re: Problem with matching
  • Next by thread: Re: random matrix from row and column sums