From: Michael Orlitzky Date: Mon, 26 Jan 2026 19:49:55 +0000 (-0500) Subject: GNUmakefile: use .chktexrc from mjotex by default X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f273a14e8e7c423d7ae493b66e2b9c2c3fef4e73;p=mjotex.git 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. --- 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