Répondre à : caratére underscore dans maxima

Accueil Forums Programmation WIMS Programmation d’exercices OEF caratére underscore dans maxima Répondre à : caratére underscore dans maxima

#2229
boud
Participant
Up
0
Down
::

So blocking underscores is definitely a security feature!
Just to check,

\text{escapetolisp = maxima(to_lisp();)}

\statement{Repondre a la question svp.<br />
escapetolisp = \escapetolisp}

in an oef source gives

Repondre a la question svp.
escapetolisp = toklisp()

So to_lisp is disabled.

I suspect that eval_string probably should remain disabled too – as it
is at the moment with underscores being replaced by « K » (which then becomes
« k »). The « ? » escape to lisp leads to a rapid exit(1):
https://subversion.renater.fr/wimsdev/trunk/wims/src/Interfaces/maxima.c