This commit is contained in:
parent
f77b1ce331
commit
eef42655e5
1 changed files with 4 additions and 6 deletions
|
@ -68,14 +68,12 @@ class Latex(QObject):
|
||||||
Checks if the current latex installation is valid.
|
Checks if the current latex installation is valid.
|
||||||
"""
|
"""
|
||||||
if LATEX_PATH is None:
|
if LATEX_PATH is None:
|
||||||
if "--test-build" in argv:
|
|
||||||
print("No Latex installation found.")
|
print("No Latex installation found.")
|
||||||
else:
|
if "--test-build" not in argv:
|
||||||
QMessageBox.warning(None, "LogarithmPlotter - Latex setup", QCoreApplication.translate("latex", "No Latex installation found.\nIf you already have a latex distribution installed, make sure it's installed on your path.\nOtherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/."))
|
QMessageBox.warning(None, "LogarithmPlotter - Latex setup", QCoreApplication.translate("latex", "No Latex installation found.\nIf you already have a latex distribution installed, make sure it's installed on your path.\nOtherwise, you can download a Latex distribution like TeX Live at https://tug.org/texlive/."))
|
||||||
elif DVIPNG_PATH is None:
|
elif DVIPNG_PATH is None:
|
||||||
if "--test-build" in argv:
|
|
||||||
print("DVIPNG not found.")
|
print("DVIPNG not found.")
|
||||||
else:
|
if "--test-build" not in argv:
|
||||||
QMessageBox.warning(None, "LogarithmPlotter - Latex setup", QCoreApplication.translate("latex", "DVIPNG was not found. Make sure you include it from your Latex distribution."))
|
QMessageBox.warning(None, "LogarithmPlotter - Latex setup", QCoreApplication.translate("latex", "DVIPNG was not found. Make sure you include it from your Latex distribution."))
|
||||||
|
|
||||||
@Property(bool)
|
@Property(bool)
|
||||||
|
|
Loading…
Reference in a new issue