# ipython/ipython

### Subversion checkout URL

You can clone with HTTPS or Subversion.

# Allow latex formulas in HTML output#994

Closed
wants to merge 1 commit into from
+2 −2

### 3 participants

Currently latex rendering works for markdown cells and latex output.
However, HTML output containing latex formulas will not be processed until a true latex content is detected (or when entering a markdown cell). Given that HTML output may well contain formulas (e.g a table whose columns are latex variables), it seems natural to call the mathjax renderer after html output too. This is what this patch does.
It looks like Mathjax is caching already computed results, so the overhead may be small even if there are many formulas around.

 albop Latexify formulas contained in html text. 08bd02f
Owner

This seems perfectly sensible to me, thanks! Unless @ellisonbg knows a reason that this would have unsavory side effects, we should go ahead with it.

Owner
Owner

Thanks! merged.

closed this
referenced this pull request from a commit in mdboom/ipython
 albop Latexify formulas contained in html text. closes gh-994 2ad63d5
referenced this pull request from a commit
 Commit has since been removed from the repository and is no longer available.
referenced this pull request from a commit in mattvonrocketstein/ipython
 albop Latexify formulas contained in html text. closes gh-994 f5faa7e