# Cannot load the “pstricks” option in mdframed package [duplicate]

I tried to frame texts in double lines following directions in the mdframed package manual. However, I cannot even load the mdframed package with the "pstricks" option. Following are my codes:

\documentclass{article}
\usepackage{amssymb}
\usepackage[framemethod=pstricks]{mdframed}
\begin{document}
\begin{mdframed}
test
\end{mdframed}
\newpage
\end{document}


And this is the error message I am getting:

.......
("C:\Program Files\MiKTeX 2.9\tex\latex\mdframed\md-frame-2.mdf"))
(C:\Users\Jerry\Desktop\test.aux)
("C:\Program Files\MiKTeX 2.9\tex\context\base\supp-pdf.mkii"
)
! Undefined control sequence.

• run it with xelatex – user2478 Jul 10 '14 at 8:22
• @FifaEarthCup2014: Well, the error message is rather due to xcolor package, included by pstricks.sty – user31729 Jul 11 '14 at 7:05
• If you are using a LaTeX distribution such as MiKTeX, you can look for an output profile similar to LaTeX => PS => PDF in your editor (TeXnicCenter, Texmaker, etc.). Since this compilation method uses postscript (which requires the installation of GhostScript prior to use) as an intermediary, it will allow the compilation of LaTeX documents that use pstricks functionalities. It is also the only way within MiKTeX that I have been able to compile documents that utilize both tikz and pstricks. – feculededentier Jul 12 '14 at 3:43