Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow latex formulas in HTML output #994

Closed
wants to merge 1 commit into from
Closed

Allow latex formulas in HTML output #994

wants to merge 1 commit into from

Conversation

albop
Copy link
Contributor

@albop albop commented Nov 13, 2011

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.

@minrk
Copy link
Member

minrk commented Nov 13, 2011

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.

@ellisonbg
Copy link
Member

This is fine.

On Sun, Nov 13, 2011 at 2:29 PM, Min RK
reply@reply.github.com
wrote:

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.


Reply to this email directly or view it on GitHub:
#994 (comment)

Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu and ellisonbg@gmail.com

@minrk
Copy link
Member

minrk commented Nov 15, 2011

Thanks! merged.

@minrk minrk closed this Nov 15, 2011
mdboom pushed a commit to mdboom/ipython that referenced this pull request Dec 2, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
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.

None yet

3 participants