Skip to content

Commit

Permalink
again, minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippe Faist committed Nov 8, 2014
1 parent d0e8d71 commit 5d4aaa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/pdflatexex_mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ def run(texfile, pdflatexopts=[], mode=MODE_EX, pdfbasename=None, pdflatex=None,
texfile_dir = None # None, by default (meaning CWD)

texfile_full = os.path.realpath(os.path.abspath(texfile))
if sys.platform.startswith('win'):
texfile_full = texfile_full.replace('\\', '/')

workdir = tempfile.mkdtemp();

Expand Down
2 changes: 1 addition & 1 deletion guicompiler/compilerwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def show_pdf(self, mode):
fnpdfabs = os.path.realpath(os.path.abspath(fnpdf))

if not os.path.exists(fnpdfabs):
QMessageBox.critical(self, "Error", u"The file %s does not exist yet. compile it first!"%(fnpdf))
QMessageBox.critical(self, "Error", u"The file %s does not exist yet. compile it first!"%(fnpdfabs))
return

url = 'file:' + urllib.pathname2url(fnpdfabs)
Expand Down

0 comments on commit 5d4aaa3

Please sign in to comment.