Can't see Latex source in Linux (Firefox)

Click For Summary

Discussion Overview

The discussion revolves around issues related to viewing LaTeX source code for equations and mathematical symbols in Firefox on Linux, particularly Ubuntu. Participants share their experiences and challenges with accessing the source code, including differences in behavior across operating systems and versions of Firefox.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants note that right-clicking on equations should allow them to view the LaTeX source, but this functionality seems inconsistent across different systems and versions of Firefox.
  • One participant mentions that they can see the source for some equations but not others, raising questions about the conditions under which this feature works.
  • Another participant suggests that the Mathjax context menu appears for some equations, allowing access to the source, while in other cases, users must view the entire page source.
  • There are reports of crashes when trying to view source in Windows, leading to a proposed workaround of saving the webpage and extracting the relevant LaTeX code manually.
  • Some participants discuss the "hover" feature that triggers an enlarged view of equations, which complicates the ability to right-click and access the source code quickly.
  • Several participants express agreement on the need to change the default "hover" behavior to improve usability.

Areas of Agreement / Disagreement

Participants generally agree that there are issues with accessing LaTeX source code in Firefox across different operating systems, but multiple competing views remain regarding the specific causes and solutions. The discussion does not reach a consensus on a definitive fix.

Contextual Notes

Limitations include the variability in user experiences based on operating systems and Firefox versions, as well as the unclear conditions under which the Mathjax context menu appears.

Pollywoggy
Messages
53
Reaction score
0
I understand that I should be able to see the source for formulas/equations/math symbols people put in their posts, by right-clicking a symbol or equation. I seem to recall that I could do this but I am unable to do it now in Firefox (Ubuntu Linux Lucid).

Is there something I need to install so that I can do this? I don't remember enough Latex to be able to ask a question and show exactly what is giving me trouble (a dot product question), so it would be helpful if I could find posts that use the symbols I need.

thanks
 
Physics news on Phys.org
Right click equation >> show source

f(x_0) = f(x_1^\sigma)
 
Last edited:


Greg Bernhardt said:
Right click equation >> show source

f(x_0) = f(x_1^\sigma)

Apologies for having posted in the wrong place. I did not notice there was a support section.

I was aware of this manner of showing the source for an entire page, but in Firefox (Linux) I can see the source for some formulas, and only the source for the math, without having to see the entire source (the html etc). I right click and I click a Mathjax context menu and I can see the code but only for some equations and formulas. I don't know why it only works for some equations and not for others.

I just tried this In Windows 7, I am unable to see any source because the window crashes as it opens.

My solution for the problem is to save the entire webpage on my laptop and then open the file in a text editor and delete everything that is not between a "" and a "[\tex]". Perhaps I can write a script to automate it.
 
Last edited:
The best place to post would have been in the thread about the move to MathJax.

One way to see the source is to just click "quote". Unfortunately that doesn't work if the math you want to see is already in a quote box. What happens when you try to view the source (with FF on Linux) and it doesn't work?

FF4 on Windows 7 is working fine for me.
 
FF4.0.1 on windows 7x64 does not work for some equations for me. Sometimes there is a mathjax option in the context, other times there is not.
 
Fredrik said:
The best place to post would have been in the thread about the move to MathJax.

One way to see the source is to just click "quote". Unfortunately that doesn't work if the math you want to see is already in a quote box. What happens when you try to view the source (with FF on Linux) and it doesn't work?

FF4 on Windows 7 is working fine for me.

Maybe that is the problem, that I was trying to view math in a quote box. I will keep that in mind. With some equations, I have to look for the math in the source for the entire page, with other equations, I get a Mathjax context menu and can see the math by clicking there, without having to hunt for it in the source for the entire page. I take it Mathjax is what is generating the math symbols. I had not seen the Mathjax context menu before, only the context menu for a math font I installed in Linux, but I don't think that font would work with the forums.

In Windows, I found the window just opens behind the browser though it appeared to have crashed, so I don't think there is a problem in Windows and I just need to minimize the browser.

thanks
 
In Firefox 4.0.1 under Mac OS X, control-click does what right-click does under Windows, but I have to act quickly. When I place the cursor over an equation, after a brief pause, an enlarged view of the equation pops up, and control-click doesn't do anything. When I control-click quickly, before the enlarged view appears, I get a popup menu, one of whose options is "Show Source".
 
Wow, that is my problem. There is a context if I can click on the equation itself, but not if the enlarged view pops up. It's pretty tricky clicking the eq. before it pops up on my machine.
 
It seems that the "zoom trigger" is set to "hover" by default. If you change it to something else, e.g. "click" the zoom window won't pop up automatically.

(@Greg: I think it would be a good idea to change the default setting from "hover" to one of the other options).
 
  • #10
I agree with Fredrik. If it's possible to disable the default "hover" behavior, that would help a lot.
 
  • #11
jtbell said:
I agree with Fredrik. If it's possible to disable the default "hover" behavior, that would help a lot.

ok I've changed it to "click"
 
  • #12
Now (under Mac OS) a normal click zooms, and control-click brings up the menu. It takes an extra step (choosing from the menu) to get the source code, compared to the old system, but that's OK with me.
 
  • #13
jtbell said:
In Firefox 4.0.1 under Mac OS X, control-click does what right-click does under Windows, but I have to act quickly. When I place the cursor over an equation, after a brief pause, an enlarged view of the equation pops up, and control-click doesn't do anything. When I control-click quickly, before the enlarged view appears, I get a popup menu, one of whose options is "Show Source".

This is essentially what I get in Ubuntu. If I mouse over an equation, I sometimes get a "balloon" type popup showing an enlarged view of the equation and if I right click, I get the normal Firefox context menu from which I can access the source for the entire page. Other times I get something more useful (even on the same equation), which shows me a Mathjax context menu which allows me to immediately see *just* the code for the equation.
 
  • #14
Greg Bernhardt said:
ok I've changed it to "click"

Thanks, it seems to be working correctly for me in Firefox on Ubuntu.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 32 ·
2
Replies
32
Views
8K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 4 ·
Replies
4
Views
4K