Skip to content

wxm format: questions and answers are exported - unreadable by Maxima #2014

@daute

Description

@daute

When saving to wxm, questions and answers are written as XML - this is not readable by Maxima, e.g.:

/* [wxMaxima: input   start ] */
askinteger(b);
/* [wxMaxima: input   end   ] */
/* [wxMaxima: question  start ] */
<math><st>Is </st><mi lisp="*var-tag*">b</mi><st> an </st><mi lisp="*var-tag*">integer</mi><st>?</st></math>
/* [wxMaxima: question  end   ] */
/* [wxMaxima: answer  start ] */
n;
/* [wxMaxima: answer  end   ] */

Other problematic commands are read() or asksign() (maybe more).
wxm files should be readable using load() or batch(). At least we write this in the manual. And that code is not readable by Maxima.

Maybe the questions and answers shouldn't be saved in a wxm file at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions