turn references to appendices into proper latex references