This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Only adds the actual opener, with no code to make it accessible to the user. This would probably be done using some kind of option, but I'm not sure what the best implementation of PDF viewer selection options would be.
This is kind of in preparation of introducing SyncTeX capabilities, since Preview.app doesn't support this(?). Skim.app does, through a utility included in its application contents, but using that utility requires that the caller knows the full path to Skim (standard is
/Applications/Skim.app
) which may be something to have in mind when designing a PDF viewer option.Briefly SyncTeX with Skim would be calling
/Applications/Skim.app/Contents/SharedSupport/displayline -r [-g] <line> <pdf-file> <tex-file>
for forward syncing as the Sublime package does, and doingatom <tex-file>:<line>
in the other direction (assuming atom/atom#1743 gets fixed), so it's not that difficult assuming the path to Skim.app is known and appropriate hooks are available in Atom itself.