giotto-ai / giotto-tda

A high-performance topological machine learning toolbox in Python
https://giotto-ai.github.io/gtda-docs
Other
858 stars 175 forks source link

[BUG] [gtda-docs] LaTeX doesn't display text in formulas properly in online docs (Theory Glossary) #526

Closed rorondre closed 4 years ago

rorondre commented 4 years ago

Describe the bug LaTeX doesn't display text in formulas properly in the Theory Glossary part of the online docs for latest and version 0.3.0 (previous version 0.2.2 works ok).

To reproduce One example: In https://giotto-ai.github.io/gtda-docs/latest/theory/glossary.html , section Analysis/Metric spaces definition. In https://github.com/giotto-ai/gtda-docs/blob/master/0.3.0/theory/glossary.html , line 797: \[ \begin{align}\begin{aligned}d : X \times X \to \mathbb R\\is said to be a *metric space* if the values of :math:dare all\end{aligned}\end{align} \]

Expected behavior As in version 0.2.2: image

Actual behaviour In version 0.3.0: image

Versions gtda-docs version 0.3.0

Additional context Perhaps this issue should be raised in the gtda-docs project.

wreise commented 4 years ago

Thank you for pointing this out!

It seems that I managed to solve the issue.

For the latest update, I was using pandoc 1.19.2.4 instead of the 2.10, which were used previously to compile the glossary for, for example, 0.2.2 (and also 0.3.0 in the previous commits).

ulupo commented 4 years ago

Indeed, this seems fixed. Thanks @rorondre for spotting this and @wreise for fixing it!