From e0cbe65d9bad9d9a3e23cbdb767c653cb424c601 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 27 Jun 2024 00:23:07 +0100 Subject: [PATCH] ;tools: Shake txtmanuals: silence all but wide table warnings --- Shake.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Shake.hs b/Shake.hs index 0c1a5efee..583103a7a 100755 --- a/Shake.hs +++ b/Shake.hs @@ -463,7 +463,10 @@ main = do -- remove with col -b, but it doesn't as can be seen with groff -V.) -- To get plain text, we run groff's lower-level commands (from -V) and add -cbuo. -- -Wall silences most troff warnings, remove to see them - cmd Shell "tbl" src "| eqn -Tascii | troff -Wall -mandoc -Tascii | grotty -cbuo >" out + -- XXX eqn complains on nonascii chars, not needed ? + -- cmd Shell "tbl" src "| eqn -Tascii | troff -Wall -mandoc -Tascii | grotty -cbuo >" out + -- XXX how to silence wide table warnings (generated by tbl, reported by troff) ? + cmd Shell "tbl" src "| troff -Wall -mandoc -Tascii | grotty -cbuo >" out -- Generate Info manuals suitable for viewing with info, from the .m4.md source. infomanuals |%> \out -> do -- hledger/hledger.info