Add word counting script + call it in .latexmkrc

This commit is contained in:
2026-09-11 11:26:53 +02:00
parent e4f8de5fa5
commit 0d4c0fb3c9
2 changed files with 16 additions and 0 deletions
+3
View File
@@ -6,6 +6,9 @@ $aux_dir = ".aux";
$bibtex = "biber %O %S";
$pdf_previewer = "zathura %O %S";
# Count words after compiling the full thing
$success_cmd = 'if [ %R = thesis ]; then ./wordcount.sh; fi';
# Create minted output path
use File::Path qw(make_path);
make_path("$aux_dir/_minted");