more pdf export stuff