import from prymatex and fix path for links