>> Excellent.  Earlier you wrote that the translation rules are
>> incomplete.  Is there a document somewhere that describes what works
>> and what does not?
> What works now:
> * powers, fractions (fraction bar), square (and higher) roots
> * matrices, determinants
> * indefinite and definite integrals
> * sums, products
> * some symbols: infiniti, pi, empty set, etc.
> /usr/share/TeXmacs/plugins/fricas/progs/fricas-input.scm can be extended
> to support 2D input for additional math constructs.

Copying output from TeXmacs and pasting it into an ordinary editor seems
to suggest that the two-dimensional output ist parsable to recover some
input format.

For matrix([[1, 2], [3, 4]]) and ")set output texmacs on" we get

 |startTeXmacsOutput|
scheme: (with "mode" "math"
(concat (matrix (tformat (table (row (cell  "1" ) (cell  "2" )) (row
(cell  "3" ) (cell  "4" ))))))
)

 |endOfTeXmacsOutput|

Which TeXmacs seems to translate to

<matrix|<tformat|<table|<row|<cell|1>|<cell|2>>|<row|<cell|3>|<cell|4>>>>>

as an internal format that can be parsed back into

matrix([[1, 2], [3, 4]])

Actually, that could have relevance to Martin Baker's design of a new
"OutputForm" written in Spad.

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to