pdf compilation