diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-17 14:59:17 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-17 14:59:17 +0200 |
commit | 5aba97da07413c498871c5da4ce8d0f2427ffc69 (patch) | |
tree | 4091b033508931616c91dc43ffe49cf4cb284c68 | |
parent | 26c860fc5018b20aac301ebc297db6ed3887b967 (diff) |
fix latexmkrc
-rw-r--r-- | latexmkrc | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -18,25 +18,23 @@ 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]'"; + return Run_msg("bib2gls $_[0]"); } add_cus_dep('puml', 'eps', 0, 'plantuml'); sub plantuml { - return system "plantuml -teps '$_[0].puml'"; + return Run_msg("plantuml -teps $_[0].puml"); } add_cus_dep('txt', 'tex', 0, 'time2tex'); sub time2tex { - my $script = catfile("scripts", "time2tex.py"); - return system "python3 $script '$_[0].txt'"; + return Run_msg("python3 @{[catfile('scripts', 'time2tex.py')]} $_[0].txt"); } add_cus_dep('toml', 'tex', 0, 'reqs2tex'); add_cus_dep('toml', 'aux', 0, 'reqs2tex'); sub reqs2tex { - my $script = catfile("scripts", "reqs2tex.py"); - return system "python3 $script '$_[0].toml'"; + return Run_msg("python3 @{[catfile('scripts', 'reqs2tex.py')]} $_[0].toml"); } # vim:ft=perl |