From eb4c69b27532fdda64b76f9f3305fe405c55d377 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Fri, 17 Oct 2025 07:40:33 +1100 Subject: split on , --- latexfmt.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/latexfmt.hs b/latexfmt.hs index 6c070fc..2d0dd74 100644 --- a/latexfmt.hs +++ b/latexfmt.hs @@ -32,6 +32,7 @@ toStr (Wrd w) = do else print w when (w == "(") suppress when (T.last w == '.') printnl + when (T.last w == ',') printnl toStr (Cmd c) = if T.length c > 0 && isCtrl (T.head c) || T.length c == 1 then print' $ "\\" `T.append` c -- cgit v1.2.3