Re: Re: Latex + Mathematica EPS file problems
- To: mathgroup at smc.vnet.net
- Subject: [mg53928] Re: Re: Latex + Mathematica EPS file problems
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Fri, 4 Feb 2005 04:11:33 -0500 (EST)
- Organization: Uni Leipzig
- References: <ct7okv$ci$1@smc.vnet.net> <200501271041.FAA07262@smc.vnet.net> <ctcrmn$6qq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, you may try to hinder dvips on reencoding the fonts with dvips -j0 -o out.ps 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 ... Regards Jens "Torquil MacDonald Sørensen" <torquil at frisurf.no> schrieb im Newsbeitrag news:ctcrmn$6qq$1 at smc.vnet.net... > 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 out.ps in.dvi' > > a) It is mathematica version 5.0.0.0 > > 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, > TMS > > 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 frisurf.no> schrieb im Newsbeitrag >> news:ct7okv$ci$1 at smc.vnet.net... >> >>>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 >>> >>>\usepackage{notebook2e,latexsym,wrisym} >>> >>>to the preamble, and added the texmf subdirectory in the mathematica >>>installation folder into my latex search path. >>>In addition, I added the line >>> >>>\newcommand{\IndentingNewLine}{} >>> >>>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? >>> >>>Gratefully, >>>TMS >>> >> >> >> >> >> >