Can Greek Letters be Added to the Reply Menu in Online Forums?

  • Thread starter Thread starter chemisttree
  • Start date Start date
AI Thread Summary
The discussion centers on the proposal to add Greek letters to the reply menu in online forums, enhancing accessibility for users who need these symbols for equations or notation. Participants suggest a dropdown menu for easy insertion of Greek symbols, similar to existing features for other formatting options. Concerns are raised about server load, with some arguing that using Greek letters would be less burdensome than LaTeX. There is also interest in integrating MathJax for better mathematical typesetting, although some users express skepticism about its compatibility with the forum's current setup. Overall, the idea aims to streamline the process of including Greek symbols in forum posts.
chemisttree
Science Advisor
Homework Helper
Gold Member
Messages
3,949
Reaction score
781
I read on another thread that a member has the entire lower case greek alphabet in the sig line. Very logical.

How about putting that as a handy tool in the Reply dialog box like we have for Youtube, Spoiler, Sub and Sup, etc...? Other useful symbols would be nice as well but how about starting with the alphabet?
 
Physics news on Phys.org
Good idea.
 
ß ∂ ∆ µ π ∏ ∑ Ω … √ ∫ ≤ ≥ ≠ ± #

hi chemisttree! :wink:
chemisttree said:
I read on another thread that a member has the entire lower case greek alphabet in the sig line. Very logical.

How about putting that as a handy tool in the Reply dialog box like we have for Youtube, Spoiler, Sub and Sup, etc...? Other useful symbols would be nice as well but how about starting with the alphabet?

i suggested that almost three years ago (i felt sorry for non-mac users :redface:), but it didn't get much support at the time …
tiny-tim said:
… could they be incorporated into the standard Reply page so that people can simply copy-and-paste them? :smile:
They wouldn't need buttons, they could just be ordinary type.[/INDENT]
tiny-tim said:
All I'm asking is that standard characters be printed somewhere on the reply page, ready to be copied by anyone who doesn't have a Mac … :smile:

EDIT: Hootenanny :smile: supported it in a later thread …
Hootenanny said:
… how difficult would it be to add a menu for inserting HTML entities into posts, similar to the LaTeX menu recently added? When typing a response, it isn't always necessary to use the presentation power of LaTeX for the odd Greek symbol or equation, however it's a bit of a pain to look up the decimal codes for various HTML entities. A quick drop down menu (maybe of just the Greek symbols) would make life much easier for writing short equations or for those no familiar with LaTeX, perhaps it would also reduce the unnecessary load on the server.

Just a thought.


i wonder whether there's any way of staring a facebook-style "group" on pf, to lobby for it? :rolleyes:
 
Last edited:
Originally Posted by Hootenanny said:
A quick drop down menu (maybe of just the Greek symbols) would make life much easier for writing short equations or for those no familiar with LaTeX, perhaps it would also reduce the unnecessary load on the server.

Does using these greek letters and symbols add that much of a load on the server?
 
dlgoff said:
Does using these greek letters and symbols add that much of a load on the server?
I believe it's less of a burden than LaTeX.
 
I don't see why Greek letters/mathematical symbols would cause any burden. Given how LaTeX needs to be compiled and have images cached, though, I could see performance gains in minimizing the usage of LaTeX for displaying trivial equations. Most of the forums I visit with LaTeX support show a performance degradation, just to add some anecdotal evidence.

I think this is a good idea.
 
dlgoff said:
Does using these greek letters and symbols add that much of a load on the server?
No, he (Hootenanny) meant that LaTeX adds a load. My understanding from what Greg has said is, both generation and storing of the LaTeX image files puts an extra load on the server.
 
Won't be necessary. We will look into switching to mathjax once 1.1 is out of beta.
 
Mathjax looks really interesting.
 
  • #10
A few useful links:

https://www.physicsforums.com/blog.php?b=347
ASCII symbols
http://tlt.its.psu.edu/suggestions/international/bylanguage/mathchart.html

I'm a bit concerned by the fact that MathJax doesn't mention vBulletin anywhere on their web page, but maybe that's just because it works fine with all PHP-based applications.

Edit: Another thought...if the current LaTeX problems are caused by the service provider's web cache (which seems likely) how do we know it wouldn't be exactly the same with MathJax?
 
Last edited by a moderator:
  • #11
Fredrik said:
maybe that's just because it works fine with all PHP-based applications.

That is correct.

Fredrik said:
Edit: Another thought...if the current LaTeX problems are caused by the service provider's web cache (which seems likely) how do we know it wouldn't be exactly the same with MathJax?

See for yourself if you think it behaves the same way
https://www.physicsforums.com/mathjax/preview.html
 
Last edited:
  • #12
Greg Bernhardt said:
See for yourself if you think it behaves the same way
https://www.physicsforums.com/mathjax/preview.html

Is it server heavy?

Seemed a bit slow processing (may be my net connection).
 
Last edited by a moderator:
  • #13
jarednjames said:
Is it server heavy?

Seemed a bit slow processing (may be my net connection).

If you are using a new browser with a good javascript engine then it's a lot better than image generation, storage and retrieval.
 
  • #14
Greg Bernhardt said:
If you are using a new browser with a good javascript engine then it's a lot better than image generation, storage and retrieval.

Oh don't get me wrong, it worked a lot better than latex.
 
  • #15
jarednjames said:
Oh don't get me wrong, it worked a lot better than latex.

The only downside is that MathJax doesn't fully support TeX functions since it must translate in the end to an HTML environment. Still I'd say it supports the vast majority of what people need.
 
  • #16
Doesn't seem to work for me. Error on page. I presume its my end.
 
  • #17
Doesn't work for me either. There's a text that says "Type some TeX code and click off the textarea box". Below that there's a rectangular area that I can type in, and below it says "You typed: ${}$". Doesn't seem to matter what I type. Hm...I'll try it in IE too...I'll be back in a minute.

Edit: It didn't work in IE, but now that I've seen Greg's post below this one I understand why.
 
  • #18
sorry I am updating it to 1.1b to test, i'll post again when it's ready
 
  • #19
I typed in it, click outside and then at the bottom (on my browser) it said "transferring from Physics Forums" and then it popped up what I'd typed underneath the box.

You may want to wait a little bit for it to refresh after you've clicked outside.
 
  • #20
404 now.
 
  • #21
Borek said:
404 now.

Greg's updating it.

Greg Bernhardt said:
sorry I am updating it to 1.1b to test, i'll post again when it's ready
 
  • #22
ok try now at https://www.physicsforums.com/mathjax/test/preview.html
 
Last edited:
  • #23
When I put the tags around it, is it supposed to show them when it converts it?

Also, pressing enter just takes me down a line and doesn't refresh the view.

I put in something really simple: a = \frac{f}{m} : [t e x] a = \frac{f}{m} [/t e x] and it converts it OK, but still shows the tex tags. (I added spaces to the tags so it wouldn't convert it.)
 
  • #24
Works for me. Is there a capability for inline TeX?
 
  • #25
jarednjames said:
When I put the tags around it, is it supposed to show them when it converts it?

Also, pressing enter just takes me down a line and doesn't refresh the view.

I put in something really simple: a = \frac{f}{m} and it converts it OK, but still shows the tex tags.
Ditch the tags.
 
  • #26
Gokul43201 said:
Ditch the tags.

Wow, feel like a right plonker now! Facepalm moment.

So in real application, it would recognise latex without the need for tags?
 
  • #27
Gokul43201 said:
Works for me. Is there a capability for inline TeX?

The default is inline

So in real application, it would recognise latex without the need for tags?

never does need tags
 
  • #28
Greg Bernhardt said:
never does need tags

Didn't know that. So when people put them in they don't need to?
 
  • #29
jarednjames said:
Didn't know that. So when people put them in they don't need to?

in the mathjax app tags are never needed
 
  • #30
Greg Bernhardt said:
in the mathjax app tags are never needed

Ah right, with ya!
 
  • #31
I'm getting firefox script errors. It's probably my lack of understanding how to use it.
 
  • #32
dlgoff said:
I'm getting firefox script errors. It's probably my lack of understanding how to use it.

In 3.6.13 I get two trivial css errors
 
  • #33
Works fine for me now. It looks good. I would prefer a slightly bigger size for the stuff we'd normally use tex tags for, but I assume that sort of thing can be tweaked later.

Will we still be using tex and itex tags as before?

I can't tell if this will solve the problems we have right now.
 
  • #34
Fredrik said:
Works fine for me now. It looks good. I would prefer a slightly bigger size for the stuff we'd normally use tex tags for, but I assume that sort of thing can be tweaked later.
indeed

Fredrik said:
Will we still be using tex and itex tags as before?
nope

Fredrik said:
I can't tell if this will solve the problems we have right now.

The equations are generated on the fly. There is no storage or caching.
 
  • #35
Sounds good. Oooh...I just discovered the http://www.mathjax.org/resources/articles-and-presentations/accessible-pages-with-mathjax/ . Pretty sweet.
 
Last edited by a moderator:
  • #36
OMG... I must say that I'm really into MathJax now: neat, and beautiful... :x Hope that it'll soon be implemented on our server. :)

Oh, and btw, how can I enter a new line in MathJax?
 
  • #37
The LaTeX code for new line is \\, but it doesn't seem to work in the default environment. It does however work in the align environment, so I would suggest that you use that. For example,

\begin{align} x &= 1\\
y &=2
\end{align}

Alternatively, I'm guessing that we're going to have to put some kind of tags around the math expressions, so you could just put separate tags around expressions that are to appear on different lines. This is of course how we do this now.

1

2
 
  • #38
Still not working.
 
  • #39
Kurdt said:
Still not working.
What happens when you try? (It's working fine for me).
 
  • #40
Fredrik said:
What happens when you try? (It's working fine for me).

Errors on page, then nothing.
 
  • #41
Did you try this page?

Greg Bernhardt said:
ok try now at https://www.physicsforums.com/mathjax/test/preview.html

Fredrik said:
The LaTeX code for new line is \\, but it doesn't seem to work in the default environment. It does however work in the align environment, so I would suggest that you use that. For example,

\begin{align} x &= 1\\
y &=2
\end{align}

Alternatively, I'm guessing that we're going to have to put some kind of tags around the math expressions, so you could just put separate tags around expressions that are to appear on different lines. This is of course how we do this now.

1

2

Yeah, I think there should be some kind of tags, or there may be some way to work around, like enabling \\ by putting \begin{align}, and \end{align} at 2 ends of every post.
 
Last edited by a moderator:
  • #42
VietDao29 said:
Did you try this page?

Yep.
 
  • #43
What does "press RETURN" means? Or more precisely - what it DOES? I know how to hit Enter, but unless I click outside of the edit field (as it was required previously) nothing happens.
 
  • #44
Borek said:
What does "press RETURN" means? Or more precisely - what it DOES? I know how to hit Enter, but unless I click outside of the edit field (as it was required previously) nothing happens.
It's the same for me. I just assumed that the app is working as it should, and that the text is wrong about what you should do.

Kurdt said:
Errors on page, then nothing.
Does it work when you try it in another browser?

VietDao29 said:
Yeah, I think there should be some kind of tags, or there may be some way to work around, like enabling \\ by putting \begin{align}, and \end{align} at 2 ends of every post.
You rarely need newlines in LaTeX expressions in a forum post, but a button or a key combination (like Ctrl+A) that inserts

\begin{align}

\end{align}

when you click/press it would be nice. I wouldn't want them inserted by default.
 
Last edited:
  • #45
The eqnarray environment works.
 
  • #46
I think eqnarray is considered more or less obsolete. align is easier to use and the output looks better. See e.g. this blog post.
 
  • #47
Thanks for that; played around a bit with both environments and I'm inclined to agree.
 
  • #48
I did a "view source" on one of their demo pages. It appears that the tags to begin and start a math expression are \( and \) respectively. Those are pretty annoying to type on a Swedish keyboard, where you have to hold down Alt Gr to type \ and Shift to type ( or ), so I hope there will be a button that we can click to insert the tags. It would be awesome if that feature is sophisticated enough to check if some text is currently selected, and in that case insert the tags before and after that text. (MediaWiki (e.g. Wikipedia) has this feature). This would enable us to type the math expression first, highlight it, and then click the button.

I'm probably just suggesting things that Greg and chroot have already thought of, but it's not like I have anything better to do right now. :smile:

Edit: Looks like \( \) is used where we would use itex tags, and \[ \] where we would use tex tags.
 
Last edited:
  • #49
Fredrik said:
I think eqnarray is considered more or less obsolete. align is easier to use and the output looks better. See e.g. this blog post.
Thanks for that Fredrik. I think I can even learn how to do this.

Hopefully Greg will provide a little tutorial but I'm bookmarking your link for now.
 
  • #50
Fredrik said:
I did a "view source" on one of their demo pages. It appears that the tags to begin and start a math expression are \( and \) respectively.

Could be wrong but I bet that is something we can easily change. In fact, thinking about it, we'll need to change it to our tex tags so past equations are preserved on once the old latex images are gone.
 
Back
Top