Mathml

Hello,

Thank you for your help, I continued a little the functions for the 
panel, but I have still some questions.

1) Organization of the panel
    I looked at Panel_SpeChar.xrc in order to change the organisation of 
the MathML palette, but I think I need to make function that refresh the 
panel when you select a subsection. I ignore where and how to do this, 
maybe in AmayaMATHMLPanel.cpp ? For the moment, I prefer making new 
functions that generate MathML code in MathEdit.c, except if it can be 
done easily. By the way, I see a table "mIcons" in MathEdit.c, but I 
don't know if I have to complete it ?

2) The debug mode
    Altough I follow your instructions, I don't succeed in activating 
the debug mode. I first tried "configure --with-debug" but this does not 
change the options file. So I manually edit options.in with 
"-DAMAYA_DEBUG" at the AMAYA_OPTIONS= but when I do "Help -> about", 
nothing happens except the information window. Is it normal ? I don't 
find tree.debug or the other files you mentionned. It is a shame, as I 
can't really know neither the structure of the tree, nor if there are 
bugs in the constructions.

3) Put symbols and text in trees
    I use what was done for the Sigma symbol, but I don't know precisely 
the type CHAR_T. It seems that when the value of a special character is 
too large, the symbol is replaced by a square. About the text like in 
"id" or "True", I use a table of CHAR_T but it isn't very convenient... 
I suppose there are others ways to put a string in the tree ? Where can 
I find informations about the possible content of a tree ? I would also 
like to know if there are functions to easily insert parenthesis or 
mtable in a new contructions or if I have to make them.

4) Set the position of the cursor
    I would like to know if there are functions that set the position of 
the cursor or the selection at the screen. For example when you insert a 
symbol, this one continues to be selected. I tried the "Unselect" 
function but it completely unselect the document whereas I would just 
like to put the cursor after the new inserted symbol.

5) Making structures with empty squares ("structures à trou")
    I tried to make structures of this type but the empty "mi" I created 
are deleted then if they aren't in a "mrow". Moreover I don't know how 
to make empty "mi" that are represented by squares at the screen. 
Strangely, some of them appear whereas I didn't ask them, for example it 
is the case of the congru, exists or forall constructions. The problem 
comes again from the fact that I can't access to the debug mode.

6) New constructions enabled
    To conclude, here is a list of constructions for the moment, even if 
there are not all finished, so you can test them :
- The symbol or text of constants
- The accents
- conjuguaison / complement
- The binary relations/operations (implies, intersection...)
- The operation on a family (Sigma, Product, Union...)
- The quantificators
- Congru
- combination
- exposants (supplus...)
- symbol with a sub element (aleph, omega)

Regards,

Fred

Received on Saturday, 7 October 2006 11:40:03 UTC