I have a new Mactex installation and in pstricks, using "fillcolor=..." inside \pspolygon no longer works--the polygon comes out empty. Has something changed in pstricks?
I know VERY little about latex and pstricks beyond the simplest level, so please answer at the 5th grade level or less.
Here is a sample file:
\documentclass[pstricks,border=12pt]{standalone}
\begin{document}
% !TEX TS-program = latex
\begin{pspicture}(-16,-3)(2.5,3)
\newgray{extralight}{.85}
\pspolygonlinewidth=1.5pt,linecolor=extralight,fillcolor=extralight(-14.67,2)(-14.33,-2)(-.33,-2)(-.67,2)
\end{pspicture}
\end{document}
I am using TexShop. I get this message:
%%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY
Edit: when I run my original version included in this question, with \listfiles added, I get the file list below. When I try adding \listfiles to the version in the answer, there is no list of files in the log file.
*File List*
standalone.cls 2018/03/26 v1.3a Class to compile TeX sub-files standalone
shellesc.sty 2019/11/08 v1.0c unified shell escape interface for LaTeX
ifluatex.sty 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
iftex.sty 2020/03/06 v1.0d TeX engine tests
xkeyval.sty 2020/11/20 v2.8 package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
standalone.cfg 2018/03/26 v1.3a Default configuration file for 'standalone'
class
article.cls 2020/04/10 v1.4m Standard LaTeX document class
size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
pstricks.sty 2020/06/11 v0.70 LaTeX wrapper for `PSTricks' (RN,HV)
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
dvips.def 2017/06/20 v3.1d Graphics/color driver for dvips
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
pstricks.tex 2020/09/18 v3.01 `PSTricks' (tvz,hv)
pst-fp.tex 2020/09/18 v3.01 `PST-fp' (hv)
l3backend-dvips.def 2021-03-18 L3 backend support: dvips


ps2pdf(it's a change in ghostscript) – David Carlisle Feb 08 '22 at 01:57dvipsto convert the resultant output of LaTeX (dvi) to PostScript (ps), and possiblyps2pdfto convert the PostScript to PDF. Somewhere in your list of options for that compilation sequence in TeXshop, you should should be able to see what options are being passed to dvips and/or ps2pdf. Can you show that dialog? – Werner Feb 08 '22 at 05:05-dALLOWPSTRANSPARENCYoption tops2pdf. – Werner Feb 08 '22 at 07:25Path settings, pdfTeX, TeX+dvips+distiller.
(1) Inside “pdfTeX” window are 2 editable lines, one under “Tex”, and another under “Latex” which says:
pdflatex --file-line-error --synctex=1
(2) Inside “TeX+dvips+distiller” window are 2 editable lines, one under “Latex” which says:
simpdftex latex --maxpfb --extratexopts "-file-line-error -synctex=1"
So, somewhere in all this, I need to insert -dALLOWPSTRANSPARENCY, is that right? Where? And can it be in there all the time, even when I’m not using pstricks?
– Ken_A Feb 08 '22 at 16:42pdflatex, or something similar (simpdftex). It needs to be in lines usingps2pdf, but you haven't listed that. – Werner Feb 08 '22 at 18:02fillcolor=black!15rather than usingextralight(since that may use/need transparency). May need to add\usepackage{xcolor}to your preamble. Just trying out things. – Werner Feb 08 '22 at 20:19fillcolor=black. – Ken_A Feb 08 '22 at 20:25linecoloroption toblackas well? What if, instead of usingstandalone, you try with a default\documentclass{article} \usepackage{pstricks,xcolor}? – Werner Feb 08 '22 at 20:47