{"action":"created","issue":{"url":"https://api.github.com/repos/dwp-forge/refnotes/issues/34","repository_url":"https://api.github.com/repos/dwp-forge/refnotes","labels_url":"https://api.github.com/repos/dwp-forge/refnotes/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/dwp-forge/refnotes/issues/34/comments","events_url":"https://api.github.com/repos/dwp-forge/refnotes/issues/34/events","html_url":"https://github.com/dwp-forge/refnotes/issues/34","id":168655254,"number":34,"title":"using - in cite keys","user":{"login":"Jas2Ma","id":6243848,"avatar_url":"https://avatars.githubusercontent.com/u/6243848?v=3","gravatar_id":"","url":"https://api.github.com/users/Jas2Ma","html_url":"https://github.com/Jas2Ma","followers_url":"https://api.github.com/users/Jas2Ma/followers","following_url":"https://api.github.com/users/Jas2Ma/following{/other_user}","gists_url":"https://api.github.com/users/Jas2Ma/gists{/gist_id}","starred_url":"https://api.github.com/users/Jas2Ma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jas2Ma/subscriptions","organizations_url":"https://api.github.com/users/Jas2Ma/orgs","repos_url":"https://api.github.com/users/Jas2Ma/repos","events_url":"https://api.github.com/users/Jas2Ma/events{/privacy}","received_events_url":"https://api.github.com/users/Jas2Ma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-01T14:11:44Z","updated_at":"2016-08-01T20:09:50Z","closed_at":null,"body":"I'm using better bibtex pluging for zotero which uses \"-\" characters in cite keys. I actually found no documentation for bibtex cite keys, but \"-\" seems to agree with my bibtex.\r\n\r\nNevertheless refnotes does not like \"-\", I can't get a refnotes reference using \"-\" characters in cite keys. Can you fix this?"},"comment":{"url":"https://api.github.com/repos/dwp-forge/refnotes/issues/comments/236692518","html_url":"https://github.com/dwp-forge/refnotes/issues/34#issuecomment-236692518","issue_url":"https://api.github.com/repos/dwp-forge/refnotes/issues/34","id":236692518,"user":{"login":"dwp-forge","id":11460562,"avatar_url":"https://avatars.githubusercontent.com/u/11460562?v=3","gravatar_id":"","url":"https://api.github.com/users/dwp-forge","html_url":"https://github.com/dwp-forge","followers_url":"https://api.github.com/users/dwp-forge/followers","following_url":"https://api.github.com/users/dwp-forge/following{/other_user}","gists_url":"https://api.github.com/users/dwp-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/dwp-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwp-forge/subscriptions","organizations_url":"https://api.github.com/users/dwp-forge/orgs","repos_url":"https://api.github.com/users/dwp-forge/repos","events_url":"https://api.github.com/users/dwp-forge/events{/privacy}","received_events_url":"https://api.github.com/users/dwp-forge/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T20:09:50Z","updated_at":"2016-08-01T20:09:50Z","body":"The BibTeX support was added as an extension of [named note syntax](https://www.dokuwiki.org/plugin:refnotes:syntax#named_notes). The names use DW page naming convention (alphanumerics plus \"_\"), so \"-\" was not supposed to be supported. Yet BibTeX example uses \":ref:Knuth-LCE-1985\" as a name. Not sure anymore if it was planned or I just overlooked and didn't test properly. In any case it's a bug either in the code or in the documentation.\r\n\r\nI no longer actively work on the plugin, and it would take me some time to figure side effects of such a change. There are number of ways to define and use a note and all of them should be considered before extending the syntax. The easiest way would be just to update the documentation to \":ref:Knuth_LCE_1985\" but I guess that is not the solution you are looking for.\r\n\r\nMaybe if I will have a spare weekend and I'll look into this in more detail but I cannot promise anything. The pull requests are welcome, though."}}
{"actor":{"display_login":"dwp-forge"}}