Fix compound document links.