{"action":"created","issue":{"url":"https://api.github.com/repos/plk/biblatex/issues/280","labels_url":"https://api.github.com/repos/plk/biblatex/issues/280/labels{/name}","comments_url":"https://api.github.com/repos/plk/biblatex/issues/280/comments","events_url":"https://api.github.com/repos/plk/biblatex/issues/280/events","html_url":"https://github.com/plk/biblatex/issues/280","id":48101912,"number":280,"title":"Biblatex + Memoir + hyperref - link targets too low","user":{"login":"bendikro","id":84580,"avatar_url":"https://avatars.githubusercontent.com/u/84580?v=3","gravatar_id":"","url":"https://api.github.com/users/bendikro","html_url":"https://github.com/bendikro","followers_url":"https://api.github.com/users/bendikro/followers","following_url":"https://api.github.com/users/bendikro/following{/other_user}","gists_url":"https://api.github.com/users/bendikro/gists{/gist_id}","starred_url":"https://api.github.com/users/bendikro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendikro/subscriptions","organizations_url":"https://api.github.com/users/bendikro/orgs","repos_url":"https://api.github.com/users/bendikro/repos","events_url":"https://api.github.com/users/bendikro/events{/privacy}","received_events_url":"https://api.github.com/users/bendikro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-07T16:33:45Z","updated_at":"2015-03-04T22:54:46Z","closed_at":null,"body":"I've encountered an issue described at [Stackexchange: Certain hyperlinks (memoir+hyperref) placed too low ](http://tex.stackexchange.com/questions/59359/certain-hyperlinks-memoirhyperref-placed-too-low) where some hyperref link targets are too low.\r\n\r\nThe first answer on Stackexchange proposes a fix by patching memoir, by removing `\\phantomsection` statements that adds a hyperref target *after* the respective header.\r\n\r\nHowever, I found that to fix the issue when using biblatex's `\\printbibliography`, the biblatex code in `biblatex.def` must be changed.\r\nAs described in the second answer on Stackexchange, the issue lies in the `\\defbibheading` definitons specific for when memoir is loaded such as https://github.com/plk/biblatex/blob/7dab6fa354a2b20c9ff4a6d3971aeb0cf68ab7e7/tex/latex/biblatex/biblatex.def#L1969\r\n\r\nWhy is the `\\phantomsection` placed after the `\\section*{#1}`? Is there an advantage to this compared to:\r\n```LaTeX\r\n\\defbibheading{bibintoc}[\\bibname]{%\r\n\\phantomsection\r\n\\chapter*{#1}%\r\n\\addcontentsline{toc}{chapter}{#1}%\r\n\\markboth{\\memUChead{#1}}{\\memUChead{#1}}}\r\n```"},"comment":{"url":"https://api.github.com/repos/plk/biblatex/issues/comments/77268619","html_url":"https://github.com/plk/biblatex/issues/280#issuecomment-77268619","issue_url":"https://api.github.com/repos/plk/biblatex/issues/280","id":77268619,"user":{"login":"bendikro","id":84580,"avatar_url":"https://avatars.githubusercontent.com/u/84580?v=3","gravatar_id":"","url":"https://api.github.com/users/bendikro","html_url":"https://github.com/bendikro","followers_url":"https://api.github.com/users/bendikro/followers","following_url":"https://api.github.com/users/bendikro/following{/other_user}","gists_url":"https://api.github.com/users/bendikro/gists{/gist_id}","starred_url":"https://api.github.com/users/bendikro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendikro/subscriptions","organizations_url":"https://api.github.com/users/bendikro/orgs","repos_url":"https://api.github.com/users/bendikro/repos","events_url":"https://api.github.com/users/bendikro/events{/privacy}","received_events_url":"https://api.github.com/users/bendikro/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T22:54:46Z","updated_at":"2015-03-04T22:54:46Z","body":"I never got a reply from Lars Mad­sen, so no updates on that."}}