On 2010-07-25, Nikolaus Rath wrote: > On Mar 7, 7:21 pm, Georg Brandl <[email protected]> wrote: >> Am 07.03.2010 19:00, schrieb Malte Schwerhoff:
>> > Hello Nikolaus, >> > how about the following? >> >> * Bla. >> >> * Bla. >> >> * Bla. >> > According to your examples that should yield the desired paragraphs. >> > "Why do the additional blank lines result in paragraphs?" is probably >> > better asked on the Docutils mailing list ... >> It's not the blank lines -- they are just ignored by docutils. The rule >> is that if one list item is non-trivial (not just a single paragraph), >> all items will be rendered fully. >> This can be controlled by the compact_lists setting in the docutils >> HTML writer, which is currently not exposed in Sphinx. > Is there a way to make a list item non-trivial without adding an > additional paragraph? Or some trick to temporarily change this > compact_lists setting? Not to my knowledge. However, you can style your lists with CSS so that even lists with paragraph-items (or just lists with a special class attribute) are rendered compact. See the "html4css2.css" style sheet of the html_strict writer in Docutils' sandbox. Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.
