fix Scribble rendering problem with 'aux tables hidden within compound paragraphs (so some inherited-method tables didn't appear in the GUI docs)
svn: r17940
This commit is contained in:
parent
e02335e425
commit
db1533fa78
|
@ -426,20 +426,19 @@
|
|||
d ri top (if (part-style? d 'no-toc) "tocview" "tocsub")
|
||||
sub-parts-on-other-page?)
|
||||
,@(parameterize ([extra-breaking? #t])
|
||||
(append-map
|
||||
(lambda (t)
|
||||
(let loop ([t t])
|
||||
(if (table? t)
|
||||
(render-table t d ri #f)
|
||||
(loop (delayed-block-blocks t ri)))))
|
||||
(filter (lambda (e)
|
||||
(let loop ([e e])
|
||||
(or (and (table? e)
|
||||
(memq 'aux (style-properties (table-style e)))
|
||||
(pair? (table-blockss e)))
|
||||
(and (delayed-block? e)
|
||||
(loop (delayed-block-blocks e ri))))))
|
||||
(part-blocks d)))))))
|
||||
(append-map (lambda (e)
|
||||
(let loop ([e e])
|
||||
(cond
|
||||
[(and (table? e)
|
||||
(memq 'aux (style-properties (table-style e)))
|
||||
(pair? (table-blockss e)))
|
||||
(render-table e d ri #f)]
|
||||
[(delayed-block? e)
|
||||
(loop (delayed-block-blocks e ri))]
|
||||
[(compound-paragraph? e)
|
||||
(append-map loop (compound-paragraph-blocks e))]
|
||||
[else null])))
|
||||
(part-blocks d))))))
|
||||
|
||||
(define/public (get-onthispage-label)
|
||||
null)
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
(let loop ([supers start][accum null])
|
||||
(cond
|
||||
[(null? supers) (reverse accum)]
|
||||
[(memq (car supers) accum)
|
||||
[(assoc (caar supers) accum)
|
||||
(loop (cdr supers) accum)]
|
||||
[else
|
||||
(let ([super (car supers)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user