{"action":"created","issue":{"url":"https://api.github.com/repos/plk/biblatex/issues/396","repository_url":"https://api.github.com/repos/plk/biblatex","labels_url":"https://api.github.com/repos/plk/biblatex/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/plk/biblatex/issues/396/comments","events_url":"https://api.github.com/repos/plk/biblatex/issues/396/events","html_url":"https://github.com/plk/biblatex/issues/396","id":143782545,"number":396,"title":"newrefcontext breaks numeric styles","user":{"login":"moewew","id":6755835,"avatar_url":"https://avatars.githubusercontent.com/u/6755835?v=3","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-27T07:09:37Z","updated_at":"2016-03-27T11:35:46Z","closed_at":null,"body":"I wanted to play around with `labelprefix` in the newest dev version of 3.4 and found that adding `\\newrefcontext[labelprefix=A]` resets all numbers in citations to zero before `\\printbibliography`.\r\n\r\nSee\r\n\r\n```\r\n\\documentclass{article}\r\n\\usepackage[utf8]{inputenc}\r\n\\usepackage[T1]{fontenc}\r\n\\usepackage[style=numeric,backend=biber,defernumbers=true]{biblatex}\r\n\r\n\\addbibresource{biblatex-examples.bib}\r\n\r\n\\begin{document}\r\n\\newrefcontext[labelprefix=A]\r\n\\cite{sigfridsson,worman}\r\n\\printbibliography\r\n\\cite{sigfridsson,worman}\r\n\\end{document}\r\n```\r\n\r\nexamples 16, 17, and 19 in the docs didn't work for me either. The prefix is always dropped and with numeric citations I get only \"0\".\r\n\r\n-----\r\n\r\nBTW: I find it quite confusing the `\\newrefcontext` seems to take only an optional argument (`[...]`), but when I omit it, `biblatex` complains; is it really a mandatory argument?"},"comment":{"url":"https://api.github.com/repos/plk/biblatex/issues/comments/202044973","html_url":"https://github.com/plk/biblatex/issues/396#issuecomment-202044973","issue_url":"https://api.github.com/repos/plk/biblatex/issues/396","id":202044973,"user":{"login":"moewew","id":6755835,"avatar_url":"https://avatars.githubusercontent.com/u/6755835?v=3","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},"created_at":"2016-03-27T11:35:46Z","updated_at":"2016-03-27T11:35:46Z","body":"That one is different, I still have the one from sourceforge. Maybe we should compare the `.bbl` files for my initial example\r\n\r\n```\r\n\\documentclass{article}\r\n\\usepackage[utf8]{inputenc}\r\n\\usepackage[T1]{fontenc}\r\n\\usepackage[style=numeric,backend=biber,defernumbers=true]{biblatex}\r\n\r\n\\addbibresource{biblatex-examples.bib}\r\n\r\n\\begin{document}\r\n\\newrefcontext[labelprefix=A]\r\n\\cite{sigfridsson,worman}\r\n\\printbibliography\r\n\\cite{sigfridsson,worman}\r\n\\end{document}\r\n```\r\n\r\nI get\r\n\r\n```\r\nMD5 hash of ./initialexample.bbl:\r\nae 8d 21 46 b9 77 b3 bb fe e7 e3 82 9b de 41 fe 28 4a fd e2\r\n```"}}