atom-latex-plus
atom-latex-plus copied to clipboard
On a windows machine, I'm getting an error with synctex
I have installed MikeTeX (through the proTeX installer, along with TeXStudio) on my Windows machine. TeXstudio 2.5.2 (SVN 3661) MiKTeX-pdfTeX 2.9.5496 (1.40.15) (MiKTeX 2.9 64-bit)
I'm getting a really annoying popup now that SyncTeX
SyncTeX Errors:
'synctex' is not recognized as an internal or external command,
operable program or batch file.
On further investigation, it seems that SyncTeX is not installed on my machine. I'd appreciate help in determining how to get this set up, but I think there should be some way to suppress this error (maybe a setting for the package?).
For now, I've commented out lines 25-27 in synctex.js:
atom.notifications.addError("SyncTeX Errors:", {
detail: stderr,
dismissable: true,
});
Now I don't get the annoying popup, and everything works except for the synchronization between source code and PDF.
MikTeX doesn't seem to install synctex. You can try TeXLive. This is working on a windows machine I have.
You could also just pull the compiled files off the TeXLive build:
You need the synctex.exe and the kpathsea622.dll that are convinently available from the TeXLive svn.
Place these where windows can find it (say in the default MiKTeX installation C:\Program Files\MiKTeX 2.9\miktex\bin\x64)and everything should be fine. Alternatively, you could also just add it to the search path manually.