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

MathGroup Archive 2012

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

Search the Archive

Re: saving a Notebook as pdf or xml

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125062] Re: saving a Notebook as pdf or xml
  • From: David Bailey <dave at removedbailey.co.uk>
  • Date: Mon, 20 Feb 2012 02:47:46 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jhldql$ovl$1@smc.vnet.net>

On 17/02/2012 11:31, Andre Hautot wrote:
> Hello,
> Here is a short Notebook that works pretty well :
>
> gr = Plot3D[x^2 + y^2, {x, -2, 2}, {y, -2, 2}, Mesh ->  None,
>    BoxRatios ->  Automatic];
>
> sol[p_, g_, y0_, vx0_] :=
>   NDSolve[{- x''[t] + (- g - (2 x'[t]^2 + 2 y'[t]^2 + 2 x[t] x''[t] + 2
> y[t] y''[t])) 2 p x[t] == 0,
> - y''[t] + (- g - (2 x'[t]^2 + 2 y'[t]^2 + 2 x[t] x''[t] + 2 y[t]
> y''[t])) 2 p y[t] == 0,
>     z[t] == p (x[t]^2 + y[t]^2), x[0] == 0, x'[0] == -vx0, y[0] == y0,
>     y'[0] == 0}, {x, y, z}, {t, 0, 100}];
>
> a0 = ParametricPlot3D[
>    Evaluate[{x[t], y[t], z[t]} /. sol[1, 10, 1.5, 1]], {t, 0, 10},
>    PlotStyle ->  Thick];
>
> Show[a0, gr]
>
> However, 1) saving the Notebook as a pdf file alters the a0-display in
> the final output
> 2) saving the Notebook as a xml file alters some printings like = = (Equal)
>
> Suggestions ? Thanks in advance,
>
> A. Hautot
>

I use some free software called PrimoPDF. This pretends to be a printer, 
and all you do, is print your notebook to this 'printer'.

David Bailey
http://www.dbaileyconsultancy.co.uk



  • Prev by Date: Re: FindRoot with a vector of unknowns
  • Next by Date: Re: FindRoot with a vector of unknowns
  • Previous by thread: Re: saving a Notebook as pdf or xml
  • Next by thread: Controlling # Processors Used by MathKernel?