-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skim forward search not working on macOS 12.1 #2279
Comments
That was quick :) Yes, macOS 12.1 broke Skim's forward search functionality, see https://sourceforge.net/p/skim-app/bugs/1438/ There's unfortunately nothing that can be done about it right now; we'll have to wait for the Skim dev to release a new version to work around these changes (if that is possible). |
So is it broken regardless of the CPU architecture in macOS 12.1? |
@lervag maybe leave it open or pin it? I expect this will get asked a lot in the coming days... |
I can't even get Skim to open now on macOS 12.1. Thinking of switching to zathura while this is getting fixed. BTW, Thanks for writing vimtex levrag! |
Thanks, @pbrosnan (and sorry about the state of Skim... of course, you could just move over to the light side and use Linux 😃 ) |
Short update: On the linked Skim issue, there is now a prerelease that restores functionality on macOS 12.1 (go to the end of page 3), so the next release will Just Work again (without any changes in VimTeX). |
That's great news! :) |
Unfortunately, the 1.6.7 that was just released is apparently not the same as the last test version -- forward search is again not working 😞 |
That's not so great news. :( But do you mean that the fix is not really a fix, or that the fix will simply be part of a later release? |
Unclear. There was a (test) version that was working, so a fix is possible; the fact that the actual release based on this test didn't work anymore means that actual problem is still unclear. So it might take a bit longer, but I expect that a later release will indeed fix that (unless macOS 12.2, which is currently in beta, adds new breakages...) |
Ok; I'll keep my fingers crossed, then. |
Probably irrelevant, but I downgraded to skim version 1.6.4 to see if that did anything but it didn't. So I guess it's solely due to updating to MacOS 12.1. Thanks again @lervag for vimtex! Hopefully, we get the vimtex-skim integration working again. Cheers! |
Apparently, you can also use JavaScript to control macOS apps -- which a) is a marginally less unpleasant language than AppleScript and b) doesn't seem to suffer from the same bug in macOS 12.1. |
Can confirm this same issue on my macOS 12.1 machine as well. Using the latest, Skim 1.6.7 Update: Followed the above links and found that the "test" version of Skim does indeed fix this problem for me https://sourceforge.net/p/skim-app/bugs/1438/?page=3#f4c2/897c |
I'll close this issue as it is now addressed in #2289. I will review the PR as soon as I have time! |
Refactor the Skim viewer backend to * use JavaScript instead of AppleScript (nicer, and should fix #2279) * make the initial start respect `g:vimtex_view_skim_activate` (alternative to #2286) * factor out common script parts into script function * correct off-by-one line number for forward search * introduce new option `g:vimtex_view_skim_sync` to perform forward search after compilation (syncing viewer and editor), default false * change default for `g:vimtex_view_skim_reading_bar` to false (location is highlighted anyway on sync)
@lervag I think that issue can be un-pinned now? |
Thanks, I forgot about that! |
Description
I recently got an M1 Mac (if relevant) and setup Neovim + vimtex almost identically to my previous intel Mac.
However, forward search does not work anymore.
I installed both Neovim and Skim via Homebrew.
Steps to reproduce
I invoked
neovim
withNVIM_LISTEN_ADDRESS=/tmp/nvimsocket nvim -u minimal.vim minimal.tex
.Expected behavior
Forward search should work with
\ll
or:VimtexView
.Actual behavior
Skim does not get focused nor 'forward-search'ed.
Initial
\ll
does wake Skim and open the document (without current line being focused).Backward search does work properly.
Do you use a latexmkrc file?
No
VimtexInfo
The text was updated successfully, but these errors were encountered: