Home > Archive > Mathematica > November 2005 > Problems with brackets when exporting postscript
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Problems with brackets when exporting postscript
|
|
| spindoctor71@hotmail.com 2005-11-25, 3:59 am |
| Hi all,
I have a problem with mathematica 4.0 for students. I create a contour
plot in which I have the axes titles of the form 'Energy (eV)' and
'Momentum (au)' using Arial as the font. When I export this as an eps
the brackets become a very large H for the left bracket and an L for
the right bracket (viewed in ghost viewer). If I copy and paste the image
into word or something as a wmf it prints out fine on small format
printer (A4) but reverts back to the H and L when printed on a large
format printer (A0). I am guessing this is a problem with the
postscript somewhere. Has anyone had this problem and solved it or can suggest a
work-around.
Cheers
Michael
| |
|
|
| David Annetts 2005-11-26, 3:59 am |
| Hi Michael,
> I have a problem with mathematica 4.0 for students. I create a contour
> plot in which I have the axes titles of the form 'Energy (eV)' and
> 'Momentum (au)' using Arial as the font.
> When I export this as an eps the brackets become a very large H for
> the left bracket and an L for the right bracket (viewed in ghost
> viewer). If I copy and paste the image into word or something as a wmf
> it prints out fine on small format printer
> (A4) but reverts back to the H and L when printed on a large format
> printer (A0). I am guessing this is a problem with the postscript
> somewhere. Has anyone had this problem and solved it or can suggest a
> work-around.
Yeah .... That'll happen.
The solution, as discussed on MathGroup Archives between 1995 & 2001, is to
embed Mathematica's special fonts in the EPS file. There is (was) an entry
on MathSource called emmbedmathfont by PJ Hinton that cures the problem.
Regards,
Dave.
| |
| Bruce Miller 2005-11-26, 3:59 am |
| On Fri, Nov 25, 2005 at 02:25:50AM -0500, spindoctor71@hotmail.com wrote:
> Hi all,
>
> I have a problem with mathematica 4.0 for students. I create a contour
> plot in which I have the axes titles of the form 'Energy (eV)' and
> 'Momentum (au)' using Arial as the font. When I export this as an eps
> the brackets become a very large H for the left bracket and an L for
> the right bracket (viewed in ghost viewer). If I copy and paste the image
> into word or something as a wmf it prints out fine on small format
> printer (A4) but reverts back to the H and L when printed on a large
> format printer (A0). I am guessing this is a problem with the
> postscript somewhere. Has anyone had this problem and solved it or can suggest a
> work-around.
>
> Cheers
>
> Michael
====
Michael,
In the A4 case, the printer driver has access to the Mathematica fonts
and in the A0 case it does not. Similarly, GhostView needs help to
access them.
The nearly same question was answered on MathGroup recently.]
vvvvvvvvvvvv
Subject: mathematica2mono
From: John Fultz <jfultz@wolfram.com>
Reply-To: jfultz@wolfram.com
We use our own fonts because we want the parentheses to display
consistently whether they're being displayed at normal height, as in your
example, or whether they're being stretched vertically (and similarly for
brackets and curly braces).
But the behavior is easy to turn off. Choose Format->Option Inspector...,
set the scope to global, and look for the "OperatorSubstitution" option.
Set it to False. Then re-evaluate the graphics-producing commands, and
re-run the Export[] command again.
^^^^^^^^^^^
If that is not available in 4.0, there is an old Tech Support
FAQ that does what you need.
http://support.wolfram.com/mathemat...omathfonts.html
One can also embed the needed Mathematica fonts in the EPS file.
http://library.wolfram.com/infocenter/MathSource/628/
Bruce
| |
| carlos@colorado.edu 2005-11-27, 3:58 am |
| Had that problem with lecture Notes that display Notebook
math fragments over the past 8 years. Notes are done in TeX.
Fragments are inserted as EPS figures. The posted output is PDF.
For example
http://www.colorado.edu/engineering...d/IFEM.Ch21.pdf
Although the PDF may look OK on a computer, students sometimes
reported trouble printing those fragments, depending on the printer.
Reason: although Mathematica fonts are force-downloaded into the
PDF, some printers do not understand them and are substituted by
a default font, say Courier. In the case of some (non replaceable)
fonts such as matrix delimiters and special math symbols,
you end up with garbage.
My solution: I postprocess each EPS file with Adobe Illustrator.
before inclusion in TeX. Any Mathematica font that may cause
trouble is replaced by a graphic object with the Outline tool.
PS code for graphic objects is universal: any printer on this planet
should render it correctly. Had not have trouble for years, except
when I forgot to to do in a new document.
| |
| Urijah Kaplan 2005-11-29, 8:00 am |
|
> My solution: I postprocess each EPS file with Adobe Illustrator.
> before inclusion in TeX. Any Mathematica font that may cause
> trouble is replaced by a graphic object with the Outline tool.
> PS code for graphic objects is universal: any printer on this planet
> should render it correctly. Had not have trouble for years, except
> when I forgot to to do in a new document.
>
Couldn't you accomplish the same thing by using the "Print as Image"
option in Acrobat Reader? (File->Print->Advanced in 7.0)
--Urijah Kaplan
|
|
|
|
|