Am 15.07.2011 17:01, schrieb Georg Baum:
It is the other way round. You explicitly include strings in that file by
defining LangPreamble and BabelPreamble and using _() in there. Read
Customization.lyx for details.
Thanks for this hint.
I'm still confused. In layouttranslation there is neither Prop nor Sol.
Moreover, their definition in theorems-without-preamble.inc is the same,
so why appears only Prop?
It is not the same. Prop has LangPreamble and BabelPreamble, Sol does not
have them.
No, here are the definitions:
Style Sol
CopyStyle Problem
LabelCounter sol
LatexName sol
LabelString "\thesol"
RequiredArgs 1
End
Style Prob
CopyStyle Problem
LabelCounter prob
LatexName prob
LabelString "\theprob."
OptionalArgs 0
End
So both inherit the problem style which has a babel preamble. Therefore both Styles should appear in
layouttranslations, but Sol does not appear.
To answer your question, Prop and Sol are proper
names. They are only used for document classes where English is required
so translating them would not make sense and would only confuse the users.
Then you should remove LangPreamble and BabelPreamble from the layout files
for those styles.
I removed now the dependency of the Problem style. I hope that it is now fixed.
thanks and regards
Uwe