latex export file template: use last choice