no luck doing logic in latex -- table is broken down in redundant xslt
[librarian.git] / librarian / pdf.py
index ead91be..a5c4253 100644 (file)
@@ -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: