PNG clipart prevents export DVI / export PS

Pavel Sanda sanda at lyx.org
Tue Nov 24 21:52:08 UTC 2020


On Tue, Nov 24, 2020 at 09:32:53PM -0000, Guenter Milde wrote:
> * How can I change the security policy and why does it prevent EPS
>   generation by default?

Well known problem with imagemagick configuration. Bunch of distros 
fear potential ghostscript vulnerabilities and banned eps/pdf conversions
altogether. The juicy part is that if you are not root, you can't override
this setting as a normal user. 

If you are root find somewhere in your /etc/ imagemagick configs and
delete/comment in policy.xml these entries:
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="PS2" />
<policy domain="coder" rights="none" pattern="PS3" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />


Pavel


More information about the lyx-devel mailing list