D
D
Di Da2019-11-20 10:02:13
PHP
Di Da, 2019-11-20 10:02:13

How to use word formulas in php (shuffle test questions)?

There is a math test. And I wrote a php script to mix the questions and answers of the test. Paste the quiz into a textarea and press the button and you get jumbled questions and answers. And here such things. In textarea, you can only insert text. How do I insert formulas?
Is it possible to somehow encode the formulas into one format, after processing, re-decode and insert into the Word?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Taratin, 2019-11-20
@Taraflex

Use LaTeX instead of Word as the editable source.
After the change, you can render to word
. For example, by calling the console utility https://pandoc.org/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question