Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
Hi Simon, Am 06.01.25 um 21:46 schrieb Simon Albrecht: On 06.01.25 15:33, Lukas-Fabian Moser wrote: This is possible, but The issue of “de-whiting” everything that’s supposed to be white outside of whiteout immediately popped up when applying this to my example file for LSR… Let’s keep in

Re: White on black with whiteout

2025-01-06 Thread Simon Albrecht
Hi Lukas, thanks already for helping! On 06.01.25 15:33, Lukas-Fabian Moser wrote: This is possible, but The issue of “de-whiting” everything that’s supposed to be white outside of whiteout immediately popped up when applying this to my example file for LSR… Let’s keep in touch with regar

Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
I'm afraid so. Whiteout color white is hard-coded in scm/stencil.scm. This should be re-implemented using either a global variable for the background color or (much better) a paper variable. But I doubt whether paper variables can be used in general stencil routines, Why? Markup commands all get

Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
Maybe it would be possible to refine harm's function (which at the moment uses stencil-with-color, which simply puts a color-selection command in front of the stencil expression as far as I can see) so that it walks through the page stencil expression and turns any explicit "white" into the sel

Re: White on black with whiteout

2025-01-06 Thread Werner LEMBERG
> But I think this opens up a route via overriding the whiteout-color > grob property and maybe also a property-defaults entry. I suggest to file an issue, and you are more than welcome to also provide a merge request :-) Werner

Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
Am 06.01.25 um 15:23 schrieb Werner LEMBERG: I'm afraid so. Whiteout color white is hard-coded in scm/stencil.scm. Are you looking at the current development version? In the 'changes' document you can find the following: • A new grob property `whiteout-color` is available to set the color

Re: White on black with whiteout

2025-01-06 Thread Werner LEMBERG
> I'm afraid so. Whiteout color white is hard-coded in > scm/stencil.scm. Are you looking at the current development version? In the 'changes' document you can find the following: • A new grob property `whiteout-color` is available to set the color used for white-out operations. Similarly

Re: White on black with whiteout

2025-01-06 Thread David Kastrup
Lukas-Fabian Moser writes: >>> I'm afraid so. Whiteout color white is hard-coded in scm/stencil.scm. >>> This should be re-implemented using either a global variable for the >>> background color or (much better) a paper variable. But I doubt whether >>> paper variables can be used in general sten

Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
I'm afraid so. Whiteout color white is hard-coded in scm/stencil.scm. This should be re-implemented using either a global variable for the background color or (much better) a paper variable. But I doubt whether paper variables can be used in general stencil routines, Why? Markup commands all get

Re: White on black with whiteout

2025-01-06 Thread David Kastrup
Lukas-Fabian Moser writes: > Hi Simon, > > Am 06.01.25 um 14:40 schrieb Simon Albrecht: >> Hi Harm, hello list, >> >> unfortunately Yoshiaki-san’s “issue report” regarding whiteout has me >> coming back to you for help, since I don’t understand the mechanisms >> of your implementation well enough

Re: White on black with whiteout

2025-01-06 Thread Lukas-Fabian Moser
Hi Simon, Am 06.01.25 um 14:40 schrieb Simon Albrecht: Hi Harm, hello list, unfortunately Yoshiaki-san’s “issue report” regarding whiteout has me coming back to you for help, since I don’t understand the mechanisms of your implementation well enough to start addressing the issue myself. Are we

White on black with whiteout

2025-01-06 Thread Simon Albrecht
Hi Harm, hello list, unfortunately Yoshiaki-san’s “issue report” regarding whiteout has me coming back to you for help, since I don’t understand the mechanisms of your implementation well enough to start addressing the issue myself. Are we at the limits of what can sensibly be addressed on LS