auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent preview-latex (or latex?) is again incompatible with ghostscr


From: Chris Liddell
Subject: Re: Recent preview-latex (or latex?) is again incompatible with ghostscript
Date: Tue, 25 May 2021 19:06:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Hi Ikumi,

On 25/05/2021 18:36, Ikumi Keita wrote:
> Hi Chris,
> 
>>>>>> Chris Liddell <chris.liddell@artifex.com> writes:
>> Your command uses "-dDELAYBIND" but I cannot see anywhere in the above
>> that your code calls the ".bindnow" operation.
> 
> [...]
> 
>> Whilst I *think* adding the .bindnow call will resolve your issue, I
>> would *strongly* urge you (maybe not immediately, but at some point) to
>> review why you have DELAYBIND in there. From the example you posted,
>> there is no reason for it, and it has security, performance and
>> behaviour implications - especially if not used properly.
> 
> Ah, thanks a lot. I realized my fault that I failed to follow your
> instruction when you first provided the solution. You wrote
> 
>> Add the option -dDELAYBIND to your gs command line, include a suitable
>> redefinition of initgraphics, then call .bindnow, and continue as
>> before.
> 
> but my elisp code adds ".bindnow" only when preview-latex tries to tweak
> foreground color while adding "-dDELAYBIND" option always.
> 
> After I modified the code to supply "-dDELAYBIND" only when necessary,
> the error disappeared. preview-latex works for both cases when it tries
> to tweak foreground color and does not.
> 
> Thank you very much!

That makes sense, yes, I recall that discussion now.

I'm glad it was a relatively simple solution!

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]