Re: Some questions about the Thot editor

Irene VATTON (Irene.Vatton@imag.fr)
Mon, 27 Oct 1997 15:25:24 +0100

In-reply-to: Your message of Mon, 27 Oct 1997 14:00:52 +0100."
<199710271300.OAA08592@beta.dcs.fmph.uniba.sk>
> Dear friends,
>
> we would like to contact with you closer. We work
> at similar project -- the Euromath system. The goal of the Euromath
> system is to create a homogeneous computer working
> environment based on a single data model and adapted to
> the needs of the working mathematicians.
> The core of Euromath system is the structured editor Grif, which works in
> similar way as Thot editor. Of course, both have the same origin.

Yes.

>
> We are interested in the area of structured editors, so
> we made also some experiments with Thot editor. It looks as
> a very comfortable ``opened'' structured editor. When
> we compare it with Grif, it has some very good new features:
> recall at least modularity S,P languages and zoom view.
>
> But one basic difference is that the Euromath system is
> SGML editor. It means, it saves and loads SGML files. Thot
> editor as a structured editor uses PIV format as its own
> format. The problem of saving documents as SGML files is solvable via
> T-languages, but the problem is with loading of SGML documents. So, our
> first question is, if you plan to rebuild Thot editor as SGML editor
> in the future.

We plan to extend Thot towards XML instead of SGML. We hope to have
2 students working on that.
Using the Thot API, it's really easy to write a parser which builds
the internal Thot tree from the XML form of a document and a save function
which provides the XML form of the current document tree.

>
> The second question, which is interested for us is the
> possibility to include another fonts into Thot editor, for
> example fonts with mathematical symbols (MSAM, MSBM from
> TeX) or with our special characters (Latin 2).

That needs some modification in the Thot kernel. You have to patch
Thot/thotlib/dialogue/font.c
to change the font allocation.

> 
> We have some first remarks and bugs to Thot editor, which follows
> from our short-time experiments:
>
> -- From our experiences, the function UNDELETE is very
> important, but in Thot editor is missing.

Yes , but we still hope to find manpower to do that.

> -- Until now, we did not find a way (we are not sure, if it is possible)
> how to specify for one document type (for example letter)
> to include just some from modules (document-natures).
> (For instance - in the letter style it has no meaning to include the
> 'bibliography')

Do you try to exclude them.
For example, if you note in the file Lettre.S:

Autre_Nature = NATURE - (Rapport);

Thot'll refuse to insert a report within a letter.
We recommand also to note in file structure.en (en for english and fr for
french interface)
whether this structure could be consired as a nature and/or a document.
In our schemas direcotory, Lettre (Letter in english) is by default a document
and Arbre is by default a document or a nature.

>
> -- Our basic interest is in mathematical formulae and we
> have found the following problem: if we wrote rooted
> construction, it was very complicated to write inside it.
> For example we want to create formulae: \sqrt{\int^1_2f(x)dx}.
> If we try to click on the canvas that is ``under'' the root sign (e.g., the
> lower bound), the whole root object is selected.
> We can access the elements under the root object (in the tree structure)
> only using the ``Selection'' funcion from the main menu.

That depends on presentation rules (which element generates what and what is
the deep of each
box) and the selection mode.
We have experimented a new approach for mathematics in Amaya application (the
MathML
specification). Amaya, in fact, is based on the Thot library.
Could you look at this application (http://www.w3.org/Amaya). It can give you
an idea to
solve your problem.

>
> We have also some comments to manuals, in which some
> references are missing or the name of menu items are not
> the same as in editor. We will sent it to you later
> together with our new observations about Thot editor.

Ok. Thanks

Irene.

\n