Skip to content

Can you add an html input output interface? #60

@glennhanks

Description

@glennhanks

Dear developer, thanks a lot for the great project!

I am completely a newbie in programming. I would like to have an html input output interface that I can use instantly. I tried to learn a little html and javascript and have written a stupid html with the following code, which does not work at all. Could you please help make it work? Or even better, you can provide a better version? Thanks a lot anyway!

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>tex2max</title>

<script src="C:/Users/dell/node_modules/tex2max/lib/tex2max.js">
const tex2max = require('tex2max');
const converter = new tex2max();
</script>

</head>

<body>

<form oninput="y.value=converter.toMaxima(z.value)">
LaTeX: <input type="text" id="z" value=" "><br>
Maxima: <output name="y" for="z"></output>

<br>
converter.toMaxima("z.value")
z.value

</body>
</html>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions