stack emerald for pdf document