Hi,
if you define a new module whose name contains non ASCII
characters, like
#\DeclareLyXModule{Théoremes (AMS) Francais}
then lyx-1.6 crashes with the following output:
lassert.cpp(21): ASSERTION static_cast<unsigned char>(ascii[i]) < 0x80
VIOLATED IN docstring.cpp:50
Assertion triggered in void lyx::doAssert(const char*, const char*, long
int) by failing check "false" in file lassert.cpp:23
Moreover, exactly the same error occur if the description of the
module contains non ASCII character
---------------------
There is also something I don't understand with modules:
to be able to use the class "article (AMS)" in french, I create a class
"article (AMS) en Français" with all the corresponding modules (and
*.inc) for
theorems (with labels in french) excluding all the theorems modules
of the program (I have to say that I absolutely don't like the methods
described in the wiki to get traduced theorems).
Then I create a document in the class "article (AMS)"
and type a theorem. As it is traduced with a label in english, I
change the class to "article (AMS) en Français" without doing
nothing in the modules section. But even if the DefaultModule of
the class is "theorems-ams-fr", the module "theorems-ams" is still
loaded (and used) and "theorems-ams-fr" not, and I have to change
it manually in the modules section.
Similarly, if I create a document in the class "article (AMS) en Français"
the module "theorems-ams-fr" is automatically loaded but the
modules "theorems-ams", "theorems-starred" and "theorems-std"
can still be loaded (although they are excluded in "theorems-ams-fr"
and this can be seen in the information at the end of the module
section) but "theorems-ams-extended", "theorems-sec" and "theorems-chap"
cannot. It seems to me that the tag #Requires works but the tag #Excludes
not in this situation.
What I am doing wrong?
PhC