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.
Yes, but this is true markup commands, not for general stencil-routines
like stencil-whiteout and friends - or am I wrong?
stencil calls should get all the arguments they need.  If necessary for
backward compatibility, as optional and/or keyword arguments.
... that's why my sentence you quoted continued as it did:
so it's maybe better to modify the \whiteout music and markup functions.

:-)

To be precise: stencil-whiteout-outline and stencil-whiteout-box already
offer this color argument, but (in my development version)
stencil-whiteout itself doesn't. But before I make further statements, I
should git pull, because I expect that the new features Werner mentioned
probably have remedied this inconsistency.

Lukas



Reply via email to