Fix page-relative links, e.g. in TOC.