Browse files

Bugfix: wrong call to get_tex_root. (issue 3)

  • Loading branch information...
1 parent 9780bc4 commit 088ad7f2aed5dd5208ce28a84589c7cac496bfc2 @williamledoux williamledoux committed Aug 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 viewPDF.py
View
2 viewPDF.py
@@ -15,7 +15,7 @@ def run(self):
sublime.error_message("%s is not a TeX source file: cannot view." % (os.path.basename(view.fileName()),))
return
quotes = ""# \"" MUST CHECK WHETHER WE NEED QUOTES ON WINDOWS!!!
- root = getTeXRoot(view.file_name())
+ root = getTeXRoot.get_tex_root(view.file_name())
rootFile, rootExt = os.path.splitext(root)
pdfFile = quotes + rootFile + '.pdf' + quotes
s = platform.system()

0 comments on commit 088ad7f

Please sign in to comment.