<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv825386747"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif;"><div id="yiv825386747yui_3_7_2_16_1352951483508_49" style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span id="yiv825386747yui_3_7_2_16_1352951483508_135"><div id="yiv825386747yui_3_7_2_16_1352951483508_49">Dear Lim and All Whom It May Concern,</div><div id="yiv825386747yui_3_7_2_16_1352951483508_49"><br></div><div id="yiv825386747yui_3_7_2_16_1352951483508_49">I would like to share you about that I may be I known about Latex. </div><div id="yiv825386747yui_3_7_2_16_1352951483508_49">There are 4 options mode to create a PDF document using various latex versions:</div><div id="yiv825386747yui_3_7_2_16_1352951483508_49"><br></div><div
 id="yiv825386747yui_3_7_2_16_1352951483508_49">1. Latex -> DVI</div><div id="yiv825386747yui_3_7_2_16_1352951483508_49">2. Latex -> PDF (pdfLatex)</div><div id="yiv825386747yui_3_7_2_16_1352951483508_49">3. Latex -> PS </div><div id="yiv825386747yui_3_7_2_16_1352951483508_49">4. Latext -> PS -> PDF <span style="font-size: 12pt;">(pdfLatex)</span></div><div id="yiv825386747yui_3_7_2_16_1352951483508_49"><span style="font-size: 12pt;"><br></span></div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150"><span style="color: rgb(0, 0, 0);">Problem: </span><span style="color: rgb(255, 0, 0);">A PDF document including graphics that is generated with PSTRICKS results a blank
 PDF documen</span>t. The problem was caused by Latex or PSTRICKS did not find postscript resolution mode. Latex document (that is generated with PSTRICKS<span style="color: rgb(0, 0, 0); font-size: 12pt;">) needs </span><span style="color: rgb(0, 0, 0); font-size: 12pt;">postscript resolution </span><span style="color: rgb(0, 0, 0); font-size: 12pt;">before creating graphics in PDF document (see option 4). In other word, you can not create a PDF document using graphics </span>PSTRICKS without <span style="font-size: 12pt;">postscript resolution. </span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">So, please complete your intallation TeXShop and XeLaTeX with GSView and GostScript.<span style="font-size: 12pt;">. </span></div><div style="color: rgb(0, 0, 0); font-family: 'times
 new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><br></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">Attachment files (MarkLim.DVI,  <span style="font-size: 12pt;">MarkLim.PDF, and </span><span style="font-size: 12pt;">MarkLim.PS) were resulted by your source code here: </span></div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><br></div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">\documentclass{article}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150"
 class="yui_3_7_2_14_1352962857975_50">\usepackage{pstricks}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">\pagestyle{empty}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">\usepackage{fontenc}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">\usepackage{pstricks-add}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><br></div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50">\begin{document}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">  </span>\psset{algebraic=true}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">
        </span>\pspicture(-2,-0.5)(2,2)</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">           </span>\psline{<->}(-2,0)(2,0)</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">              </span>\psline{->}(0,-0.5)(0,2)</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">                </span>\psplot{-1.5}{1}{x*x+x}</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span class="Apple-tab-span" style="white-space:pre">    </span>\endpspicture</div><div id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><br></div><div id="yiv825386747yui_3_7_2_16_1352951483508_150"
 class="yui_3_7_2_14_1352962857975_50">\end{document}</div></span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;">I see your codes are well. Your source codes are also running well in Linux (Ubuntu OS).</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;">Enjoy your Latex.</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new
 york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;">Best regards,</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;"><br></span></div><div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_150" class="yui_3_7_2_14_1352962857975_50"><span style="font-size: 12pt;">bhp</span></div><div style="color: rgb(0, 0, 0); font-family: 'times new
 roman', 'new york', times, serif; font-size: 16px; background-color: transparent; font-style: normal;" id="yiv825386747yui_3_7_2_16_1352951483508_150"><br></div>  <div style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" id="yiv825386747yui_3_7_2_16_1352951483508_54" class="yiv825386747yui_3_7_2_16_1352951483508_53"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class="yiv825386747yui_3_7_2_16_1352951483508_57" id="yiv825386747yui_3_7_2_16_1352951483508_152"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Dari:</span></b> Mark Lim <mklim.77@gmail.com><br> <b><span style="font-weight:bold;">Kepada:</span></b> Budi Hari priyanto <bhpriyanto@ymail.com>; Graphics with PSTricks <pstricks@tug.org> <br> <b><span style="font-weight:bold;">Dikirim:</span></b> Kamis, 8 November 2012 1:41<br> <b><span
 style="font-weight:bold;">Judul:</span></b> Re: [pstricks] pstrcks digest vol 117 issue 19<br> </font> </div> <br><div id="yiv825386747"><font class="yiv825386747Apple-style-span" color="#6633FF">Dear Budi, Thanks. You got the code to typeset finally to a pdf output. Great work.</font><div><font class="yiv825386747Apple-style-span" color="#6633FF"><br></font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">Using code as per Budi' correction.
 I could not generate a PDF. It is blank.</font></div>
<div><font class="yiv825386747Apple-style-span" color="#6633FF"> </font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">It's my set up. </font><span class="yiv825386747Apple-style-span" style="color:rgb(102,51,255);">Anyone has a better solution to my setup?</span></div>
<div><font class="yiv825386747Apple-style-span" color="#6633FF"><br></font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">I am using Mac OS X using TeXShop 2.37.</font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">Typset: XeLaTeX.</font></div>
<div><font class="yiv825386747Apple-style-span" color="#6633FF">Pulldown: TeX and DVI</font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF"><br></font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">I could not generate a PDF file . </font></div>
<div><font class="yiv825386747Apple-style-span" color="#6633FF"><br></font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">Please see the .tex screenshot and the .console screenshot as attached.</font></div><div><font class="yiv825386747Apple-style-span" color="#6633FF">regards</font></div>
<div><font class="yiv825386747Apple-style-span" color="#6633FF">Mark</font></div><div><br><br><div class="yiv825386747gmail_quote">On Thu, Nov 8, 2012 at 3:04 PM, Budi Hari priyanto <span dir="ltr"><<a rel="nofollow" ymailto="mailto:bhpriyanto@ymail.com" target="_blank" href="mailto:bhpriyanto@ymail.com">bhpriyanto@ymail.com</a>></span> wrote:<br>
<blockquote class="yiv825386747gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif;" class="yiv825386747yui_3_7_2_16_1352951483508_65"><div style="font-size:12pt;">
This is a solution for pdf blank problem sent by <span style="color: rgb(69, 69, 69); font-family: Arial, sans-serif; font-size: 9pt;" class="yiv825386747yui_3_7_2_16_1352951483508_67">Mark in PSTricks Digest Vol 117 Issue 19.</span></div><div style="font-family: Arial, sans-serif; font-size: 9pt; color: rgb(69, 69, 69); background-color: transparent; font-style: normal;" class="yiv825386747yui_3_7_2_16_1352951483508_68">
<span style="font-size:12pt;">Please deleted line 20 and 70 (make error) and do not type the line numbers. </span><br></div><div style="font-family: Arial, sans-serif; font-size: 9pt; color: rgb(69, 69, 69); background-color: transparent;" class="yiv825386747yui_3_7_2_16_1352951483508_70">
<span style="font-size:9pt;">The Mark's Codes are running well in dvi and pdf mode using  </span>using <span style="background-color:transparent;font-size:9pt;">Miktex 2.8 and </span>TeXnicCenter editor<span style="background-color:transparent;font-size:9pt;">.</span><span style="background-color:transparent;font-size:9pt;"> </span><span style="font-size:9pt;">Output </span>Latex1.pdf (attach). </div>
<div style="font-style:normal;font-size:12pt;background-color:transparent;"><span style="font-size:12pt;"> </span></div><div style="background-color:transparent;">
<div style="background-color:transparent;"><font face="times new roman, new york, times, serif">10 <span style="white-space:pre-wrap;"> </span>\documentclass{article}</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">20 <span style="white-space:pre-wrap;">    </span>% \usepackage{pst-all}<--
 delete this line</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">30 <span style="white-space:pre-wrap;">       </span> \usepackage{pstricks}</font></div><div style="background-color:transparent;">
<font face="times new roman, new york, times, serif">40 <span style="white-space:pre-wrap;">    </span>\pagestyle{empty}</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">50 <span style="white-space:pre-wrap;">  </span>\usepackage{fontenc}</font></div>
<div style="background-color:transparent;"><font face="times new roman, new york, times, serif">60  <span style="white-space:pre-wrap;">   </span>\usepackage{pstricks-add}</font></div><div style="background-color:transparent;">
<font face="times new roman, new york, times, serif">70<span style="white-space:pre-wrap;">     </span>% \usepackage{pst-pdf}</font><span style="background-color:transparent;"><-- delete this line</span></div>
<div style="background-color:transparent;"><font face="times new roman, new york, times, serif">80</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">90<span style="white-space:pre-wrap;">       </span>\begin{document}</font></div>
<div style="background-color:transparent;"><font face="times new roman, new york, times, serif">100<span style="white-space:pre-wrap;">         </span>\psset{algebraic=true}</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">110<span style="white-space:pre-wrap;">             </span>\pspicture(-2,-0.5)(2,2)</font></div>
<div style="background-color:transparent;"><font face="times new
 roman, new york, times, serif">120<span style="white-space:pre-wrap;">                 </span>\psline{<->}(-2,0)(2,0)</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">130<span style="white-space:pre-wrap;">                      </span>\psline{->}(0,-0.5)(0,2)</font></div>
<div style="background-color:transparent;"><font face="times new roman, new york, times, serif">140<span style="white-space:pre-wrap;">                 </span>\psplot{-1.5}{1}{x*x+x}</font></div><div style="background-color:transparent;">
<font face="times new roman, new york, times, serif">150<span style="white-space:pre-wrap;">            </span>\endpspicture</font></div><div style="background-color:transparent;"><font face="times new roman, new york, times, serif">160<span style="white-space:pre-wrap;">      </span>\end{document}</font></div>
<div style="font-style:normal;font-size:16px;background-color:transparent;"><font face="times new roman, new york, times, serif"><br></font></div><div style="font-style:normal;font-size:16px;background-color:transparent;">
<font face="times new roman, new york, times, serif">Regards,</font></div><div style="font-style:normal;font-size:16px;background-color:transparent;"><font face="times new roman, new york, times, serif">bhp</font></div>
</div></div></div><br>_______________________________________________<br>
PSTricks mailing list<br>
<a rel="nofollow" ymailto="mailto:PSTricks@tug.org" target="_blank" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a><br>
<a rel="nofollow" target="_blank" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a><br>
archive: <a rel="nofollow" target="_blank" href="http://www.tug.org/pipermail/pstricks/" id="yiv825386747yui_3_7_2_16_1352951483508_167">http://www.tug.org/pipermail/pstricks/</a><br></blockquote></div><br></div>
</div><br><br> </div> </div>  </div></div></div></div></body></html>