Is there any way to extend the features of html field, so that it display the Scientific Equations in their original format.
MathJax offer two java scripts, which is highly compatible with all the browser and mobile. While odoo’s form view is unable to print such equations in browsers either using MathJax’s code or MathML used in directly in form view as code or in html field as value.
odoo’s controller based temple is showing these equations in proper format using the MathJax’s equations. But we html field to behave like that
https://www.mathjax.org/
https://www.mathjax.org/#demo
https://en.m.wikipedia.org/wiki/MathML
http://hostmath.com/
Here is the example of using mathML in example.
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
<p>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mfrac>
<mrow>
<mtext>d</mtext>
<mi>x</mi>
</mrow>
<mrow>
<mtext>d</mtext>
<mi>y</mi>
</mrow>
</mfrac>
<mo>∔<!-- ∔ --></mo>
<msubsup>
<mo>∮<!-- ∮ --></mo>
<mi>a</mi>
<mi>b</mi>
</msubsup>
</math>
</p>
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
3822
Weergaven
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
|
1
apr. 25
|
1992 | ||
|
|
0
aug. 21
|
2921 | ||
|
|
3
apr. 17
|
6376 | ||
|
How can I style Odoo Form?
Opgelost
|
|
3
sep. 24
|
5634 | |
|
|
2
sep. 23
|
11028 |