From: SourceForge.net <no...@so...> - 2005-06-11 18:57:23
|
Bugs item #444794, was opened at 2001-07-26 15:49 Message generated for change (Settings changed) made by petere78 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=444794&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DocBook DSSSL >Group: All output formats Status: Open Resolution: None Priority: 5 Submitted By: Yann Dirson (ydirson) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong handling of nested itemizedlists Initial Comment: The following SGML construct is wrongly rendered: <ItemizedList> <ListItem> <ItemizedList><title>Conseil</title> <ListItem> <Para>item</Para> </ListItem> <ListItem> <Para>item</Para> </ListItem> </ItemizedList> </ListItem> </ItemizedList> The bullet for the outer list is alone on his line, and the title of the inner list is on the following line. I could get a better result using the following customization, but I believe my redefinition of $list$ is not completely correct. ;; ;; Don't start a block element for itemizedlist title just inside ;; a listitem, so that it looks correct ;; (element (listitem itemizedlist title) (make sequence use: title-style (process-children))) ;; put the title itself outside the displaygroup for the same reason (define ($list$) (make sequence (process-node-list (select-elements (children (current-node)) (normalize "title"))) (make display-group start-indent: (if (INBLOCK?) (inherited-start-indent) (+ %block-start-indent% (inherited-start-indent))) space-after: (if (INLIST?) %para-sep% %block-sep%) (process-node-list (node-list-filter-by-not-gi (children (current-node)) (list (normalize "title"))))))) ---------------------------------------------------------------------- Comment By: Yann Dirson (ydirson) Date: 2001-08-10 13:33 Message: Logged In: YES user_id=38086 My patch does no handle nested orderedlists, which suffer the same problem. This also occurs within HTML output. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=444794&group_id=21935 |