Question: How can I copy as text the outputs of commands of the DifferentialGeometry package?

Hello. I work with vector fields and 1-forms with the package DifferentialGeometry. I need to copy the output in a latex file, but when I use copy paste what I get is the internal representation of the 1-forms, for example, something like

_DG([[\"form\", M, 1], [[[1], x2/x4], [[2], -1]]])

But what I need is something like:

x2/x4 dx1-(`*`(dx2))

which is what I see at the screen. I have tried lot of commands but I don't get what I want.

Here is the basic code:




DGsetup([x1, x2, x3], M);

w:=evalDG(x2/x4 dx1-dx2)

Please Wait...