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: [mg106764] Re: Pagination when transferring Mathematica docs to PDF
  • From: M Kelly <michaelkelly1444 at gmail.com>
  • Date: Sat, 23 Jan 2010 07:30:34 -0500 (EST)
  • References: <hj6qjg$8vl$1@smc.vnet.net> <hj984j$fs5$1@smc.vnet.net>

On Jan 21, 3:52 am, Albert Retey <a... at gmx-topmail.de> wrote:
> 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

Thanks Albert

I was not aware of PageBreakBelow, PageBreakAbove or PageBreakWithin
until your comment

Regards

Michael


  • Prev by Date: Re: Function and object naming conventions
  • 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