X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/9123398bd03d1e08256bdc97959cf981cc1a5f76..1f50595109c011a2639a3eccf91e40be80461af6:/librarian/pdf.py diff --git a/librarian/pdf.py b/librarian/pdf.py index ead91be..a5c4253 100644 --- a/librarian/pdf.py +++ b/librarian/pdf.py @@ -286,6 +286,9 @@ def transform(wldoc, verbose=False, save_tex=None, save_texml=None, morefloats=N cwd = None os.chdir(temp) + if resources: + os.putenv("TEXINPUTS", "::.:%s" % resources) + if verbose: p = call(['xelatex', tex_path]) else: