diff --git a/cal_tools/cal_tools/tools.py b/cal_tools/cal_tools/tools.py index 0d2300f8f75df2358bb592c009facd525f543b67..19967bcb87409b1d594bf4ce520f085cb79b9256 100644 --- a/cal_tools/cal_tools/tools.py +++ b/cal_tools/cal_tools/tools.py @@ -194,7 +194,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version, report_t with open("{}/conf.py".format(run_path), "r") as mfr: for line in mfr: if line == '# latex_logo = None\n': - mf.write("latex_logo = '{}/xfel.jpg'\n".format(module_path)) + mf.write("latex_logo = '{}/xfel.pdf'\n".format(module_path)) mf.write("latex_additional_files = ['titlepage.tex.txt']\n") elif line == 'latex_elements = {\n': @@ -266,7 +266,7 @@ def make_titlepage(sphinx_path, project, data_path): gfile.write(' \\vspace{0mm}\n\n') gfile.write(' \\begin{figure}[!h]\n') gfile.write(' \\centering\n') - gfile.write(' \\includegraphics[scale=0.3]{xfel.jpg}\n') + gfile.write(' \\includegraphics[scale=0.3]{xfel.pdf}\n') gfile.write(' \\end{figure}\n\n') gfile.write(' \\vspace{0mm}\n') gfile.write(' \\Large \\textbf{{Detector group}}\n\n') diff --git a/cal_tools/cal_tools/xfel.jpg b/cal_tools/cal_tools/xfel.jpg deleted file mode 100644 index 9122aa8e72fb858f5e9f7753f35a488d98d30876..0000000000000000000000000000000000000000 Binary files a/cal_tools/cal_tools/xfel.jpg and /dev/null differ diff --git a/cal_tools/cal_tools/xfel.pdf b/cal_tools/cal_tools/xfel.pdf new file mode 100644 index 0000000000000000000000000000000000000000..b78a8a6e5500b21fc602696785110cff81c03bff Binary files /dev/null and b/cal_tools/cal_tools/xfel.pdf differ