[Top][All Lists]

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

Re: [AUCTeX-devel] [gs-devel] Asking help for preview-latex

From: Chris Liddell
Subject: Re: [AUCTeX-devel] [gs-devel] Asking help for preview-latex
Date: Wed, 3 Jul 2019 15:54:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1

On 03/07/2019 08:36, David Kastrup wrote:
> Chris Liddell <address@hidden> writes:
>> So, in essence, the idea is that you'll remove the stuff using
>> GS_PDF_ProcSet entirely. Add the option -dDELAYBIND to your gs command
>> line, include a suitable redefinition of initgraphics, then call
>> .bindnow, and continue as before.
>> The redefinition of initgraphics would look something like:
>> /initgraphics {
>>   //initgraphics
>>   /RG where {
>>     pop <R value> <B value> <G value> 3 copy rg RG
>>   } if
>> } bind def
> I'll probably pitch in from here (if nobody else does) and write code
> that checks for the availability of any of these features and uses them.
> What will be the result of trying to use the broken DELAYBIND?  Can I
> check/use it in a manner where the worst that will happen is, well,
> nothing?

Sorry, unfortunately not. Since DELAYBIND is a command line parameter,
by the time any Postscript could detect the problem, it's already too
late to recover.

Using DELAYBIND without the fixes will result in almost any non-trivial
file erroring out.


reply via email to

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