Lukas-Fabian Moser <l...@gmx.de> 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 to start addressing the issue myself. >> >> Are we at the limits of what can sensibly be addressed on LSR-level? >> Should I create a ticket on implementing background-color and >> print-color in base LilyPond and have whiteout recognise that >> appropriately? > > 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 the layout argument (which is either a layout block or for global markup the paper block), and layouts inherit from paper. -- David Kastrup