{"action":"opened","issue":{"url":"https://api.github.com/repos/lervag/vimtex/issues/1087","repository_url":"https://api.github.com/repos/lervag/vimtex","labels_url":"https://api.github.com/repos/lervag/vimtex/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/lervag/vimtex/issues/1087/comments","events_url":"https://api.github.com/repos/lervag/vimtex/issues/1087/events","html_url":"https://github.com/lervag/vimtex/issues/1087","id":306408121,"number":1087,"title":"synctex with the comment package ","user":{"login":"heiderich","id":3432497,"avatar_url":"https://avatars3.githubusercontent.com/u/3432497?v=4","gravatar_id":"","url":"https://api.github.com/users/heiderich","html_url":"https://github.com/heiderich","followers_url":"https://api.github.com/users/heiderich/followers","following_url":"https://api.github.com/users/heiderich/following{/other_user}","gists_url":"https://api.github.com/users/heiderich/gists{/gist_id}","starred_url":"https://api.github.com/users/heiderich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heiderich/subscriptions","organizations_url":"https://api.github.com/users/heiderich/orgs","repos_url":"https://api.github.com/users/heiderich/repos","events_url":"https://api.github.com/users/heiderich/events{/privacy}","received_events_url":"https://api.github.com/users/heiderich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T10:35:54Z","updated_at":"2018-03-19T10:35:54Z","closed_at":null,"author_association":"NONE","body":"When using the [comment](https://ctan.org/pkg/comment) package, clicking on text within a comment in the PDF makes vim open the comment.cut file instead of the comment in the original .tex file.\r\n\r\n1. A minimal `vimrc` file:\r\n\r\n```vim\r\nset nocompatible\r\n\r\n\" Load Vimtex\r\nlet &rtp  = '~/.vim/bundle/vimtex,' . &rtp\r\nlet &rtp .= ',~/.vim/bundle/vimtex/after'\r\n\r\nfiletype plugin indent on\r\nsyntax enable\r\n```\r\n\r\n2. A minimal example:\r\n\r\n```tex\r\n\\documentclass{article}\r\n\\usepackage{comment}\r\n\\usepackage{xcolor}\r\n\\specialcomment{mycomment}{\\begingroup\\sffamily\\color{blue}}{\\endgroup}\r\n\r\n\\begin{document}\r\n\r\nbefore\r\n\r\n\\begin{mycomment}\r\n   first comment\r\n\\end{mycomment}\r\n\r\nbetween\r\n\r\n\\begin{mycomment}\r\n   second comment\r\n\\end{mycomment}\r\n\r\nafter\r\n\r\n\\end{document}\r\n```\r\n\r\n3. Open the minimal example above, compile it, view it using zathura and use the inverse search on \"first comment\" (Ctrl + click). I expect that vim moves the cursor to the corresponding place in the minimal example .tex file. Instead vim opens the file `comment.cut`, which contains the text `second comment`."}}
{"actor":{"display_login":"heiderich"}}