getnikola / nikola-themes

Themes for Nikola
https://themes.getnikola.com/
71 stars 51 forks source link

Math rendering doesn't work with lanyon theme #111

Closed tautologico closed 7 years ago

tautologico commented 7 years ago

The math support mentioned in the Nikola Handbook does not work when using the lanyon theme. The LaTeX code is just wrapped in an equation* environment, and not rendered. I checked the templates and it seems the code to include the mathjax (or katex) code is not present in the theme templates.

Kwpolska commented 7 years ago

Cannot reproduce. Make sure…

Kwpolska commented 7 years ago

Nikola supports math input via MathJax. It is activated via the math roles and directives of reStructuredText and the usual LaTeX delimiters (backslash-parentheses, backslash-brackets) for other input formats.

To use mathematics in a post, you must add the mathjax tag.

(From the docs) The tag name does not depend on the renderer selected; I’ll add a note about it.

Kwpolska commented 7 years ago

@tautologico, please do not delete comments, especially because it’s absolutely fine to ask questions like this, for example if docs are not entirely clear or you otherwise have doubts.

tautologico commented 7 years ago

Sorry, I realized I was talking nonsense because the comment (to use the mathjax tag) is right there in the documentation and I hadn't seen it.