من از miktex استفاده میکنم و همین زیپرشین پرتبل رو نصب کردم.
وقتی این فایل رو که کامپایل کردم:
\documentclass[a4paper,11pt]{article}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{epsfig}
\begin{document}
\begin{pspicture}(0,-1.91)(6.3,1.91)
\psframe[linewidth=0.04](3.44,0.77)(0.92,-0.77)
\psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)
\psline[linewidth=0.04cm](2.76,1.53)(4.06,-0.09)
\psline[linewidth=0.04cm](6.28,1.19)(0.02,-1.89)
\psline[linewidth=0.04cm](5.42,1.89)(5.28,-0.07)
\end{pspicture}
\end{document}
%% Generated with LaTeXDraw 2.0.8
%% Thu Feb 16 00:31:15 IRST 2012
%% \usepackage[usenames,dvipsnames]{pstricks}
%% \usepackage{epsfig}
%% \usepackage{pst-grad} % For gradients
%% \usepackage{pst-plot} % For axes
%\scalebox{1} % Change this value to rescale the drawing.
%{
%\begin{pspicture}(0,-4.871971)(14.849414,4.891971)
%\definecolor{color1}{rgb}{1.0,0.8,0.0}
%\psframe[linewidth=0.04,dimen=outer](4.78,2.6480289)(0.0,-1.0119712)
%\psframe[linewidth=0.04,linecolor=color1,dimen=outer](10.44,3.6480289)(6.82,1.9280288)
%\psbezier[linewidth=0.04](8.18,1.6280288)(8.990686,1.0425476)(13.130588,-2.2197)(13.98,-1.6919712)(14.829412,-1.1642423)(14.367784,3.5440865)(13.62,4.208029)(12.872216,4.871971)(8.805382,4.5763755)(8.08,3.8880289)(7.354618,3.1996822)(8.59021,0.45505622)(7.66,0.08802879)(6.7297897,-0.27899864)(4.0227823,2.1149225)(4.14,3.108029)(4.257218,4.1011353)(4.668241,4.0161457)(5.66,3.8880289)(6.651759,3.759912)(7.369314,2.21351)(8.18,1.6280288)
%\pscircle[linewidth=0.04,dimen=outer](8.92,-3.0119712){1.86}
%\pscustom[linewidth=0.04]
%{
%\newpath
%\moveto(6.2,-2.4119713)
%\lineto(6.27,-1.9819713)
%\curveto(6.305,-1.7669712)(6.38,-1.4669712)(6.42,-1.3819712)
%\curveto(6.46,-1.2969712)(6.66,-1.0819712)(6.82,-0.95197123)
%\curveto(6.98,-0.82197124)(7.245,-0.6769712)(7.35,-0.6619712)
%\curveto(7.455,-0.6469712)(7.67,-0.82697123)(7.78,-1.0219712)
%\curveto(7.89,-1.2169712)(7.99,-1.5569712)(7.98,-1.7019712)
%\curveto(7.97,-1.8469713)(7.89,-1.9919713)(7.82,-1.9919713)
%\curveto(7.75,-1.9919713)(7.665,-1.9819713)(7.62,-1.9519712)
%}
%\end{pspicture}
%}
%
یک صفحه اومد که میگفت این package را پیدا نمیکنم و میپرسید که از کجا نصبش کنم. منم از طریق internet رو انتخاب کردم.
ولی بعد از اون که کامپایلش کردم میگه که فایل pstricks.con این پیغام رو میده:
I can't find file 'xdvipdfmx.cfg'
با تشکر
من از miktex استفاده میکنم و همین زیپرشین پرتبل رو نصب کردم.
وقتی این فایل رو که کامپایل کردم:
\documentclass[a4paper,11pt]{article}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{epsfig}
\begin{document}
\begin{pspicture}(0,-1.91)(6.3,1.91)
\psframe[linewidth=0.04](3.44,0.77)(0.92,-0.77)
\psframe[linewidth=0.04](4.24,1.07)(2.4,0.09)
\psline[linewidth=0.04cm](2.76,1.53)(4.06,-0.09)
\psline[linewidth=0.04cm](6.28,1.19)(0.02,-1.89)
\psline[linewidth=0.04cm](5.42,1.89)(5.28,-0.07)
\end{pspicture}
\end{document}
%% Generated with LaTeXDraw 2.0.8
%% Thu Feb 16 00:31:15 IRST 2012
%% \usepackage[usenames,dvipsnames]{pstricks}
%% \usepackage{epsfig}
%% \usepackage{pst-grad} % For gradients
%% \usepackage{pst-plot} % For axes
%\scalebox{1} % Change this value to rescale the drawing.
%{
%\begin{pspicture}(0,-4.871971)(14.849414,4.891971)
%\definecolor{color1}{rgb}{1.0,0.8,0.0}
%\psframe[linewidth=0.04,dimen=outer](4.78,2.6480289)(0.0,-1.0119712)
%\psframe[linewidth=0.04,linecolor=color1,dimen=outer](10.44,3.6480289)(6.82,1.9280288)
%\psbezier[linewidth=0.04](8.18,1.6280288)(8.990686,1.0425476)(13.130588,-2.2197)(13.98,-1.6919712)(14.829412,-1.1642423)(14.367784,3.5440865)(13.62,4.208029)(12.872216,4.871971)(8.805382,4.5763755)(8.08,3.8880289)(7.354618,3.1996822)(8.59021,0.45505622)(7.66,0.08802879)(6.7297897,-0.27899864)(4.0227823,2.1149225)(4.14,3.108029)(4.257218,4.1011353)(4.668241,4.0161457)(5.66,3.8880289)(6.651759,3.759912)(7.369314,2.21351)(8.18,1.6280288)
%\pscircle[linewidth=0.04,dimen=outer](8.92,-3.0119712){1.86}
%\pscustom[linewidth=0.04]
%{
%\newpath
%\moveto(6.2,-2.4119713)
%\lineto(6.27,-1.9819713)
%\curveto(6.305,-1.7669712)(6.38,-1.4669712)(6.42,-1.3819712)
%\curveto(6.46,-1.2969712)(6.66,-1.0819712)(6.82,-0.95197123)
%\curveto(6.98,-0.82197124)(7.245,-0.6769712)(7.35,-0.6619712)
%\curveto(7.455,-0.6469712)(7.67,-0.82697123)(7.78,-1.0219712)
%\curveto(7.89,-1.2169712)(7.99,-1.5569712)(7.98,-1.7019712)
%\curveto(7.97,-1.8469713)(7.89,-1.9919713)(7.82,-1.9919713)
%\curveto(7.75,-1.9919713)(7.665,-1.9819713)(7.62,-1.9519712)
%}
%\end{pspicture}
%}
%
یک صفحه اومد که میگفت این package را پیدا نمیکنم و میپرسید که از کجا نصبش کنم. منم از طریق internet رو انتخاب کردم.
ولی بعد از اون که کامپایلش کردم میگه که فایل pstricks.con این پیغام رو میده:
I can't find file 'xdvipdfmx.cfg'
با تشکر
میکتک مشکل داره. استفاده از تکلایو توصیه میشه.
فایل xdvipdfmx.cfg در تالار هست. جستجو کنید پیدا میشه.