From f273a14e8e7c423d7ae493b66e2b9c2c3fef4e73 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 26 Jan 2026 14:49:55 -0500 Subject: [PATCH] GNUmakefile: use .chktexrc from mjotex by default This will make life a lot easier in the 95% of documents that don't need custom checks. --- GNUmakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 4d21cd4..a3faa2f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -201,9 +201,10 @@ sage_listings/%.py: sage_listings/%.listing check-boxes: $(BUILDDIR)/$(PN).log @! grep -i 'overfull\|underfull' $< -# Run chktex to find silly mistakes. +# Run chktex to find silly mistakes. This uses the .chktexrc from +# mjotex unless you change it. .PHONY: check-chktex -CHKTEX = chktex --localrc .chktexrc --quiet --inputfiles=0 --headererr +CHKTEX = chktex --localrc $(shell kpsewhich .chktexrc) --quiet --inputfiles=0 --headererr check-chktex: $(CHKTEX) $(PN).tex -- 2.51.0