MathGroup Archive 2000

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

Search the Archive

Re: Exporting multiple page graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25557] Re: Exporting multiple page graphics
  • From: "P.J. Hinton" <paulh at wolfram.com>
  • Date: Sat, 7 Oct 2000 03:36:02 -0400 (EDT)
  • Organization: Wolfram Research, Inc.
  • References: <8rjjnu$ogn@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 6 Oct 2000, Gareth J. Russell wrote:

> In another package, I generated each graphic in sequence, and exported to a
> file as postscript, appending each to the same file. I could then run the
> resulting file through Distiller and get a very nice-looking n-page .pdf
> document.
> 
> I believe (from reading the archives) that this kernel-based postscript
> option won't work, because Mathematica's postscript is non-standard.

It depends on the context.

If you generate a PostScript with Display[] absent a format argument:

Display[<channel>, <graphics object>]

or Export[] with the "MPS" target format:

Export[<channel>, <graphics object>, "MPS"]

You will obtain abbreviated Mathematica PostScript, which is also what is
store in individual graphics cells within notebooks.  This cannot be read
by a standard PostScript interpreter.

However, if you specify Encapsulated PostScript:

Export[<channel>, <graphics object>, "EPS"]

the EPS is readable by other interpreters.  You will need to ensure that
the rendering device does have access to the Math fonts.  This is
discussed elsewhere.

http://support.wolfram.com/Graphics/Formats/EPS/IncludeFonts.html

> Mathematica WILL export directly as .pdf, but does anyone know if it's
> possible to create a multiple-page .pdf document? 

The PDF generation feature works for the case of individual graphics, but
it does not work for complete documents.  It is not intended to be a
full-blown Distiller replacement.

-- 
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: Reading a file
  • Next by Date: Re: Mathlink
  • Previous by thread: Exporting multiple page graphics
  • Next by thread: Re:Mapping down two lists