finish pdf export for cartex