ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 05 Sep 2020 12:19:06 +0200Latex (?)--Riemann tensor overflowhttps://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/While running Kerr_Schild.ipynb
- https://github.com/egourgoulhon/BHLectures/blob/master/sage/Kerr_Schild.ipynb
I get a bad output; not necessarily incorrect. I copied the TeX to a LaTeX GUI editor and it looks right.
When the last expression is evaluated it outputs TeX instead of LaTeX image. It is very long so it might just be a converter problem; that I can ignore. After the leadin the expression:
g.riemann().display()
Well I can't attach a trimmed file but I can provide a Dropbox link if needed.
The above expression was added just after the "Kerr Metric" paragraph; about line 13.
Is this my machine or LaTeX or Jupyter ?Thu, 03 Sep 2020 23:45:04 +0200https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/Answer by eric_g for <p>While running Kerr_Schild.ipynb </p>
<ul>
<li><a href="https://github.com/egourgoulhon/BHLectures/blob/master/sage/Kerr_Schild.ipynb">https://github.com/egourgoulhon/BHLec...</a></li>
</ul>
<p>I get a bad output; not necessarily incorrect. I copied the TeX to a LaTeX GUI editor and it looks right.
When the last expression is evaluated it outputs TeX instead of LaTeX image. It is very long so it might just be a converter problem; that I can ignore. After the leadin the expression:</p>
<pre><code>g.riemann().display()
</code></pre>
<p>Well I can't attach a trimmed file but I can provide a Dropbox link if needed.
The above expression was added just after the "Kerr Metric" paragraph; about line 13.
Is this my machine or LaTeX or Jupyter ?</p>
https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?answer=53296#post-id-53296Indeed, for very long expressions, Jupyter does not display LaTeX via MathJax, but displays instead the LaTeX source. There might be a MathJax option to circumvent this...Fri, 04 Sep 2020 10:06:33 +0200https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?answer=53296#post-id-53296Comment by rrogers for <p>Indeed, for very long expressions, Jupyter does not display LaTeX via MathJax, but displays instead the LaTeX source. There might be a MathJax option to circumvent this...</p>
https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?comment=53302#post-id-53302Thanks, I was just wondering if this was a bad sign of a coding error :) Turns out I can always drop it into Lyx; although it does run off the "page" :)Fri, 04 Sep 2020 14:05:53 +0200https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?comment=53302#post-id-53302Comment by slelievre for <p>Indeed, for very long expressions, Jupyter does not display LaTeX via MathJax, but displays instead the LaTeX source. There might be a MathJax option to circumvent this...</p>
https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?comment=53312#post-id-53312Among the results of
- [search query: "mathjax" in Jupyter Notebook documentation](https://jupyter-notebook.readthedocs.io/en/stable/search.html?q=mathjax&check_keywords=yes&area=default)
is a mention of a "mathjax-safe" extension, not sure if that is at play here.
See also comment 16 at
- [Sage Trac ticket 30296: System package information and spkg-configure for mathjax](https://trac.sagemath.org/ticket/30296)
pointing to some discussion of Jupyter Notebook shipping "its own (smaller) version of MathJax".Sat, 05 Sep 2020 12:19:06 +0200https://ask.sagemath.org/question/53283/latex-riemann-tensor-overflow/?comment=53312#post-id-53312