[pstricks] A question about the new version of Pstricks
Clemens Schäfermeier
XC-lemens at web.de
Sun Dec 23 14:14:41 CET 2012
Dear Guoqiang Li,
I tried to run
"
\documentclass{article}
\usepackage{pstricks,pst-node}
\begin{document}
\rput(3,-2){\rnode{S}{}}
\cnode(3,-3){.35cm}{S'}\cnode(3,-3){.4cm}{A}\rput(3,-3){\rnode{A1}{$p_1$}}
\ncline[doubleline=true]{->}{S}{A}
\cnode(6,-3){.4cm}{C}\rput(6,-3){\rnode{C1}{$p_2$}}
\ncarc[nodesep=3pt,arcangle=30]{->}{A}{C}
\ncarc[nodesep=3pt,arcangle=30]{->}{C}{A}
\end{document}
"
with the newest packages of MiKTeX and everything worked properly.
Compiled simply with the latex command. If you created your own pstricks
files, why not create your own "package" to go around the new pstricks?
Best regards
Clemens
Am 23.12.2012 13:36, schrieb Guoqiang Li:
> Dear all,
>
> I am an old user of pstricks. Recently, I update my Miktex, finding that
> all most all of my old tex files under old version of pstricks cannot be
> complied properly under the new version of pstricks adopted in Miktex. I
> wonder whether after small refinement, I can save my old graphs. (I am
> trying to replace the new version of pstricks to the old one, but after
> replacing, the dvips seems does not work L)
>
> An simple example is as follows:
>
> \documentclass[10pt]{article}
>
> \usepackage{pstricks,pst-tree,pst-node}
>
> \usepackage{amsmath}
>
> \usepackage{amscd}
>
> \usepackage{graphicx}
>
> \usepackage{amssymb}
>
> \oddsidemargin -3.0 cm \evensidemargin 0.0 cm \topmargin -1.2 cm
>
> \textheight 24 cm \textwidth 20 cm
>
> \begin{document}
>
> \rput(3,-2){\rnode{S}{}}
>
> \cnode(3,-3){.35cm}{S'}\cnode(3,-3){.4cm}{A}\rput(3,-3){\rnode{A1}{$p_1$}}
>
> \ncline[doubleline=true]{->}{S}{A}
>
> \cnode(6,-3){.4cm}{C}\rput(6,-3){\rnode{C1}{$p_2$}}
>
> %\rput(6,-4.5){\rnode{P}{}} \ncline{->}{P}{C}
>
> \ncarc[nodesep=3pt,arcangle=30]{->}{A}{C}
>
> \ncarc[nodesep=3pt,arcangle=30]{->}{C}{A}
>
> \end{document}
>
> It can be compiled through latex -> dvips under the old version of
> pstricks. But now, after the same methods, the gsview show the following
> information:
>
> GSview 5.0 2012-01-17
>
> Unknown in Comments section at line 8:
>
> %%DocumentFonts: CMMI10 CMR7 CMR10
>
> Unknown in Prolog section at line 64:
>
> %% PostScript prologue for pstricks.tex.
>
> Unknown in Prolog section at line 65:
>
> %% Version 1.15, 2012/10/16
>
> Unknown in Prolog section at line 66:
>
> %%
>
> Unknown in Prolog section at line 67:
>
> %% This program can be redistributed and/or modified under the terms
>
> Unknown in Prolog section at line 68:
>
> %% of the LaTeX Project Public License Distributed from CTAN archives
>
> Best regards, Guoqiang Li
>
> ----------------------------------------------------------------------
>
> MiniBoat
>
>
> School of Software,
>
> Shanghai Jiao Tong University
> No. 1212, Software Building, 800 Dongchuan Rd., Minhang Dist., Shanghai,
> China 200240
>
> Tel : +86-21-34204167
>
> Fax: +86-21-34205145
>
> http://basics.sjtu.edu.cn/~liguoqiang
>
>
>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
More information about the PSTricks
mailing list