Using inherited/current color in box

Jürgen Spitzmüller spitz at lyx.org
Sat Apr 9 08:33:01 UTC 2022


Am Freitag, dem 08.04.2022 um 10:30 -0400 schrieb Scott Kostyshak:
> For lyx2lyx backwards conversion, I suppose there are 2 options:
> 
> 1. Try to figure out the default color from the .lyx file and set the
>    color explicitly.

Not an option IMHO. Since this color is dynamic, it could be changed
afterwards.

> 2. ERT.

Yes.

> 
> By the way (relevant here but also curious), if we do (2), is there
> any way to ask LyX for the appropriate LaTeX code to put in ERT? I
> suppose not since lyx2lyx is a separate program?

No, but lyx2lyx has routines to put code in an ert inset.

AFAIK, though, no further file format changes should go into 2.4. At
least I am holding back all my stuff meanwhile.

Jürgen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220409/a183dccb/attachment.asc>


More information about the lyx-devel mailing list