Bug Previewing a message with an equation environment with line numbers

  • Thread starter Thread starter Eclair_de_XII
  • Start date Start date
Click For Summary
When previewing messages with an equation environment, the line numbers increment by the total number of lines in the message, causing confusion. This issue occurs each time the preview is updated or edited, leading to incorrect equation numbering. However, refreshing the page resolves the numbering problem, as the plugin counts equations based on the page load. Users are advised not to rely on the displayed numbering in posts, as it can change with any modifications made to the equations. Ultimately, the preview does not affect the final content of the post.
Eclair_de_XII
Messages
1,082
Reaction score
91
Okay, here is the deal: Whenever I try to preview a message with an equation environment, the equation numbers keep on incrementing over again by the total number of lines in the message. For example, if you keep previewing a message with this code, the line numbers increment by three every time. The same thing happens if you feel like editing your message in case you make a rather embarrassing mistake in your message.

Code:
\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}

Example after doing this more times than I kept track:

\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}

Edit: The equation numbers fix themselves after refreshing the page. Please disregard.
 
Last edited:
Physics news on Phys.org
The plugin keeps counting the equations it has numbered since the page was loaded, basically. Every time you update the preview it increases. Not sure how this could be avoided without breaking everything. The preview has no effect on what's ultimately in the post.

Don't rely on the numbering in posts, basically. If you add or remove an equation in your post then the numbers in my post will change:

$$\begin{align}

f(x)&=&x^2+8x+25\\

&=&(x^2+8x+16)+9\\

&=&(x+4)^2+3^2

\end{align}$$
 
I have some solemn news to report. Many in the community had been wondering where the prolific @Vanadium 50 has been. V50 hasn't posted a message in nearly a year. After months of questioning, the mentor group dug in and did some investigation and we're confident V50 passed away early this year. Few members need reminding what kind of force @Vanadium 50 was for the community and physics. A mentor for 5+ years and an annual award winner seemingly every other year. He has a top 10 post count...

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
19
Views
2K
Replies
2
Views
2K
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K