flinventory 0.6.1__tar.gz → 0.6.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flinventory-0.6.1 → flinventory-0.6.2}/PKG-INFO +1 -1
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/signprinter_latex.py +10 -2
- {flinventory-0.6.1 → flinventory-0.6.2}/pyproject.toml +1 -1
- {flinventory-0.6.1 → flinventory-0.6.2}/LICENSE +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/README.md +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/__init__.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/__main__.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/box.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/constant.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/datacleanup.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/defaulted_data.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/generate_labels.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/inventory_io.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/location.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/sign.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thing.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/.gitignore +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/dummyImage.jpg +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/sign.tex +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/signlist-footer.tex +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/signlist-header.tex +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/flinventory/thingtemplate_latex/signs-example.tex +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/tests/__init__.py +0 -0
- {flinventory-0.6.1 → flinventory-0.6.2}/tests/test_defaulted_data.py +0 -0
@@ -23,6 +23,14 @@ TEMPLATE_POST = "signlist-footer.tex"
|
|
23
23
|
TEMPLATE_SIGN = "sign.tex"
|
24
24
|
DUMMY_IMAGE = "dummyImage.jpg"
|
25
25
|
AUX_DIR = "latexAux"
|
26
|
+
LATEXMK_OPTIONS = [
|
27
|
+
"latexmk",
|
28
|
+
f"-aux-directory={AUX_DIR}",
|
29
|
+
"-pdf",
|
30
|
+
"-interaction=nonstopmode",
|
31
|
+
"-f",
|
32
|
+
]
|
33
|
+
# only the tex file needs to be added to the list
|
26
34
|
|
27
35
|
UNIT = "cm" # todo: replace by length_unit in options, includes scaling the constants
|
28
36
|
# estimated by one example word
|
@@ -481,7 +489,7 @@ class SignPrinterLaTeX:
|
|
481
489
|
"""Create a pdf and latex files with signs."""
|
482
490
|
self.save_signs_latex(things)
|
483
491
|
latex = subprocess.run(
|
484
|
-
[
|
492
|
+
LATEXMK_OPTIONS + [self.signs_file],
|
485
493
|
cwd=self.output_dir,
|
486
494
|
capture_output=True,
|
487
495
|
text=True,
|
@@ -522,7 +530,7 @@ class SignPrinterLaTeX:
|
|
522
530
|
with open(path_tex, mode="w") as file_tex_f:
|
523
531
|
file_tex_f.write(tex)
|
524
532
|
latex = subprocess.run(
|
525
|
-
[
|
533
|
+
LATEXMK_OPTIONS + [file_tex],
|
526
534
|
cwd=self.output_dir,
|
527
535
|
capture_output=True,
|
528
536
|
text=True,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|