<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thank you Michael for your mac-help!<div><br></div><div>Best regards</div><div><br></div><div>carlo<br><br>--- <b>Dom 10/7/11, Michael Sharpe <i><msharpe@ucsd.edu></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Da: Michael Sharpe <msharpe@ucsd.edu><br>Oggetto: Re: [pstricks] Re : R: Re : R: Re : PSTricks code -- pst-solides3d<br>A: "Graphics with PSTricks" <pstricks@tug.org><br>Data: Domenica 10 luglio 2011, 20:21<br><br><div class="plainMail"><br>On Jul 10, 2011, at 9:21 AM, Manuel Luque wrote:<br><br>> Carlo wrote :<br>> <br>> >Only a last question: wich program do you use to generate .dat file like ones in attachment for surfaces? I use mac os x 10.5.<br>> <br>> I use pst-solides3d.<br>> LaTeX-> dvips-> ghostscript (GSview)<br>>
 <br>> In Chapter 5, pst-solides3d:The Documentation : "Usage of external files", explains the method for Linux and Windows. For Mac I do not know, but I think it's the same as for Windows. (MacGSView)<br>> <br>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>> Note: By default, under Windows and Linux, the security of files on the hard drive is activated<br>> and doesn’t allow to write on the drive. To deactivate that security option, more or less temporarily,<br>> here the two corresponding procedures:<br>> Linux: The advice from Jean-Michel Sarlat: the simplest will be to use GhostScript directly, within<br>> the console. As there is no image to wait for:<br>> $> gs -dNOSAFER monfichier.ps quit.ps<br>> Windows: Within the menue Options, the option Security of files must be turned to unchecked.<br>> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>> <br>> A Mac user can confirm?<br>> The files are
 generated by the interpreter GhostScript.<br>> <br><br>Under Mac OS X, the workflow is essentially the same as Linux, but without gv. So,<br><br>LaTeX->dvips<br><br>gs -dNOSAFER <tex file>.ps quit.ps<br><br>which produces the .dat files.<br><br>When making the final run to include the .dat files, there seems too be a serious problem running the current gs. Any attempt to run<br><br>gs -dSAFER <br><br>seems to make the run command fail with error: /invalidfileacess, and this prevents the use of ps2pdf. It appears the same bug afflicts a number of earlier versions of gs as well.<br><br>Michael<br>_______________________________________________<br>PSTricks mailing list<br><a ymailto="mailto:PSTricks@tug.org" href="/mc/compose?to=PSTricks@tug.org">PSTricks@tug.org</a><br><a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>archive: <a href="http://www.tug.org/pipermail/pstricks/"
 target="_blank">http://www.tug.org/pipermail/pstricks/</a></div></blockquote></div></td></tr></table>