ruivieira / latex-friend

Atom package with extra utilities for LaTeX editing
https://atom.io/packages/latex-friend
MIT License
6 stars 1 forks source link

How to sync pdf with tex file on windows PC? #11

Open ghost opened 8 years ago

ghost commented 8 years ago

I really appreciate your work. However, The sync function doesn't work on my win10 PC. I noticed you mention to do some PDF viewer settings, but I haven't found any clue to reach the settings yet. I think I need some help. Thank you !

ruivieira commented 8 years ago

Thanks. I don't have Windows to test this. But I'll look into it.

Laser-Cat commented 8 years ago

Neither does it work on some Linux distro(if not all). The error report is as following.

Atom Version: 1.7.2 System: "Arch Linux" Thrown From: latex-friend package, v0.0.10

Stack Trace

Uncaught TypeError: this.getBufferRow is not a function

At /home/username/.atom/packages/latex-friend/lib/latex-friend.js:77

TypeError: this.getBufferRow is not a function
    at atom-workspace.syncpdf (/home/lasercat/.atom/packages/latex-friend/lib/latex-friend.js:77:25)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/usr/share/atom/resources/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/usr/share/atom/resources/app.asar/src/atom-environment.js:1100:28)
    at EventEmitter.outerCallback (/usr/share/atom/resources/app.asar/src/application-delegate.js:314:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)

Commands

     -0:00.8.0 latex-friend:syncpdf (atom-text-editor.editor.is-focused)

Config

{}

Installed Packages

# User
latex-autocomplete, v0.4.3
latex-friend, v0.0.10

# Dev
No dev packages