solved: PNG clipart prevents export DVI / export PS

Guenter Milde milde at users.sf.net
Wed Nov 25 09:18:04 UTC 2020


Dear Pavel,

On 2020-11-24, Pavel Sanda wrote:
> 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" />


This did the trick.

Thank you

Günter



More information about the lyx-devel mailing list