Skip to content

DOC: Make LaTeX math definitions LaTeX compatible#90

Merged
mgeier merged 1 commit into
masterfrom
latex-definitions3
Feb 28, 2019
Merged

DOC: Make LaTeX math definitions LaTeX compatible#90
mgeier merged 1 commit into
masterfrom
latex-definitions3

Conversation

@mgeier

@mgeier mgeier commented Feb 18, 2019

Copy link
Copy Markdown
Member

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

@hagenw hagenw left a comment

Copy link
Copy Markdown
Member

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

mgeier commented Feb 26, 2019

Copy link
Copy Markdown
Member Author

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

hagenw commented Feb 28, 2019

Copy link
Copy Markdown
Member

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.

2 participants