First comment: I see that TexmacsFormat (like MathMLFormat) uses 'sayTeX'. This is wrong, TexmacsFormat should use its own function, logically it should be called 'sayTexmacs'. Namely, 'sayTeX' sends its output to $texOutputStream. Texmacs output should go to a separate stream (so that it is possible to send TeX output to a file via Texmacs interface). In TexmacsFormat the minmal change could be addition of line:sayTeX ==> sayTexmacs but global renaming may be good for readability. In particular, the '$Lisp' part is better hidden in a macro.
Yes, there are still a few issues. But now we can look at them and improve.
Of course, we need to add code to create appropriate stream and define the 'sayTexmacs' function, I will do this.
For me it looks as if Alexander has already considered it here. https://github.com/mbait/fricas/commit/23fe66bb3f85905ca1189006bc2bc1cf54bb50d7#diff-5
BTW2: IIUC texmacs.spad.pamphlet compared to MathML version is changed so much that it is better to treat it as new file. But for other files I would like to see just the diff as a single patch, so that I can see all changes and only the changes. How can I get such diff?
To me it looks pretty similar. Ralf -- 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.
