Alexander Solovets wrote:
>
> That is good news! Thanks for fixing those issues about sub/super
> scripts. Could you clarify the required changes, please?
MathML format tries to make distinction between sub/super scripts
and derivatives. The code to handle this has some problems.
AFAICS for Texmacs this distinction is not needed, so I changed
code to go to formatSpecial to handle sub/super scripts. In
formatSpecial SUB case I basicaly reused what you had in formatSub1.
In SUPERSUB case I introduced 'optionalWrap' routine to avoid
repetitive code, but the logic is quite similar to what you
had in formatSuperSub. The problem you had was that formatSub1
and formatSuperSub had several branches and you did not handle
all of them. And AFAICS MathML version do not handle/mishandle
some less common cases... Doing sub/super scripts in formatSpecial
means that we need less code to handle them.
BTW: I do not know how to express prescripts in Texmas so they
are currently not handled.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.