From 7c53957cbc7209712f299022751d6bbc82ae9972 Mon Sep 17 00:00:00 2001 From: Ludovic Court`es Date: Thu, 20 Sep 2007 09:37:05 +0000 Subject: eq/lout: Better handle parenthesizing of combinations. * src/guile/skribilo/package/eq/lout.scm (binary-lout-markup-writer): Special-case `eq:combinations'. git-archimport-id: lcourtes@laas.fr--2006-libre/skribilo--devo--1.2--patch-107 --- src/guile/skribilo/package/eq/lout.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/guile/skribilo/package/eq/lout.scm b/src/guile/skribilo/package/eq/lout.scm index 29ce9ac..64bc070 100644 --- a/src/guile/skribilo/package/eq/lout.scm +++ b/src/guile/skribilo/package/eq/lout.scm @@ -215,7 +215,10 @@ (if (= (length body) 2) (let* ((first (car body)) (second (cadr body)) - (parentheses? (equation-markup? first))) + (parentheses? (and (equation-markup? first) + (not + (memq (markup-markup first) + '(eq:combinations)))))) (display " { { ") (if parentheses? (display %left-paren)) (output first engine) -- cgit v1.2.3