adapted pdf relative paths