I can no longer render LaTeX

  • Thread starter Thread starter renormalize
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
Users are experiencing issues with LaTeX rendering in posts, particularly after a recent software update. Attempts to refresh or use the preview function often result in LaTeX code being converted to an uneditable ASCII format, complicating recovery efforts. Workarounds include posting, refreshing, and editing, but these are seen as inadequate and frustrating. The editor's performance has also been noted as laggy, further hindering the user experience. Ongoing efforts are being made to resolve these issues, with hopes for improvements in future updates.
  • #51
Testing inline ##\Omega=ab\mu^{\nu}\text{ test}## code. Testing display$$\Omega=ab\mu^{\nu}\text{ test}$$code.
Both inline and display tags now work reliably for me in preview. Eureka!
 
  • Love
  • Like
Likes FactChecker and Greg Bernhardt
Physics news on Phys.org
  • #53
Let's see.

Code:
\begin{align*}
\begin{pmatrix}1&0\\0&1\end{pmatrix}&=\mathbb{I}_2
\end{align*}
\begin{align*}
\begin{pmatrix}1&0\\0&1\end{pmatrix}&=\mathbb{I}_2
\end{align*}

results in ...

a) no preview at all
and then corrected to
Code:
$$
\begin{align*}
\begin{pmatrix}1&0\\0&1\end{pmatrix}&=\mathbb{I}_2
\end{align*}
$$
$$
\begin{align*}
\begin{pmatrix}1&0\\0&1\end{pmatrix}&=\mathbb{I}_2
\end{align*}
$$
resulted in ...

b) a correct preview, and (sic!) it also previewed the first version without math tags correctly this time. But it did not on the first attempt. (I have no idea why.)

So now we will see what happens after hitting the post reply button.

Edit 1:
c) Page refresh is necessary

Edit 2:
d) Still, both versions are correct.

See what will happen after a while and/or leave the page.

Edit 3:
e) No additional amp; notes this time. I don't know what happened the first time.

I try to do it with the same code again:
Code:
##\begin{pmatrix}a&b\end{pmatrix}##
[itex]\begin{pmatrix}c&d\end{pmatrix}[/itex]
$$\begin{pmatrix}e&f\end{pmatrix}$$
[tex]\begin{pmatrix}g&h\end{pmatrix}[/tex]
##\begin{pmatrix}a&b\end{pmatrix}##
\begin{pmatrix}c&d\end{pmatrix}
$$\begin{pmatrix}e&f\end{pmatrix}$$
\begin{pmatrix}g&h\end{pmatrix}

f) Ctrl+C still copies the additional commands <br> and amp; into the buffer.
g) The preview is correct.

General observation from other threads: the quoted texts do not resolve TeX commands.

I close the edit session now.

Edit 4:
h) The post has been displayed correctly (after one refresh).
i) After the second refresh, I have again the amp; tags on the screen.
j) This occurs only in the lines that used [ tex ] and [ itex ] commands, not on the lines with hastags or dollars.
 
Last edited:
  • #54
The motional emf across an oriented segment ##d\mathbf l## is $$d(\text{emf})=\mathbf E\cdot d\mathbf l= (\mathbf v\times \mathbf B)\cdot d\mathbf l.$$Now $$\begin{align}& \mathbf E=(\mathbf v\times \mathbf B)=(\boldsymbol{\omega}\times \mathbf{r})\times\mathbf B \nonumber \\& = \mathbf B\times(\mathbf {r}\times \boldsymbol{\omega}) \nonumber \\& =\cancelto{0}{\mathbf r(\mathbf B\cdot \boldsymbol{\omega})}-\boldsymbol{\omega}(\mathbf B\cdot \mathbf r) =-\omega B r\cos\!\theta ~\mathbf {\hat y}.\end{align}$$
Code:
The motional emf across an oriented segment ##d\mathbf l## is $$
d(\text{emf})=\mathbf E\cdot d\mathbf l= (\mathbf v\times \mathbf B)\cdot d\mathbf l.$$ Now $$
\begin{align}& \mathbf E=(\mathbf v\times \mathbf B)
=(\boldsymbol{\omega}\times \mathbf{r})\times\mathbf B \nonumber \\
 = \mathbf B\times(\mathbf {r}\times \boldsymbol{\omega}) \nonumber \\
& =\cancelto{0}{\mathbf r(\mathbf B\cdot \boldsymbol{\omega})}-\boldsymbol{\omega}
(\mathbf B\cdot \mathbf r)=-\omega B r\cos\!\theta ~\mathbf {\hat y}.\end{align}$$

I had to change all &amp; to just &.
Looking good! Thanks Greg.
 
  • #55
Greg Bernhardt said:
Try now, I've been tinkering this entire time and maybe I got it. Clear cache and reload.
Thanks, Greg

Edit:
And it also seems to render much faster than before.
 
Last edited:
  • #56
The preview seems to function fine (thanks again), but LaTeX inside quotations is now presented as text even after submission of the reply. For example, the quote in this post doesn't show the equations as LaTeX on my browser.
 
  • #57
JimWhoKnew said:
The preview seems to function fine (thanks again), but LaTeX inside quotations is now presented as text even after submission of the reply. For example, the quote in this post doesn't show the equations as LaTeX on my browser.
I see now that I have a similar problem with the "Homework Statement", "Relevant Equations" and "TL;DR Summary" sections.
 
  • #58
I assume that it doesn't render in any tags.

Test 1:

##\mathbb{Z}##
##\mathbb{Z}##

##\mathbb{Z}##


Edit: Strange, it had worked in the preview.
 

Similar threads

Replies
5
Views
2K
Replies
16
Views
3K
Replies
6
Views
3K
Replies
4
Views
4K
Replies
12
Views
2K
Replies
32
Views
8K
Replies
147
Views
18K
Replies
3
Views
2K
Replies
12
Views
2K
Back
Top