fix pandoc task to pre-compute outputs