diff --git a/src/Report/report.py b/src/Report/report.py index 38735288de79a8ed3f7580b8dadd70aecf478ed1..4db6cc034e2bad26e835db89849cf735f52f6b63 100644 --- a/src/Report/report.py +++ b/src/Report/report.py @@ -425,6 +425,8 @@ def report(*args): def compile_latex(): # path to pdflatex pdflatex_path = Path("C:/Users/diane/AppData/Local/Programs/MiKTeX/miktex/bin/x64/") + # pdflatex_path = Path("C:/Users/maimouni/AppData/Local/Programs/MiKTeX/miktex/bin/x64/") + from config.config import pdflatex_path filename_path = Path("Report/") filename = 'report.tex' # run pdflatex with bibtex compilation (2nd run) diff --git a/src/config/__init__.py b/src/config/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/src/config/config.py b/src/config/config.py new file mode 100644 index 0000000000000000000000000000000000000000..8edde93f469501a3b369b5b492e5fa16218027f6 --- /dev/null +++ b/src/config/config.py @@ -0,0 +1,5 @@ +# set Path to pdflatex.exe +from pathlib import Path + +# pdflatex_path = Path("C:/Users/maimouni/AppData/Local/Programs/MiKTeX/miktex/bin/x64/") +pdflatex_path = Path("C:/Donnees/Logiciels/Papps/PortableApps/Notepad++Portable/LaTEX/texmfs/install/miktex/bin/")