News for hackers. Stuff that matters.
Re:Show HN: Markdown + LaTeX math in the browser by jessriedel on Friday February 01, 2013 @08:03PM (#5154602)
People in this thread may also find GmailTex useful. It's a browser plugin which enables using LaTeX syntax in Gmail and GChat.

http://alexeev.org/gmailtex.html

P.S.: This Socrates thing is pretty fantastic. Is there a keyboard shortcut for switching to the compiled view?

Re:Show HN: Markdown + LaTeX math in the browser by csense on Saturday February 02, 2013 @04:57AM (#5155650)
I tested it on Chromium (the FOSS version of Google Chrome), and in that browser, the math uses a much smaller font than the Firefox version. (Firefox looks "right.")

I'm using Linux Mint 14 (the most recent version), the default version of Chromium from the distribution's repo; all packages are up-to-date, and I don't have any browser extensions or any intense customization.

Re:Show HN: Markdown + LaTeX math in the browser by indubitably on Saturday February 02, 2013 @08:53PM (#5158203)
The Firefox version appears broken to me?

http://i.imgur.com/9eeSvlU.png

Firefox 19/OSX Lion

Re:Show HN: Markdown + LaTeX math in the browser by Benferhat on Saturday February 02, 2013 @08:41AM (#5155935)
Same here with Chromium (23.0.1271.97-0ubuntu0.12.04.1)
Re:Show HN: Markdown + LaTeX math in the browser by warmfuzzykitten on Saturday February 02, 2013 @03:07PM (#5157138)
Looks fine in Chrome / Mac OS X.
Re:Show HN: Markdown + LaTeX math in the browser by chjj on Saturday February 02, 2013 @12:25AM (#5155281)
I recommend upgrading to the latest release of marked ( https://github.com/chjj/marked/tree/v0.2.8 ). It has a few improvements as well as GFM tables.
Re:Show HN: Markdown + LaTeX math in the browser by ianstormtaylor on Saturday February 02, 2013 @12:40AM (#5155309)
Beautiful! You wouldn't happen to know if it supports "smart" quotes would you? Been meaning to find one that does support those.

Also auto-id-ing heading elements so they can be hash-linked to? That's another of my marked requests.

Re:Show HN: Markdown + LaTeX math in the browser by chjj on Saturday February 02, 2013 @12:47AM (#5155323)
> Beautiful! You wouldn't happen to know if it supports "smart" quotes would you?

Marked has a pretty big todo list right now. Those are on it somewhere.

> Also auto-id-ing heading elements so they can be hash-linked to?

This is actually requested less than I expected it to be, but I think I do want to add something for it in the future.

Re:Show HN: Markdown + LaTeX math in the browser by ianstormtaylor on Saturday February 02, 2013 @03:43AM (#5155552)
Oh nice, didn't make the connection that you were the maintainer ;)

Yeah id-ing of heading elements is something I really wish we had for our docs (https://segment.io/docs) because we have to break out of markdown for every header to make them linkable.

I just wish I knew enough to be able to contribute. That was my problem with Stylus too...

Re:Show HN: Markdown + LaTeX math in the browser by cpursley on Friday February 01, 2013 @07:52PM (#5154552)
This is cool. I wanted to do a blog post on some real estate appraisal topics, which requires math examples. Is this open source? Where I can I find socrates.io - it goes straight to the interface.
Re:Show HN: Markdown + LaTeX math in the browser by ianstormtaylor on Friday February 01, 2013 @07:53PM (#5154565)
Re:Show HN: Markdown + LaTeX math in the browser by imslavko on Friday February 01, 2013 @10:39PM (#5155049)
That's cool. I was using markable.in in last weeks. But lack of code highlighting and Mathjax brings socrates.io on the first place :)
Re:Show HN: Markdown + LaTeX math in the browser by justinvh on Saturday February 02, 2013 @10:19AM (#5156145)
I wrote a LaTeX Markdown plugin as well, but it served a different purpose. It was geared for offline documents.

https://github.com/justinvh/Markdown-LaTeX

It generates inline/base64-encoded images with a small file-cache for the generated images. Try it out!

Re:Show HN: Markdown + LaTeX math in the browser by nimrody on Saturday February 02, 2013 @05:20AM (#5155684)
There used to be a similar service at http://notepag.es/ However, it seems to be down now.
Re:Show HN: Markdown + LaTeX math in the browser by amckinlay on Saturday February 02, 2013 @02:06AM (#5155442)
Really wish they used Pandoc Markdown or some other form of extended Markdown... then I could consider using it for real stuff,
Re:Show HN: Markdown + LaTeX math in the browser by pixie_ on Friday February 01, 2013 @11:33PM (#5155168)
Why not use jqMath? It's latex based, 10 times smaller, and 10 times faster than MathJax - which is aimed more at publishers.
Re:Show HN: Markdown + LaTeX math in the browser by jey on Saturday February 02, 2013 @12:11AM (#5155249)
Interesting. Looks like it maps TeX directly to HTML, so it must support fewer constructs? Or what are the downsides? Being 10x faster and 10x smaller without any drawbacks seems too good to be true.
Re:Show HN: Markdown + LaTeX math in the browser by jessriedel on Saturday February 02, 2013 @02:37PM (#5157028)
"TeX-based" is the operative term here. The syntax is somewhat different true TeX (so it would drive people who use TeX regularly crazy, like me). And I don't believe it has the same abilities.
Re:Show HN: Markdown + LaTeX math in the browser by Q6T46nT668w6i3m on Saturday February 02, 2013 @12:12AM (#5155254)
jqMath doesn’t use LaTeX.
Re:Show HN: Markdown + LaTeX math in the browser by quaz3l on Sunday February 03, 2013 @12:27AM (#5158759)
I've been working on something just like this! It is a mashup of Ghost<john.onolan.org/ghost/>, and a editor like this. If you was to see the uncompleted version its here: http://quaz3l.github.com/ghost/g-admin/posts.html
Re:Show HN: Markdown + LaTeX math in the browser by somethingnew on Friday February 01, 2013 @08:44PM (#5154744)
If you think this is cool, check out http://spandex.io/
Re:Show HN: Markdown + LaTeX math in the browser by kanatzidis on Friday February 01, 2013 @08:52PM (#5154766)
Oh man, this is really cool. Great job. I'm the co-founder of http://SpanDeX.io (which I see someone already commented about) and we love seeing this kind of stuff. Great to see LaTeX getting implemented in a really useful way!
Re:Show HN: Markdown + LaTeX math in the browser by swah on Saturday February 02, 2013 @06:46AM (#5155804)
In the end, how should I use this product? Writing Latex before compiling the final thing on your PC?
Re:Show HN: Markdown + LaTeX math in the browser by hyperbovine on Saturday February 02, 2013 @10:28AM (#5156168)
I wish it had better support for live editing, but this is really a limitation of MathJax / TeX in general. Still, I wonder if it might be possible to improve the experience a bit by e.g. only updating when I close a $$ block, etc.
Re:Show HN: Markdown + LaTeX math in the browser by mcmire on Sunday February 03, 2013 @01:52AM (#5158922)
That's what I was going to say. I found the constant reformatting of the math stuff in the right pane extremely jarring.

Otherwise, nice and simple.

Re:Show HN: Markdown + LaTeX math in the browser by pkrein on Sunday February 03, 2013 @02:20PM (#5160720)
yeah -- we'll try to smooth this out!
Re:Show HN: Markdown + LaTeX math in the browser by warmfuzzykitten on Saturday February 02, 2013 @03:09PM (#5157146)
Does this mean you can only see the math in Socrates? How do you publish a page on the web outside Socrates?
Re:Show HN: Markdown + LaTeX math in the browser by hnwh on Friday February 01, 2013 @11:25PM (#5155150)
this looks nice, but i'm confused.. how do i actually use it on my webpage?
Re:Show HN: Markdown + LaTeX math in the browser by gmt2027 on Saturday February 02, 2013 @02:48PM (#5157067)
It's a shame that there doesn't seem to be any export option.
Re:Show HN: Markdown + LaTeX math in the browser by ianstormtaylor on Saturday February 02, 2013 @03:17PM (#5157171)
That's something we've gotten a lot of requests for and want to build one of these weekends :)
Re:Show HN: Markdown + LaTeX math in the browser by traeblain on Friday February 01, 2013 @11:29PM (#5155157)
This is great!!
Re:Show HN: Markdown + LaTeX math in the browser by alcuadrado on Friday February 01, 2013 @08:02PM (#5154595)
LOVE it!