Finally got round trip PDF working