Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Pagination when transferring Mathematica docs to PDF

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106689] Re: Pagination when transferring Mathematica docs to PDF
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Thu, 21 Jan 2010 04:52:33 -0500 (EST)
  • References: <hj6qjg$8vl$1@smc.vnet.net>

Am 20.01.2010 12:49, schrieb M Kelly:
> I want to know how to introduce Pagination when transferring
> Mathematica documents to Adobe PDF.
> For instance I can use Export["file.pdf", TableForm[{expr1,
> expr2, ..,exprn}] ] but this creates a long PDF document with only one
> long page. How do I break it up into a number of pages?
> Or alternatively I could use: NotebookPrint[ CreateDocument[ TableForm
> [{expr1, expr2, ..,exprn}] ], "file.pdf"]
> But this creates another problem, because if any of the expressions
> expr1, .., exprn are Plots or Charts then it often happens that parts
> of the plots get distributed over 2 pages, with the beginning on one
> page and the end on the next page. Is it possible to force pagination
> so that the plots don't get dissected?

you can do that, but I think only at cell-level, that is your document
would look something like this:

CreateDocument[Map[
  ExpressionCell[#,"Output",PageBreakBelow->True]&,
  {expr1,expr2,...,exprn}
]]

you might need to play with it to get exactly what you want, e.g. put a
PageBreak only after every second plot etc...

hth,

albert


  • Prev by Date: Re: simple nest
  • Next by Date: Re: Pagination when transferring Mathematica docs to PDF
  • Previous by thread: Re: Pagination when transferring Mathematica docs to PDF
  • Next by thread: Re: Pagination when transferring Mathematica docs to PDF