Live data from Hacker News

Markdown and LaTeX Editor

tex.s2cms.ru

41–50 of 64 posts

Re: Markdown and LaTeX Editor

#42
post #39
post #34

Earlier quoted context omitted.

I just watched your video and I think your tool is exactly what I'm looking for! Downloading it now. In the meantime, I was wondering if you ever compose on your iPad? What is your workflow for that?

Using Softcover requires a standard shell & text editor, which I doubt is available on iPad. But it works great as a de facto second monitor, as described [here]( http://manual.softcover.io/book/getting_started#sec-html_sof... ).

Oh well, I was hoping I'd missed something. I'll just keep doing what I'm doing now -- write it in Evernote and then copy/paste when I get back to a computer.

Re: Markdown and LaTeX Editor

#43

Earlier quoted context omitted.

The most of "standard" latex features and some packages. You can find details here: https://tex.s2cms.com/

Thanks Roman, this is very nicely done. I wonder what software are you running on the back-end that copes with HN's traffic so casually?

Nginx + php-fpm + TeX Live. But the key feature is the caching system: once a formula has been rendered, it is served by nginx as a regular static file.

Re: Markdown and LaTeX Editor

#44
post #26

Earlier quoted context omitted.

When it comes to Markdown its main advantage is not its features (it does not have many), but its simplicity (and ability to edit it in a text editor - blazing fast, no distractions, etc). And then I can convert it to anything. Vs LaTeX - sometimes I need just to note (a to do list, a draft of a blog post, an outline of workshop), without the boilerplate or visual noise of LaTeX. (And I wrote more than a dozen of pap…

That's a good summary, and the ability to easily convert to e.g. html is definitely a plus point for markdown. I always find however that I'd rather either work in html (for any web content), LaTeX (for any research papers or lengthy docs) or plain text (for notes)... I never found markdown quite useful enough in any of those cases (it has been a while since I last gave it a serious test though).

Your plain text notes are actually in Markdown already. :)

Re: Markdown and LaTeX Editor

#45

I'm curious as to the percentage of users here that use Markdown regularly? I'm one of the founders of Overleaf, and we've found that our users tend to either want to be able to edit in full LaTeX or want to avoid the need to code even in markdown (hence the reason we built a rich text layer for overleaf[1]) If you do use Markdown regularly, how often does it allow you to do everything you need (i.e. how often do you…

I'm another Markdown regular. It's my preferred markup language for online sites (Reddit, StackExchange, Elllo), and the results with only modest site styling are quite impressive (Ello looks _markedly_ better with modified CSS). Sites _without_ Markdown (such as HN) drive me nuts as I'm always tossing in Markdown code and realising (after the edit window's expired) that I effed up....

I've used vi/vim since the late 1980s, it's drilled into my finger-memory (I'm composing it now in an external editor).

I also know HTML and LaTeX (having picked up the latter fairly recently), and have used a few other markup languages (nroff/groff, DocBook, etc.).

What's great about Markdown is that it's close to a 99% solution. I'm usually authoring into HTM or PDF, and if necessary, I'll generate HTML or LaTeX and finish up with either for detail work. With a full-featured Markdown parser though, there's little that cannot be accomplished, short of equations. Online implementations have various annoying omissions -- Reddit doesn't support images or subscripts, Ello lacks blockquotes. Neither has footnotes. Otherwise, it's fairly complete.

While LaTeX is actually pretty lightweight for prose (once I grokked it, surprisingly so), Markdown's lighter. And not having to pair up open/close tags makes it much lighter-weight than HTML.

Re: Markdown and LaTeX Editor

#46
post #5

See also rMarkdown ( http://rmarkdown.rstudio.com/ ) for Markdown supporting LaTeX (and bunch of other things) and its real-time editor editR ( https://github.com/swarm-lab/editR ). Or for a longer list/discussion: https://hackpad.com/New-scientific-markup-language-utAjFcYuv... (it includes https://stackedit.io/ ).

+1 for RMarkdown and editR. The best thing about RMarkdown is the ability to do calculations in R and use those variables within LaTeX. A simple example: ```{r} a = 3 b = 6 c = a / b ``` Did you know that $\frac{`r a`}{`r b`} = `r c`$? http://i.imgur.com/IpiqDEx.png

You should check out http://orgmode.org as well - though I'm sure someone has mentioned it.

The best part is that you do these kind of:

    #+begin_src  
      some code
    #+end_src
Such that you can cross between R, python, C, whatever you want, and end up with a cohesive, executable document.

Re: Markdown and LaTeX Editor

#47
post #42
post #39

Earlier quoted context omitted.

Using Softcover requires a standard shell & text editor, which I doubt is available on iPad. But it works great as a de facto second monitor, as described [here]( http://manual.softcover.io/book/getting_started#sec-html_sof... ).

Oh well, I was hoping I'd missed something. I'll just keep doing what I'm doing now -- write it in Evernote and then copy/paste when I get back to a computer.

I've found Simplenote on the iPad and Notational Velocity or nvALT on a Mac to be a really lightweight and quick workflow. Plus, there's the added benefit of it all being plain text, whereas Evernote always seems to make guesses about unwanted formatting for me.

Re: Markdown and LaTeX Editor

#48

I'm curious as to the percentage of users here that use Markdown regularly? I'm one of the founders of Overleaf, and we've found that our users tend to either want to be able to edit in full LaTeX or want to avoid the need to code even in markdown (hence the reason we built a rich text layer for overleaf[1]) If you do use Markdown regularly, how often does it allow you to do everything you need (i.e. how often do you…

I'm writing my PhD dissertation in Markdown. It's killer feature (for me) is that a) it converts to a plethora of different formats (including Latex and Word) via Pandoc, b) it works well with version control, and c) Pandoc filters let me do an almost unlimited amount of automated preprocessing on the document with simple scripting.

Re: Markdown and LaTeX Editor

#49
post #19

Softcover handles Markdown + embedded LaTeX on your local machine (no 'net connection required) using a standard text editor and web browser: http://softcover.io/ I use Softcover to write and maintain both the code-heavy Ruby on Rails Tutorial ( http://railstutorial.org/book ) and the math-heavy Tau Manifesto ( http://tauday.com/tau-manifesto ). ( Disclosure : I'm also the principal author of Softcover.)

Is the HTML generation with backlinks from an external lib or custom built for softcover? I'm working on a CMS and this would be fantastic to use as a module for writing articles.

Re: Markdown and LaTeX Editor

#50
post #19

Softcover handles Markdown + embedded LaTeX on your local machine (no 'net connection required) using a standard text editor and web browser: http://softcover.io/ I use Softcover to write and maintain both the code-heavy Ruby on Rails Tutorial ( http://railstutorial.org/book ) and the math-heavy Tau Manifesto ( http://tauday.com/tau-manifesto ). ( Disclosure : I'm also the principal author of Softcover.)

Is the HTML generation with backlinks from an external lib or custom built for softcover? I'm working on a CMS and this would be fantastic to use as a module for writing articles.

Not sure exactly what you mean by "backlinks", but most of the software is custom-built.
Post reply on HN