pdf creation works partially. unfortunately lattice scale in the
pdf-file break down.