I have Sublime Text 2 running on my desktop with the Latex tools working perfectly with Sumatra PDF.
I then tried installing this on my laptop as well, following the same path, but there I always get the following error when I try to compile the document:
- Code: Select all
\documentclass[5pt,a4paper,oneside]{article}
^
SyntaxError: unexpected character after line continuation character
If I remove this line then the error just comes at the very next line, again pointing at the right parenthesis.
the LaTeX.sublime-build has the following code:
- Code: Select all
// *** BEGIN MikTeX 2009 ***
"cmd": ["texify",
"-b", "-p",
"--tex-option=\"--synctex=1\""
],
"path": "",
// *** END MikTeX 2009 ***
I also tried installing TexLive and enabling it instead, but got the same error message.
For comparison I also used the program TeXnicCenter to compile the same .tex documents and got no errors.
Both computers are running Windows 7.
Any help would be appreciated.