Skip to content
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

Add support for TeXShop previewer on macOS #2672

Closed
wants to merge 1 commit into from

Conversation

michaelliebling
Copy link
Contributor

All proposed changes/additions are now in a single (clean) commit (I rebased the fork on the most recent commit, which closed the original PR). Let me know if this works.

Before this change forward search to the TeXShop previewer and its
integrated TeX compiler front end was not supported by Vimtex. Setting
up inverse search from TeXShop to Vim (either from TeXShop's PDF
previewer or the "Goto Error" functionality in TeXShop's compiler front-
end) was possible, but not explicitely documented in Vimtex.

After this change, users are given the option to select TeXShop as their
preferred previewer by setting corresponding Vimtex options. The change
integrates this feature via a function that wraps an Applescript to
convey the cursor position to TeXShop. Furthermore, the Vimtex
documentation is updated to indicate generic steps to set up inverse
search from TeXShop and a specific example to set up inverse search from
TeXshop to MacVim.
lervag added a commit that referenced this pull request Mar 23, 2023
@lervag
Copy link
Owner

lervag commented Mar 23, 2023

Thanks! This works very well. And thank you for the contribution!

@lervag lervag closed this Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants