[pstricks] PSTricks Digest, Vol 79, Issue 17

van chu vanchutr at yahoo.com
Sat Aug 22 14:34:44 CEST 2009


You can compile your exmple in three step (with MikTex) in Windows
1. latex yourfile,tex
2. dvips yourfile.dvi
3. ps2pdf -sPAPERSIZE#a4 $pourfile.ps yourfile.pdf

(or use this script in linux)
[code]
#!/bin/sh

echo "Compile tex in three steps"
read

"latex" ""$@""
"dvips" ""$@""
"ps2pdf" ""-sPAPERSIZE#a4"" ""$@.ps"" ""$@.pdf""
echo "

------------------
(program exited with code: $?)"   
[/code]  

Is this your required output?



--- On Tue, 8/18/09, pstricks-request at tug.org <pstricks-request at tug.org> wrote:

From: pstricks-request at tug.org <pstricks-request at tug.org>
Subject: PSTricks Digest, Vol 79, Issue 17
To: pstricks at tug.org
Date: Tuesday, August 18, 2009, 11:50 PM

Send PSTricks mailing list submissions to
    pstricks at tug.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://tug.org/mailman/listinfo/pstricks
or, via email, send a message with subject or body 'help' to
    pstricks-request at tug.org

You can reach the person managing the list at
    pstricks-owner at tug.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of PSTricks digest..."


Today's Topics:

   1. Problem with PDFLATEX (Devilvsevil)


----------------------------------------------------------------------

Message: 1
Date: Tue, 18 Aug 2009 18:49:51 +0200
From: "Devilvsevil" <devilvsevil at gmail.com>
To: <PSTricks at tug.org>
Subject: [pstricks] Problem with PDFLATEX
Message-ID: <6D2C8007905B46F8A0F465CF5C4040B6 at baigpc>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
        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.

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.

Please Help!



-------------------------------------------------
   Here is the error when compile using PDFLATEX
-------------------------------------------------
! Undefined control sequence.
<recently read> \c at lor@to at ps


1.16}
        % 

?
-------------------------------------------------
                    End Here
-------------------------------------------------




-------------------------------------------------
            Here is the main code
-------------------------------------------------

\documentclass[xcolor=table,10pt]{beamer}

\usepackage{pstricks,pstricks-add,pst-node,pst-tree}
\SpecialCoor

\begin{document}

\pstree[levelsep=1,nodesep=3pt]{\Tr[name=A]{A}}{%
 \pstree{\Tr[name=B]{B}}{%
   \Tr[name=D]{D}
   \Tr[name=E]{E}
 }
 \pstree{\Tr[name=B]{C}}{%
   \Tr[name=F]{F}
   \Tr[name=G]{G}
 }
}%

\rput[rc](\linewidth,0|A){1.}%
\rput[rc](\linewidth,0|B){2.}%
\rput[rc](\linewidth,0|D){30.}%
\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=0.5em](A)(\linewidth,0|A)%
\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=0.5em](B)(\linewidth,0|B)%
\pcline[linestyle=dotted,nodesepA=5pt,nodesepB=1em](G)(\linewidth,0|G)%
\end{document} 

-------------------------------------------------
                    End Here
-------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090818/94b95d97/attachment.html>

------------------------------

_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks


End of PSTricks Digest, Vol 79, Issue 17
****************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20090822/88638af2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.pdf
Type: application/pdf
Size: 9125 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20090822/88638af2/attachment.pdf>


More information about the PSTricks mailing list