-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fo: missing space after vertical simplelist #31
Comments
Adding space-after attributes to 'normal.para.spacing' could produce undesirable results for some users. The space between two blocks is taken as the maximum of a) the preceding block's space-after and b) the following block's space-before. If the preceding block is an ordinary para and has a space after, then the element that follows it cannot reduce the spacing below that amount with its space-before. The DocBook stylesheets took the design approach to let every element specify its space-before, since that is generally more important design-wise than space-after. Because normal.para.spacing is used in so many places, your case of a simple list within a para should not be used to override this general design principle. |
Consider this example document:
Process it using
The output for the
simplelist
results in a<fo:table>
withspace-before
attributes but nospace-after
attributes, so there is vertical space between "text before" and the list/table, but not vertical space between the list/table and the "text after".I think the resposible attribute set
normal.para.spacing
should also get somespace-after
attributes.The text was updated successfully, but these errors were encountered: