On 2011-7-15 13:06 , Uwe Stöhr wrote:
This is not necessary. Before LyX was able to display the number also
within LyX, we used a normal "#" to indicate that in the output will
be a number. Colored labels indicate that they are only hints what to
do and don't appear in the output. But in this case you get a number
in the output.
Thanks, good to know
Ideally, one would replace "[label of Prob]" by the
actual counter of the problem but I could not do this.
This is not possible. Implementing such a feature in LyX would require
a lot of work (the prob is in a subdocument of a master file and the
sol too, moreover th3ey are in different chapter with different
styles, that's why also LaTeX needs several runs to get the number).
So I don't think that it is worth it.
okay
I have attached an example.
This is because you didn't use the argument. The Sol style required an
optional argument (the argument is not optional as the nae says, but
in case of Sol mandatory). But I described that in the template files.
Yes, I should have been clearer. My intention was to show potential
problems if the user does not know that there is an optional argument.
In any case, your changes address my concern.
Thanks and regards, Marcus