Page MenuHomePhabricator

Provide user feedback for texvc input
Open, MediumPublic

Description

Currently, the user feedback for the provided TeX (i.e., texvc) input is quite minimal.
It is limited to detect syntax errors. However, it would be nice to have some suggestions how the quality of the texvc input could be improved.
For example if a user types $sin x$, we should suggest to change it to $\sin x$.
In a first step this would be done using simple rules.
Based on the Mathematical Language Processing Project (http://arxiv.org/pdf/1407.0167.pdf) one could in the future also do more elaborate suggestions such as: $F = G \frac{m_1 m_2}{ r^2 }$ ->Warning: G is not yet explaind in the article text.

Event Timeline

Physikerwelt claimed this task.
Physikerwelt raised the priority of this task from to Medium.
Physikerwelt updated the task description. (Show Details)
Physikerwelt added a project: Mathoid.

In mathoid 0.2.9 texvcinfo at least gives information which identifiers are used in a formula

Screenshot 2015-11-26 18.12.54.png (1×1 px, 194 KB)

For VE the current feedback is not optimal

The backend is now part of restbase.

curl -X POST --header "Content-Type: application/x-www-form-urlencoded" --header "Accept: application/json" -d "q=E%3Dmc%5E2%2B%5Cnewcommand%20x" "http://math.beta.wmflabs.org:7231/math.beta.wmflabs.org/v1/media/math/check/tex"

However, I have no idea how to interact with it from ve

@Physikerwelt I'm looking into this, would be great to integrate it - @GWicke can you advise?