Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.
Out of curiosity, I tried turning on auto-preview when editing this answer. I quickly discovered it was a mistake; my typing slowed to a crawl. But there was no button on the page to toggle auto-preview off again! I solved the problem by copy-pasting my answer into a new tab, but it would be better to have a button that turns this option off after it has been activated.
Thanks!
Ok, I've changed it to a checkbox which you can toggle (true by default) and I tried to make it so that the input box doesn't become horribly slow when the text gets long. I tried binding the checkbox to a cookie, but apparently there isn't a way to set a cookie with jquery so that it doesn't bind to a particular URL, so I'll have to learn to do it without jquery later (probably after the joint meetings). Right now, after you click the checkbox, you have to do something in the input box before you see the effect, but I'll change it so that the effect is immediate.
I hope this is tolerable. If you find yourself checking and unchecking the box a lot, let me know and I'll put back the old preview math button in addition to the checkbox.
I've changed it so that the math gets processed immediately upon checking the box, but doesn't get "unprocessed" immediately upon unchecking it. As it works on my computer, I don't think I would ever have a reason to turn off the math preview; the input box is very responsive even with extremely large posts (preview waits for me to stop typing for a couple of seconds before updating). Please let me know if it works poorly for you or if you find any bugs.
Thanks! Seems to work fine for ordinary sized posts; I'll report back when I next try something huge.
I vote for "off by default". For me, the preview is "below the fold" when I start typing an answer so it isn't until the whole system suddenly goes slow that I realised that it was on. It's only because I know about this issue (and have read this thread) that I knew what to do.
I'd typed about six sentences, with about the same number of small bits of maths so not very much and it was noticeably lagging. I'm on a fast machine with a fast connection to the internet so I dread to think what it would be like on a slower set-up.
Given that someone who wants live preview mode is going to have the preview box visible, having the check box off by default doesn't significantly affect their experience (IMHO), but for someone who doesn't use the preview then it could deter them without them realising that there's a simple way to avoid the slow-down.
I'd also vote for the revival of the one-shot preview button. At the moment, I have to check the box, let it update, then uncheck it again. "Live preview" and "preview math" are two different functions that are both very useful; given that it ought to be simple, can we have them both?
@Harry: good catch with the questions page; that should be fixed now. Are you using image fonts? It's really fast to install the jsMath fonts (see the FAQ)
@Andrew: "I'd typed about six sentences, with about the same number of small bits of maths so not very much and it was noticeably lagging." Really? I've not been able to produce much delay even on slow machines. If the amount of text gets very large, it should wait for you to stop typing for a second or two before updating.
After JMM, I was considering tying that box to a cookie, but I'd like to keep it on by default for now to get more feedback on how the live preview is working. It sounds like for Andrew, the live preview made the input slow enough that he wanted to turn it off. Has anybody else had that experience?
@Anton: I am in Norway. I know that the internet is meant to be borderless, but it does make a difference. If you want MO to be international, you'll need to remember that things can be very different on different continents.
Manifolds without boundaries should be the easy case.
I usually edit in an external editor with itsalltext, but recently when I have done a bit of editing in the textarea I've noticed it being a bit slower than I would prefer. I'm in Chicago. I think it makes sense to have a "preview" button as well.
@Andrew: I know where you are, but I don't see why it should make a difference; the editor runs locally. By the way, is there some way you can allow me to browse through a proxy in Norway so that I can experience the latency?
Anyway, I've tied the preview checkbox to a cookie and revived the one-shot preview button for those of you who prefer to have the preview off. Please report any bugs or requests here.
1 to 15 of 15