saving a Notebook as pdf or xml

• To: mathgroup at smc.vnet.net
• Subject: [mg125011] saving a Notebook as pdf or xml
• From: Andre Hautot <ahautot at ulg.ac.be>
• Date: Fri, 17 Feb 2012 06:28:05 -0500 (EST)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com

```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)