Skip to content

Conversation

@mgeier
Copy link
Member

@mgeier mgeier commented Feb 18, 2019

Yet another alternative for #80, #81 and #82.

@mgeier mgeier requested a review from hagenw February 19, 2019 14:47
@hagenw hagenw mentioned this pull request Feb 25, 2019
Copy link
Member

@hagenw hagenw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for PDF, but not for HTML, see screenshot:

equation

@mgeier
Copy link
Member Author

mgeier commented Feb 26, 2019

Can you please make sure to build the Sphinx doc from scratch (e.g. by deleting the previous build directory beforehand)?

The resulting HTML files should have a line like this:

<script type="text/x-mathjax-config">MathJax.Hub.Config({"TeX": {"extensions": ["newcommand.js", "begingroup.js"]}, "tex2jax": {"inlineMath": [["$", "$"], ["\\(", "\\)"]], "processEscapes": true, "ignoreClass": "document", "processClass": "math|output_area"}})</script>

@mgeier mgeier force-pushed the latex-definitions3 branch 2 times, most recently from c0da7ce to 4955dcd Compare February 26, 2019 10:07
@hagenw
Copy link
Member

hagenw commented Feb 28, 2019

That was indeed the problem, looks good now.

@mgeier mgeier force-pushed the latex-definitions3 branch from 4955dcd to 1e8f43f Compare February 28, 2019 16:39
@mgeier mgeier merged commit 1e8f43f into master Feb 28, 2019
@mgeier mgeier deleted the latex-definitions3 branch February 28, 2019 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants