{"action":"opened","issue":{"url":"https://api.github.com/repos/politza/pdf-tools/issues/194","repository_url":"https://api.github.com/repos/politza/pdf-tools","labels_url":"https://api.github.com/repos/politza/pdf-tools/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/politza/pdf-tools/issues/194/comments","events_url":"https://api.github.com/repos/politza/pdf-tools/issues/194/events","html_url":"https://github.com/politza/pdf-tools/issues/194","id":139090471,"number":194,"title":"LilyPond PDF links don't work (special URIs cases)","user":{"login":"rrmdev","id":8881276,"avatar_url":"https://avatars.githubusercontent.com/u/8881276?v=3","gravatar_id":"","url":"https://api.github.com/users/rrmdev","html_url":"https://github.com/rrmdev","followers_url":"https://api.github.com/users/rrmdev/followers","following_url":"https://api.github.com/users/rrmdev/following{/other_user}","gists_url":"https://api.github.com/users/rrmdev/gists{/gist_id}","starred_url":"https://api.github.com/users/rrmdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrmdev/subscriptions","organizations_url":"https://api.github.com/users/rrmdev/orgs","repos_url":"https://api.github.com/users/rrmdev/repos","events_url":"https://api.github.com/users/rrmdev/events{/privacy}","received_events_url":"https://api.github.com/users/rrmdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T20:50:30Z","updated_at":"2016-03-07T20:50:30Z","closed_at":null,"body":"The problem manifests itself in LilyPond PDFs in particular, but is a more generic problem.\r\n\r\nLilyPond includes backlinks to the file that should allow for a Point-and-Click edition, sending the user from the compiled PDF file to the point in the source where the feature is defined. It's SyncTeX-à-la-LilyPond.\r\n\r\nWhen the P&C option is activated, LilyPond concocts special URIs for all the features of interest in the final music sheet. These come in the form of a \"textedit://\" uri. (More specifically: textedit:///path-to-file:[line number]:[page number]:[column number]).\r\n\r\nLilyPond intends for these URIs to be sent to a helper application (i.e. lilypond-invoke-editor).\r\n\r\nFor xpdf, the helper application can be invoked via the configuration file (xpdfrc) with the following:\r\n`urlCommand     \"lilypond-invoke-editor %s\"`\r\n\r\nIs there an analogue way to do the same in pdf-tools?\r\n\r\nAnd, more generic, how does one go about to define non-classical URIs? How does one go about telling pdf-tools what application to use to open said URIs?\r\n\r\nThank you."}}