paulremo / NRPMHandbook

Repository to store and track the development on the ADS/Matrisk project for developing a jupyter book of the NRPM handbook.
Other
1 stars 1 forks source link

Latex equations don't compile in raw html tables #46

Closed csxADS closed 2 years ago

csxADS commented 2 years ago

Using

<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>

hide the text after and putting it at the end don't solve the issue. See also #11.

paulremo commented 2 years ago

Can you point me to the file where this issue occurs?

A: This occurs in methodo-table5-14 of reliability_prediction_during_project_life_cycle.md

paulremo commented 2 years ago

The solution is to wrap the math expressions inside tables in the <span> tags and assign the math class to them: Change:

\(g_{ij}\)

To:

<span class="math">\(g_{ij}\)</span>
csxADS commented 2 years ago

Done commit 289d3b3b12cd46ea51c709142e8b845577d653a1