pdf mode for tex globally