Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795381 - app-text/texlive-core-2021: Powerdot ps2pdf conversion now need to manually pass -dALLOWPSTRANSPARENCY while it wasn't needed with texlive 2020
Summary: app-text/texlive-core-2021: Powerdot ps2pdf conversion now need to manually p...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-11 10:34 UTC by Pacho Ramos
Modified: 2021-06-12 11:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
powerdot-minimal.lyx (powerdot-minimal.lyx,3.01 KB, text/plain)
2021-06-11 10:34 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2021-06-11 10:34:31 UTC
Created attachment 715251 [details]
powerdot-minimal.lyx

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
Operand stack:
   1.0
Execution stack:
   %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--
Dictionary stack:
   --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

Thanks
Comment 1 Pacho Ramos gentoo-dev 2021-06-12 10:46:44 UTC
I guess it's due to:
https://www.ctan.org/ctan-ann/id/mailman.2839.1600699145.2548.ctan-ann@ctan.org

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)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 10:49:15 UTC
What happens when you run it directly?

ps2pdf "powerdot-minimal.ps" "powerdot-minimal.pdf" in the appropriate dir
Comment 3 Pacho Ramos gentoo-dev 2021-06-12 10:54:14 UTC
Also they suggest to simply use the option:
https://tug.org/pipermail/pstricks/2021/011262.html

Maybe I will try to report to lyx people... but I am sure other front ends will also break with this change
Comment 4 Pacho Ramos gentoo-dev 2021-06-12 10:54:44 UTC
(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 :)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-12 11:14:03 UTC
Thanks! CCing codec@ for advice on gs.