geolexica / geolexica-server

Generalized backend for Geolexica sites
2 stars 1 forks source link

Turning mathematical formulae into plain text (searchability and <title> element) #112

Closed skalee closed 4 years ago

skalee commented 4 years ago

Mathematical formulas can appear in designations, for example:

This raises at least two following problems:

We need to find the best way to turn mathematical formulas to raw text, so that they can appear in <title> element and that they are searchable. Perhaps converting MathML to AsciiMath will suit our needs. In fact, in all three above cases the result will be perfect, i.e. function of n variables, p-fractile, . That said, I'm not sure if this will hold true for more complicated formulas, or for non-latin scripts.

TODO

ronaldtse commented 4 years ago

@skalee Let's do AsciiMath for the title element then. Don't seem there is an alternative here.

skalee commented 4 years ago

And regarding search, let's also do AsciiMath for now. We will see if this is enough, and imporve later, if needed.

skalee commented 4 years ago

Closing in favour of specific issues (#118, #119).