Re: Asking help for preview-latex
David Niklas <[email protected]> Fri, 21 Jun 2019 14:40:40 -0400
| Newsgroups | gmane.comp.printing.ghostscript.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 21 Jun 2019 13:21:52 +0100 Ken Sharp <[email protected]> wrote: > Good Morning Keita, > > At 00:06 21/06/2019 +0900, Ikumi Keita wrote: > > > > For example, if the PDF file uses black, and the Emacs current > > > colour is (eg) green, then you want the PDF rendered as green. > > > >That's right. > > > > > So I'm going to assume this is some highly limited application of > > > PDF and Ghostscript where you can guarantee that the PDF file only > > > uses the default colour space and colour and never sets any other > > > colours. > > > >Thanks for summarising, it looks sensible to me. > > I needed to make sure that the problem I was looking at was what you > needed to be addressed :-) > > At the moment, I cannot see any way to achieve this. What you are doing > with the PDF interpreter is pretty much exactly the sort of thing we > have spent time preventing. We really don't want people to be able to > modify the PDF interpreter at all. > <snip> Hello Mr. Sharp and Keita, I'm been lurking on this list for a few months and wanted to ask, why not make a cmdline switch for gv to display a pdf's background and foreground colors as something else? That would have more applications then Keita's use case (although I agree that setting the BG color from the latex source would be the correct series of events in her case). I'm particularly thinking of a "dark theme" as opposed to the normal white with black text type of idea. Yes Mr. Sharp, I do know that pdf's have no exact FG or BG colors as you pointed out earlier in the discussion, but something dumb and simple should not be too hard to put together, right? My idea is the equivalent of a user specified css file in html (which I really should use more often): https://userstyles.org/ Thanks, David