Created attachment 715251 [details]
I am unsure about where the problem comes.
For example you can try to simply compile and view the example file /usr/share/lyx/examples/powerdot.lyx with lyx
When I was using texlive-2020, it simply worked. Now with texlive-2021 it fails with:
%%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY
Error: /undefined in .setopacityalpha
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %oparray_pop 1833 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
--dict:733/1123(ro)(G)-- --dict:0/20(G)-- --dict:155/200(L)-- --dict:186/300(L)-- --dict:49/200(L)-- --dict:130/200(L)--
Current allocation mode is local
Current file position is 238908
GPL Ghostscript 9.53.3: Unrecoverable error, exit code 1
Systemcall.cpp (276): Systemcall: 'ps2pdf "powerdot-minimal.ps" "powerdot-minimal.pdf"' finished with exit code 1
But I still have access to outdated machines running texlive-2020 and I see no problem even using exactly the same ghostscript-gpl version. I don't know why now I need to manually append the option to /usr/bin/ps2pdfwr to keep it working.
Do you know what could have changed between 2020 and 2021 making now mandatory to pass that option? I guess it is a pstricks issue... but I don't know why with texlive 2020 I didn't need to pass any option with the same ghostcript
I attach also a reduced example... it's simply the slide with overlays from powerdot lyx example
I guess it's due to:
But no idea about how to solve it for anything using pstricks out of xelatex... anything needing ps2pdf will break except if we don't patch our ps2pdf to always use the option (is the workaround I am using now)
What happens when you run it directly?
ps2pdf "powerdot-minimal.ps" "powerdot-minimal.pdf" in the appropriate dir
Also they suggest to simply use the option:
Maybe I will try to report to lyx people... but I am sure other front ends will also break with this change
(In reply to Sam James from comment #2)
> What happens when you run it directly?
> ps2pdf "powerdot-minimal.ps" "powerdot-minimal.pdf" in the appropriate dir
It fails in the same way... that is the way I found that I needed the option :)
Thanks! CCing codec@ for advice on gs.