bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-06-17 Thread Ikumi Keita
Hi all, Now I have some spare time, so I'd like to continue to discuss what we should do about this issue. I'm now a bit inclined to take the option (2) and ask gs-devel to provide suitable Postscript(?) code for preview-latex. What do others think? Regards, Ikumi Keita > Ikumi Keita

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-28 Thread Ikumi Keita
> David Kastrup writes: >> Thanks for your advice, the attached patch works well. The foreground >> color of the generated image matches with the default face of emacs >> without `preview-pdf-color-string', at least for gs 9.27 on my machine. Ah, my bad, I was looking at the outcome of

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-28 Thread Ikumi Keita
> David Kastrup writes: > The current code is already a sledgehammer that looks like a "not again" > approach of evading yet another changed API. Looking at the history of > the recommended replacements, I see that the Ghostscript developers > state that some of those were removed in some

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-27 Thread Ikumi Keita
[Adding auctex-de...@gnu.org in To: field may result in too many duplicated delivery of this message, so I refrain from doing so.] Hi David and all, > David Kastrup writes: > It never was a problem for myself since my windows are black on white. > This code is for people who expect

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-27 Thread David Kastrup
Ikumi Keita writes: >> David Kastrup writes: >>> Are you thinking that it isn't fruitful to follow up the development of >>> ghostscript every time incompatible change is introduced? > >> No since the changes tend to be completely arbitrary. It's absolutely >> not fruitful but

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-27 Thread Ikumi Keita
> David Kastrup writes: >> Are you thinking that it isn't fruitful to follow up the development of >> ghostscript every time incompatible change is introduced? > No since the changes tend to be completely arbitrary. It's absolutely > not fruitful but exasperating. That doesn't mean that

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-26 Thread David Kastrup
Ikumi Keita writes: > Hi David, > >> David Kastrup writes: >> The usual "oh, we decided change is good and clobbered over the previous >> API." Presumably one of the listed hooks can be used instead, possibly >> mimicking what the mentioned patch does to lib/pdf2dsc.ps . > > Are you

bug#35571: bug#35696: preview-latex does not work under any Emacs themes and bug#35571: 12.1; Changing foreground breaks previews

2019-05-26 Thread Ikumi Keita
Hi David, > David Kastrup writes: > The usual "oh, we decided change is good and clobbered over the previous > API." Presumably one of the listed hooks can be used instead, possibly > mimicking what the mentioned patch does to lib/pdf2dsc.ps . Are you thinking that it isn't fruitful to