Re: Dashing and PDF
- To: mathgroup at smc.vnet.net
- Subject: [mg72733] Re: Dashing and PDF
- From: dh <dh at metrohm.ch>
- Date: Wed, 17 Jan 2007 06:20:37 -0500 (EST)
- References: <eofigp$g94$1@smc.vnet.net>
Hi Julia,
$Version 5.1 for Microsoft Windows (October 25, 2004)
the following works with AdobeReader 8:
g = Show[Graphics[{Dashing[{.1, .1}], Line[{{0, 0}, {1, 1}}]}]];
Export["d:\\tmp\\t.pdf", g, "PDF"]
Daniel
Julia Gog wrote:
> I'm having a bad time exporting PDFs from mathematica. The problem seems
> to be down to having a plot using "Dashing" in its PlotStyle. It works
> just fine within mathematica, and apparently can export a PDF file.
> However Adobe Acrobat says "Illegal operation inside a path" when I try
> open it, though Preview is happy to open it.
>
> I usually want to open the PDFs in acrobat to crop white margins as they
> seem to always come out of mathematica with a bunch of space underneath.
>
> Is anyone else having problems opening exported PDFs in acrobat,
> particularly with dashed lines?
>
> Thanks in advance for any help,
>
> Julia
>