Repeated Links in Org Mode

The tireless Artur Malabarba has shown us how to make custom Org links for special purposes before (1, 2). Now he shows us how to implement Markdown links. The point here is that with Markdown, you define a link and associated ID once and can refer to it any number of times thereafter by mentioning its ID.

That’s nice if you refer to the link several times in your document. Instead of looking up the URL each time, you can give it an ID and then use that ID each time you want to refer to it. This could be especially useful if you later need to change the URL for some reason.

Malabarba’s implementation takes 3 simple functions, two of which are required by the Org Link mechanism. It’s pretty easy and could be really useful for certain types of workflows. Take a look at his post for the details.

Posted in General | Tagged , | Leave a comment

Crossword

For all you puzzle constructors out there:

The cwpuzzle makes it really easy to typeset a crossword puzzle. If you want to try your hand but don’t know how to lay out a puzzle, there are plenty of sites to help you.

Posted in General | Tagged | Leave a comment

Emacs for Professional Writers

Last time, I wrote about how Bin Chen writes in Org mode and exports the final document to Word doc format. Most engineers are spared the indignity of having to produce Word documents but if you’re a writer producing anything other than technical books, you will almost certainly have to deliver your work as a Word file. That makes a lot of sense for publishers, as I’ve written about previously, but it’s a real pain for technically literate writers.

Tony Ballantyne is a Science Fiction writer and an Emacs user. Ballantyne has an excellent post on his Emacs Writing Setup. The post covers how he uses the various Emacs tools—including Org mode—to organize his books, take notes, record ideas, and maintain a style sheet.

Like Bin Chen, he exports the results to odt format when he’s done. His process seems a little simpler than Chen’s. He just exports it to odt, loads it into whatever Word clone he’s using, and saves it as a doc file. That’s an extra manual step but not an onerous one.

If you use Emacs for writing and need to deliver the result as a Word document, you should definitely read Ballantyne’s post. Even if you’re not a professional writer banging out fiction, Ballantyne has some good tips of making the most of Emacs for the task. If you like his writing tips, checkout his Emacs Workout page that links to many of his writing-with-Emacs posts.

Posted in General | Tagged , | Leave a comment

How to Convert from Org to Word

If you’re like me, you’d rather take a pencil in the eye than write using Word or any of its evil spawn. Sometimes, though, you really need to deliver a doc file. Even in a lead engineer position I sometimes had to produce documents for management that they would tweak and send to, say, their lawyers. Needless to say, management wasn’t interested in an Org file, whatever the hell that is.

So. A conundrum. On the one hand a cranky engineer who didn’t want to fire up Word, and on the other, suits who didn’t know there was any way to produce documents besides Word. What to do? Not all that long ago the choices were

  • Cranky engineer bites to bullet and fires up Word
  • The bosses’ secretary takes an ASCII document and imports it into Word

Neither was very satisfactory so we’re lucky that today’s Org mode has a better answer. Since Org 7.8, you can export an Org document to odt format and from there to doc format.

Bin Chen explains how to automate the process of converting an Org document to a Word document in doc format. It’s a pretty simple process involving specifying what you want the end format to be and what tool (LibreOffice by default) should be used to convert from odt to the final format.

If you occasionally have to produce documents in doc format, you should definitely take a look at Chen’s post. Tomorrow, we’ll revisit this subject from the point of view of a fiction writer that has to deliver drafts in doc format but much prefers working in Emacs.

Posted in General | Tagged , | 5 Comments

WiFi on a Rifle

What could go wrong?

Posted in General | Tagged | Leave a comment

Lenovo Again

Remember all those apologies from Lenovo after their stealth installation of the SuperFish adware was revealed? Apparently they didn’t really mean them.

As the old saying goes, “Fool me once, shame on you. Fool me twice, shame on me.” Unless you, too, want to end up a 50 year joke like Charlie Brown, Lucy, and the football, you’d better think twice about buying products from this company. If you do, you have no one but yourself to blame when the inevitable happens.

Lenovo has forfeited any expectation of trust from their customers. And who would want to deal with a company so lacking in common sense that they install another root kit on their computers less than 6 months after being excoriated for doing the same thing?

I know lots of people who love their Lenovo laptops and dismissed the concerns over SuperFish on the grounds that they wiped the machine and installed Linux. This latest exploit hides the malware in the system’s firmware where it can’t be removed. I’ll bet that when Lenovo decides it’s to their advantage to do so, they’ll find a way to hook into Linux too.

Posted in General | Tagged | Leave a comment

A Word to the Wise

Advertisers: clean up your act or look forward to a future like this

See what I mean?

Posted in General | Tagged , | Leave a comment

Where Work Goes to Die

Swizec Teller has an amusing article in DZone on Why Offices Are Where Work Goes to Die. The article is, as I say, amusing but it also mines several nuggets of truth. Irreal, as you doubtless know to your sorrow, is adamantly opposed to open office plans because of the destructive effect they have on office efficiency and moral. These plans are always justified on the grounds of improved communication—rather than their actual advantage of being cheaper—but Teller describes how even in a traditional office setting this ease of communication can be detrimental. He discusses several problems but the most serious is the constant interruption of flow, which for engineers is deadly.

Teller’s article is a neat summary of why I’m a big supporter of remote work. I won’t flog that horse here but Yegor Bugayenko has an excellent post on the bane of office workers: meetings. Bugayenko likens meetings to legalized robbery. He describes how meetings are abused to effectively end all progress on projects that overuse them. It’s another great read. You should read it and Teller’s post.

In the meantime, here’s a very sharp TL;DR for Bugayenko’s thesis:

Posted in General | Tagged , | Leave a comment

The No Irony Zone

Posted in General | Tagged | Leave a comment

Emacs as an OS

Daniele Sluijters says:

He has a point but I don’t think the notion of Emacs as an OS is a bad one. I came for the Lisp support but I’ve come to think of Emacs as a Lisp Machine-like operating system where all the code is available and can be changed on the fly to exactly suit my requirements.

Emacers famously move towards doing as much as possible inside Emacs. Many consider it a cache miss if they have to leave Emacs for some task. I’m not hardcore enough to use eww for all my browsing but other than Safari and (temporarily) Mail.app, I spend virtually all my tube time in Emacs. That tendency is the realization of Emacs as an operating system. The transformation of Emacs into an OS is ongoing. Indeed, we recently acquired a window manager.

The old joke about Emacs being a good OS needing only a decent editor may be stale but it does contain a germ of truth. Except for the editor part; I like the editor.

Posted in General | Tagged | 3 Comments