<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You can compile your exmple in three step (with MikTex) in Windows<br>1. latex yourfile,tex<br>2. dvips yourfile.dvi<br>3. ps2pdf -sPAPERSIZE#a4 $pourfile.ps yourfile.pdf<br><br>(or use this script in linux)<br>[code]<br>#!/bin/sh<br><br>echo "Compile tex in three steps"<br>read<br><br>"latex" ""$@""<br>"dvips" ""$@""<br>"ps2pdf" ""-sPAPERSIZE#a4"" ""$@.ps"" ""$@.pdf""<br>echo "<br><br>------------------<br>(program exited with code: $?)" <br>[/code] <br><br>Is this your required output?<br><br><br><br>--- On <b>Tue, 8/18/09, pstricks-request@tug.org <i><pstricks-request@tug.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: pstricks-request@tug.org <pstricks-request@tug.org><br>Subject: PSTricks Digest, Vol 79, Issue 17<br>To: pstricks@tug.org<br>Date:
Tuesday, August 18, 2009, 11:50 PM<br><br><div class="plainMail">Send PSTricks mailing list submissions to<br> <a ymailto="mailto:pstricks@tug.org" href="/mc/compose?to=pstricks@tug.org">pstricks@tug.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a><br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:pstricks-request@tug.org" href="/mc/compose?to=pstricks-request@tug.org">pstricks-request@tug.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:pstricks-owner@tug.org" href="/mc/compose?to=pstricks-owner@tug.org">pstricks-owner@tug.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of PSTricks digest..."<br><br><br>Today's
Topics:<br><br> 1. Problem with PDFLATEX (Devilvsevil)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 18 Aug 2009 18:49:51 +0200<br>From: "Devilvsevil" <<a ymailto="mailto:devilvsevil@gmail.com" href="/mc/compose?to=devilvsevil@gmail.com">devilvsevil@gmail.com</a>><br>To: <<a ymailto="mailto:PSTricks@tug.org" href="/mc/compose?to=PSTricks@tug.org">PSTricks@tug.org</a>><br>Subject: [pstricks] Problem with PDFLATEX<br>Message-ID: <6D2C8007905B46F8A0F465CF5C4040B6@baigpc><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hi,<br> i would like to ask you that i have too much problem with pdflatex as i am suing MikTex v2.7 with Led builld 0.526300.<br><br>i try to compile the following programme it shows no problem but when i try to generate it using PDFLATEX it gives me the error as shown below And Also when i
see DVI it shows me Tree diagram but when i generate using DVI to PDF it shows me only letter.<br><br>Please Help!<br><br><br><br>-------------------------------------------------<br> Here is the error when compile using PDFLATEX<br>-------------------------------------------------<br>! Undefined control sequence.<br><recently read> \c@lor@to@ps<br><br><br>1.16}<br> % <br><br>?<br>-------------------------------------------------<br> End Here<br>-------------------------------------------------<br><br><br><br><br>-------------------------------------------------<br> Here is the main
code<br>-------------------------------------------------<br><br>\documentclass[xcolor=table,10pt]{beamer}<br><br>\usepackage{pstricks,pstricks-add,pst-node,pst-tree}<br>\SpecialCoor<br><br>\begin{document}<br><br>\pstree[levelsep=1,nodesep=3pt]{\Tr[name=A]{A}}{%<br> \pstree{\Tr[name=B]{B}}{%<br> \Tr[name=D]{D}<br> \Tr[name=E]{E}<br> }<br> \pstree{\Tr[name=B]{C}}{%<br> \Tr[name=F]{F}<br> \Tr[name=G]{G}<br> }<br>}%<br><br>\rput[rc](\linewidth,0|A){1.}%<br>\rput[rc](\linewidth,0|B){2.}%<br>\rput[rc](\linewidth,0|D){30.}%<br>\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=0.5em](A)(\linewidth,0|A)%<br>\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=0.5em](B)(\linewidth,0|B)%<br>\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=1em](G)(\linewidth,0|G)%<br>\end{document} <br><br>-------------------------------------------------<br>
End Here<br>-------------------------------------------------<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://tug.org/pipermail/pstricks/attachments/20090818/94b95d97/attachment.html" target="_blank">http://tug.org/pipermail/pstricks/attachments/20090818/94b95d97/attachment.html</a>><br><br>------------------------------<br><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><br><br>End of PSTricks Digest, Vol 79, Issue 17<br>****************************************<br></div></blockquote></td></tr></table><br>