fix link target position for images after pagebreak
revert link target fix. problem still exists
pager numer is also wrong
fix undefined footnote number
change header content
adapt layout