From abd3a23486fb17f964752002ca0c97b1868fd3ee Mon Sep 17 00:00:00 2001 From: Cedric Date: Thu, 26 Dec 2024 16:48:04 +0000 Subject: [PATCH] WIP spell checking --- book/makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/book/makefile b/book/makefile index c4fa21b..ce3b303 100644 --- a/book/makefile +++ b/book/makefile @@ -203,13 +203,17 @@ export_figures: build_pdf $(tgt_figures) # Goal is not really to have 0 warning reported but we should check we don't # add many and if we do, we know they are false positive -check: $(SRC_TEX) +check: tex-check spell-check + +tex-check: $(SRC_TEX) @echo "Running: " $(CHECK_1) $(CHECK_1) book.tex @echo "" @echo "Running: " $(CHECK_2) $(CHECK_2) book.tex +spell-check: $(SRC_TEX) + # cat $(git ls-files '*.tex')|sed 's/\\[a-z{}]\+//g'|hunspell-en_US|sort -f|uniq -i|grep -v '^[0-9]' # Clean up and delete generated files .PHONY: clean_figures clean_ebook_build clean_website_build clean mrproper