# xelatex and pstricks [closed]

I am using miktex 2.9 with texworks & windows 7 ultimate SP1 to compile my code. I am compiling using xelatex however, my code is not compiling. What should I do ? Here is my code:

\documentclass{article}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(-0.5,0)(2.5,1)
\psdots(0,0)(2,0)(1,1)
\end{pspicture}
\end{document}

-

## closed as off-topic by Joseph Wright♦Aug 9 '13 at 20:01

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

is this what you were expecting ? can you post the errors inside your-filename.log here to diagnose the problem. –  texenthusiast Mar 4 '13 at 8:40
I don't have any problems with the same system. Do you have all the required packages installed? –  percusse Mar 4 '13 at 8:40
It compiles fine on Fedora 18 with TeX Live 2012 (and Emacs + AUCTeX) too. –  Svend Tveskæg Mar 4 '13 at 9:07
I am sorry to be rude or anything but I have never used linux or linux based systems in my life. I tried to use ubuntu but it has quite a steep learning curve so I am not going to bother to learn it. In total, I do not want any sort of linux-based solution so please could you all refrain from posting such solutions. Thanks. Also, I have re-installed miktex and this time only downloading & installing basic miktex. The issue has been resolved but I ran into what it looks like is a bug. –  ghostanime2001 Mar 4 '13 at 19:32
Whenever I download & install basic miktex and compile pstricks code everything works. Graphics is displayed perfectly. However, when I go into package manager and install all packages and then refresh FNDB and update format in Settings, all of a sudden I cannot compile my pstricks code and the graphics ceases to be displayed. I know there is something wrong but I am not a programmer and do I have any experience with tex programming whatsoever. –  ghostanime2001 Mar 4 '13 at 19:34