Added section formatting (poorly) and avoided d:title when not in an d:info block.