0

a strange problem in using color in pstricks with auto-pst-pdf, when I use latex +dvips +ps2pdf, the two color name systems (svgnames and dvipsnames) worked well simultaneously, while with pdflatex, only color with svgnames worked, while the colors with dvipsnames disappeared. the dvipsname system for color is not compatible with auto-pst-pdf?

\documentclass{article}
\usepackage[dvipsnames,svgnames]{pstricks}
\usepackage{auto-pst-pdf}
\begin{document}

\psframe[linewidth=0.2pt,fillstyle=solid,fillcolor=AliceBlue](0,0)(0.4,0.3)

\psframe[linewidth=0.2pt,fillstyle=solid,fillcolor=Apricot](1,0)(0.4,0.3)

\end{document}
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.