See http://ambur.net/openbook.pdf