assume relative links are intra-doc