fix typesetting for empty reduction relations
closes PR 13346
This commit is contained in:
parent
79e10348b3
commit
7611e295f4
|
@ -234,16 +234,20 @@
|
|||
(rule-pict-rhs rp)
|
||||
(rp->side-condition-pict rp +inf.0)))]
|
||||
[multi-line-spacer
|
||||
(if (null? rps)
|
||||
(blank)
|
||||
(ghost
|
||||
(launder
|
||||
(ctl-superimpose
|
||||
(apply ctl-superimpose (map mk-top-line-spacer rps))
|
||||
(apply ctl-superimpose (map mk-bot-line-spacer rps)))))]
|
||||
(apply ctl-superimpose (map mk-bot-line-spacer rps))))))]
|
||||
[spacer (dc void
|
||||
(pict-width multi-line-spacer)
|
||||
(pict-descent multi-line-spacer) ;; probably could be zero ...
|
||||
0
|
||||
(pict-descent multi-line-spacer))])
|
||||
(if (null? rps)
|
||||
(blank)
|
||||
(apply
|
||||
vl-append
|
||||
(add-between
|
||||
|
@ -260,7 +264,7 @@
|
|||
(rp->pict-label rp)))
|
||||
(rule-pict-rhs rp))
|
||||
(rp->side-condition-pict rp +inf.0)))
|
||||
rps)))))
|
||||
rps))))))
|
||||
|
||||
(define compact-vertical-min-width (make-parameter 0))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user