{"action":"created","issue":{"url":"https://api.github.com/repos/plk/biblatex/issues/707","repository_url":"https://api.github.com/repos/plk/biblatex","labels_url":"https://api.github.com/repos/plk/biblatex/issues/707/labels{/name}","comments_url":"https://api.github.com/repos/plk/biblatex/issues/707/comments","events_url":"https://api.github.com/repos/plk/biblatex/issues/707/events","html_url":"https://github.com/plk/biblatex/issues/707","id":295173919,"number":707,"title":"Incompatibility with enotez","user":{"login":"moewew","id":6755835,"avatar_url":"https://avatars3.githubusercontent.com/u/6755835?v=4","gravatar_id":"","url":"https://api.github.com/users/moewew","html_url":"https://github.com/moewew","followers_url":"https://api.github.com/users/moewew/followers","following_url":"https://api.github.com/users/moewew/following{/other_user}","gists_url":"https://api.github.com/users/moewew/gists{/gist_id}","starred_url":"https://api.github.com/users/moewew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moewew/subscriptions","organizations_url":"https://api.github.com/users/moewew/orgs","repos_url":"https://api.github.com/users/moewew/repos","events_url":"https://api.github.com/users/moewew/events{/privacy}","received_events_url":"https://api.github.com/users/moewew/received_events","type":"User","site_admin":false},"labels":[{"id":2428695,"url":"https://api.github.com/repos/plk/biblatex/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-07T15:12:24Z","updated_at":"2018-02-16T21:47:20Z","closed_at":null,"author_association":"COLLABORATOR","body":"```latex\r\n\\documentclass{scrartcl}\r\n\\usepackage{enotez}\r\n\r\n\\let\\footnote\\endnote\r\n\r\n\\usepackage[style=authoryear-icomp,notetype=endonly,autocite=footnote,backend=biber]{biblatex}\r\n\\addbibresource{biblatex-examples.bib}\r\n\r\n\\begin{document}\r\n\\footcite{sigfridsson}\r\n\\printendnotes\r\n\\end{document}\r\n```\r\nwill always call for a Biber re-run.\r\n\r\nI think I chased down the problem to the following cause:\r\nThe lists `\\blx@cites` and `\\blx@lastcites` are normally filled with the detokenized citekeys (all catcode 12). The detokenization step for the citekeys is hidden deep in internals and . But due to the fact that with `enotez` the citation is written to the `.aux` file in slightly expanded form, the macros that normally do the detokenization have already processed the citation and so the citekey is not detokenized any more when it is read from the `.aux`.\r\n\r\nThis causes a discrepancy between `\\blx@cites` (citations from endnotes not detokenized) and `\\blx@lastcites` (all detokenized)  triggering the re-run warnings."},"comment":{"url":"https://api.github.com/repos/plk/biblatex/issues/comments/366367592","html_url":"https://github.com/plk/biblatex/issues/707#issuecomment-366367592","issue_url":"https://api.github.com/repos/plk/biblatex/issues/707","id":366367592,"user":{"login":"plk","id":1220851,"avatar_url":"https://avatars0.githubusercontent.com/u/1220851?v=4","gravatar_id":"","url":"https://api.github.com/users/plk","html_url":"https://github.com/plk","followers_url":"https://api.github.com/users/plk/followers","following_url":"https://api.github.com/users/plk/following{/other_user}","gists_url":"https://api.github.com/users/plk/gists{/gist_id}","starred_url":"https://api.github.com/users/plk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plk/subscriptions","organizations_url":"https://api.github.com/users/plk/orgs","repos_url":"https://api.github.com/users/plk/repos","events_url":"https://api.github.com/users/plk/events{/privacy}","received_events_url":"https://api.github.com/users/plk/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T21:47:20Z","updated_at":"2018-02-16T21:47:20Z","author_association":"OWNER","body":"@moewew - for information, SF has extensive issue due to their recent upgrades and we can't upload anything currently. They will let me know when it's fixed but from experience this could be a week or more."}}
{"actor":{"display_login":"plk"}}