Offline LaTeX Development - Part 2

January 10, 2015

I’ve already written about how I develop LaTeX offline in Vim using GNU Make. Recently, though, I found a tool that implements another feature that GUI editors had to themselves: splitting panes.

Offline LaTeX Development

If you missed it, check out my previous post here before reading on. There’s a lot of handy stuff there!

Split Panes

Out of the box, tools like ShareLaTeX and TeXShop feature split pane editing: you can have your LaTeX on one half of the screen and the PDF on the other. Previously, I justified not having this feature with the reasoning that the :WV binding (something I explained here) immediately opened up the PDF and the windows switched.

However, I read about a tool called Amethyst on Hacker News the other day and immediately realized it’s potential for improving my LaTeX setup. Amethyst is a tool that strives to be a tiling window manager like xmonad for OS X. At times it falls short of this goal, but for the most part it works really well. Just open up two apps, like MacVim and Preview, and it’ll show them side-by-side with no added effort. There are also plenty of keybindings to manipulate the window arrangements.

Here’s a screenshot of what the new setup looks like:

After looking into it a little more, it looks like there are other OS X tools for spitting the screen into two panes, like BetterTouchTool, though I haven’t actually tried any of them out.

Read More

Concurrent Programming in ML: A Race

I want to call attention to what I think is a race condition in one of the code listings in the book “Concurrent Programming in ML”. The problem is that some of the data isn’t protected by a lock, which can lead to a stale read and incorrect behavior. I trace the bad behavior, and propose a fix. Continue reading

Prefer .then() over .catch()

Published on May 31, 2018

Union Types in Flow & Reason

Published on April 19, 2018