papers can export using an arbitrary format using a provided function.