can't put pandoc refs inside caption