aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--latexfmt.hs1
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