aboutsummaryrefslogtreecommitdiff
path: root/latexmkrc
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-14 20:41:10 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-14 20:41:10 +0200
commitc9d4ba22a8b6d0d5fb1062701eda8b1af554d422 (patch)
tree713c0fa3550bd4f7fbb0158a607651f6d95b28fb /latexmkrc
parent26feeb970b5ac98747d5a0321d23be01bbf024f8 (diff)
WIP requirements
Diffstat (limited to 'latexmkrc')
-rw-r--r--latexmkrc8
1 files changed, 6 insertions, 2 deletions
diff --git a/latexmkrc b/latexmkrc
index 293cf09..2ce20fa 100644
--- a/latexmkrc
+++ b/latexmkrc
@@ -14,7 +14,6 @@ $clean_ext .= ' %R.ist %R.xdy bbl run.xml';
push @file_not_found, '^Package .* No file `([^\\\']*)\\\'';
push @generated_exts, 'glo', 'gls', 'glg';
-
add_cus_dep('aux', 'glstex', 0, 'bib2gls');
sub bib2gls {
return system "bib2gls '$_[0]'";
@@ -27,6 +26,11 @@ sub plantuml {
add_cus_dep('txt', 'tex', 0, 'time2tex');
sub time2tex {
- return system "./time2tex.py '$_[0].txt' > '$_[0].tex'";
+ return system "python3 time2tex.py '$_[0].txt'";
+}
+
+add_cus_dep('toml', 'tex', 0, 'reqs2tex');
+sub reqs2tex {
+ return system "python3 reqs2tex.py '$_[0].toml'";
}