vitalab / vitalab.github.io

Website of the Vitalab :
https://vitalab.github.io/
55 stars 14 forks source link

Updated KaTeX to latest release (0.12) #492

Closed nathanpainchaud closed 4 years ago

nathanpainchaud commented 4 years ago

This PR's purpose is to update our KaTeX version (for LaTeX rendering) to the latest release. The rationale behind this update is that our version is painfully out of date (early 2017).

I stumbled upon the issue when I looked up the LaTeX functions supported by KaTeX and found that some documented functions were not supported by our version. I already tested this update locally to view old reviews as well as the new functions I wanted to use, and everything seems to be working fine.

To update, I simply downloaded the code from the latest KaTeX release and overwrote the matching files/folders we already had with the new ones. It seems that was how we originally integrated KaTeX to the project as per this commit (maybe @lemairecarl you can comment more on that if you remember what you did back then).