[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: [DSSSL Stylesheets] bugs and vertical spacing changes
Norman Walsh <ndw@nwalsh.com> writes: > / Adam Di Carlo <adam@onshore.com> was heard to say: > [...] > | ;; hack > | (element (itemizedlist listitem para) > | (if (first-sibling?) > | (make paragraph > | space-after: %para-sep% > | start-indent: (if (member (current-node) (outer-parent-list)) > | %body-start-indent% > | (inherited-start-indent)) > | (process-children-trim)) > | ($paragraph$))) > What purpose does this self-described hack serve? Dealing with > listitem content is very irksome and I'm not anxious to make it > even more complicated if it isn't necessary. There is a phenomenal amount of vertical whitespace which occurs at the head of itemizedlists. My diagnosis was that the </para> <itemizedlist><listitem><para> element nesting was causing all that extra vertical whitespace. So what I'm doing here is just suppressing the space-before whitespace for para items which occur in this context. -- .....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC