Compiling/exporting outline

If you only want titles, titles and only that, see that clever solution @AmberV just posted: