[latexrefman-commits] [SCM] latexrefman updated: r1135 - trunk

Vincent Bela?che INVALID.NOREPLY at gnu.org.ua
Tue Aug 30 05:18:59 CEST 2022


Author: vincentb1
Date: 2022-08-30 03:18:59 +0000 (Tue, 30 Aug 2022)
New Revision: 1135

Modified:
   trunk/Makefile.1
Log:
Preserve line numbering in dw output.



Modified: trunk/Makefile.1
===================================================================
--- trunk/Makefile.1	2022-08-29 15:42:48 UTC (rev 1134)
+++ trunk/Makefile.1	2022-08-30 03:18:59 UTC (rev 1135)
@@ -346,7 +346,7 @@
 define _1
 .PHONY: check-dw-$(1)
 check-dw-$(1): $($(1)_manual).texi
-	grep -v '^@item' $$< | dw
+	awk 'BEGIN { ignore=0 }; /^@item/ {ignore=1}; ignore { print}; !ignore { print $$$$0}; {ignore=0}' $$< | dw
 
 endef
 $(eval $(foreach LANG,$(languages),$(call _1,$(LANG))))



More information about the latexrefman-commits mailing list.