Live data from Hacker News

Emacs org-mode examples and cookbook

ehneilsen.net

161–166 of 166 posts

Re: Emacs org-mode examples and cookbook

#161
post #148

Earlier quoted context omitted.

> If I want to produce a well-formatted PDF, I directly write LaTeX with the help of some very nice Emacs modes. My experience is quite the opposite. I was a heavy LaTeX user, and stopped pure LaTeX years ago when I learned org mode. For the usual markup, Org mode syntax is much nicer than LaTeX's. And if I want custom LaTeX, Org mode lets me insert it in the document. I never manually write TeX or HTML documents any…

> My experience is quite the opposite. I was a heavy LaTeX user, and stopped pure LaTeX years ago when I learned org mode. For the usual markup, Org mode syntax is much nicer than LaTeX's. And if I want custom LaTeX, Org mode lets me insert it in the document. That's interesting! I googled a bit and found that people actually write research papers in org-mode. But in my experience (physics) that usually requires a lo…

>But in my experience (physics) that usually requires a lot of manual LaTeX control. Also these documents are often written in collaboration with other people, who do not use org-mode.

You can pretty much embed any LaTeX code in your document. Org mode is usually smart enough to pick up command (\whatever) without any extra markup (I believe this works even for custom commands you defined yourself). Equations are surrounded by a single or double $. If you have other special stuff, you can explicitly put it in a block by itself and Org mode will pass it to the .tex file unmodified.

Yeah, coauthoring could be an issue.

>Frankly, Auctex with Reftex is so nice, I do not see the advantages of org-mode for my main use cases.

I'll confess that I was not an advanced Auctex user, so I can't compare. The author of org mode is a heavy latex user (astronomy professor), so I'm sure he made it good enough for his needs.

One thing I liked was the ability to insert Greek characters with minimal keystrokes (a for alpha, b for beta, etc). You can preview your equations just as you would with auctex.

This tutorial shows the capabilities in older versions of org mode. Not sure if there is an updated version:

http://orgmode.org/worg/org-tutorials/org-latex-export.html

Re: Emacs org-mode examples and cookbook

#162
post #88

Earlier quoted context omitted.

This will be a tough sell. Org-mode is a fairly fast moving target, due to how easy it is to extend anything in emacs. For lots, you will actually be battling against all of the other extensions in emacs. (For me, as an example, you will have to replace flyspell, beacon, tramp, ace-jump, ido, and ggtags.) All of this is doable, of course. But it will be a tough sell. That said, I'd say go for it. Worst case, nobody u…

Yeah, it would be fairly difficult to build, which is why getting feedback would be useful, but there's a catch 22; people who already know what Org is are fairly comfortable using Emacs and I don't know how to find out if people not that found of Emacs itself would still find Org useful, or if combining apps like Ulysses and Omni Outliner is good enough for them - the worst part is that because they don't use Emacs,…

I've been wondering about this, as well, and so have been working on an Emacs configuration that makes Emacs work as close as possible to a "normal" text editor (hopefully allowing learning org-mode without the barrier to entry of Emacs itself):

https://github.com/publicus/emacs-org-mode-for-the-laity

Re: Emacs org-mode examples and cookbook

#163
post #27

Earlier quoted context omitted.

I wouldn't start with this cookbook, which seems to be a laundry list of all the extremely hairy things you can do with Org. Think of it as an outliner with simple tables and spreadsheets: starting a line with "*"s makes it an outline heading, and "| something | like | this |" is a row in a table. That's how I've used it for years, despite being aware that it can do all sorts of other semi-related stuff. Don't ventur…

Exactly. Just use org-mode like you use your markdown files, and add additional features as you need them. You don't need 90% of those massively complicated setups that you get when you Google "org mode tutorial".

I use markdown for blog posts and presentations, pandoc and/or hakyll (jekyll for haskell) suits me fine. What am I missing that org mode would provide?

Re: Emacs org-mode examples and cookbook

#164
post #51

As a complement on how to use Org mode for ops: - http://www.howardism.org/Technical/Emacs/literate-devops.htm... (Literate DevOps) - https://vincent.bernat.im/en/blog/2017-netops-org-mode ("same" for NetOps, I am the author of this one)

Howard's YouTube video is really nice too: https://www.youtube.com/watch?v=dljNabciEGg

After watching this video, I spent a few hours reproducing the core functionality of what Howard demonstrated (with an .org file of my own)...

...and then went further down the rabbit hole. I installed org-reveal and used it to create a very nice presentation out of my .org file - with syntax-highlighted code seemlessly merging with screenshots.

Incredible. Thanks for pointing me to this - and thank you, Howard!

Re: Emacs org-mode examples and cookbook

#165

Earlier quoted context omitted.

I started with simple outlines. Then started using `TODO` and similar states to track tasks and projects, along with checklists. There's a ton that I never use, I'm honestly only using the following 95% of the time: * Headline 1 [1/2] ** TODO Headline 2 [2/4] :tag1:tag2: - [ ] Some incomplete task - [X] Some other task - [ ] [[http://example.com][Only this part shows]] - [X] C-c C-c will toggle the state ** DONE Head…

> OTOH, if Sublime and markdown works for you, keep using it. Nothing beats a functioning tool, in the end. I don't understand. You can just use a tool and not fiddle with it constantly? Tell me of this strange way of working.

You can extend ST with plugins.

Re: Emacs org-mode examples and cookbook

#166

Earlier quoted context omitted.

Howard's YouTube video is really nice too: https://www.youtube.com/watch?v=dljNabciEGg

After watching this video, I spent a few hours reproducing the core functionality of what Howard demonstrated (with an .org file of my own)... ...and then went further down the rabbit hole. I installed org-reveal and used it to create a very nice presentation out of my .org file - with syntax-highlighted code seemlessly merging with screenshots. Incredible. Thanks for pointing me to this - and thank you, Howard!

Pleasure. org-mode really is the gift that keeps on giving.
Post reply on HN