in PDF, no line jump after doc linked ref. Fix bug 1605.

Fixes doliforge 1605 bug