Le 05/01/2019 à 18:08, Richard Kimberly Heck a écrit :
Because an empty string is what triggers the warning that Scott
originally reported:
TextClass.cpp (1497): The layout does not provide a list command for the
float
`sidebar'. LyX will not be able to produce a float list.
I.e., an empty string might just mean that the user has forgotten to
define a list command. So what we need is something that explicitly
says, "There's no list command".
The ListCommand could be initialized to something like "__missing__" by
default, so that we know whether something has been given by the user.
OTOH, this warning is just a helper here, and we don't have a lot of
those. A solution would be to remove it :)
Anyway, we should not change the reasonable syntax just because we have
a nice warning in place.
JMarc