[LyX/master] Prevent branch background color from leaking out of the document

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Jan 21 12:45:15 UTC 2021


Le 21/01/2021 à 10:48, Jürgen Spitzmüller a écrit :
> How would that work with semantic branch names (e.g. \color
> background)? Semantic branch names are essential to support branches
> properly in different color themes.
> 
> Also, how would you export semantic color names in LaTeX (e.g.
> \textcolor{notefontcolor})? Exporting static rgb values strikes me like
> a huge step backwards.

Hmm, what about
   code = Color_background;
or
   code = colorset.getFromLyXName("background"):

I agree 100% that this needs thinking, but my point is that the 
ColorCode is more important for LyX than the name itself.

JMarc


More information about the lyx-devel mailing list