diff options
author | Justin Bedo <cu@cua0.org> | 2025-10-17 07:40:33 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2025-10-17 07:40:33 +1100 |
commit | eb4c69b27532fdda64b76f9f3305fe405c55d377 (patch) | |
tree | 5f2d64ee2a926de2ed375025d931ae89a8bdf371 | |
parent | 750cad1b89f280fc47808b28804f790015b45353 (diff) |
split on ,
-rw-r--r-- | latexfmt.hs | 1 |
1 files changed, 1 insertions, 0 deletions
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 |