[pstricks] A question about the new version of Pstricks
hh-brasil at bol.com.br
hh-brasil at bol.com.br
Thu Dec 27 15:42:34 CET 2012
In your example I miss \begin(picture)(-3,-3)(3,3) as first line (after \begin{document} and \end(picture) as the last line before \end{document)
Em 23/12/2012 11:26, Markus Krebs < markuskrebs at web.de > escreveu:
Hi!
Your minimal example is working fine with my miktex (up-to-date)
and GS 9.06 under win7pro.
\listfiles
\documentclass[10pt]{article}
\usepackage{pstricks,pst-tree,pst-node,pstricks-add}
Add \listfiles and load pstricks-add.sty last and give it another
try. Post your \listfiles-section out of log-file.
Markus
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