1 Sep 2004 04:38
Re: Notation for continued paragraphs?
David Abrahams <dave <at> boost-consulting.com>
2004-09-01 02:38:23 GMT
2004-09-01 02:38:23 GMT
David Goodger <goodger <at> python.org> writes: > [David Abrahams] > > it strikes me as a deficiency in ReST that I can't express what I > > mean. > > The Docutils document model is designed to be relatively simple. It > is not meant to be as all-inclusive as DocBook. Just compare the > lengths of their DTDs.(Continue reading)> > My opinion is that paragraphs are simple block elements, not compound > block elements [*]_. The Docutils document model reflects that. > DocBook allows them, but DocBook allows a lot of things which Docutils > doesn't, and never will. IMO, allowing mixed text and block-level > elements is asking for trouble. You already allow nested block structures: * foo bar .. parsed-literal:: baz * mumble With a little effort I know I could think of more. > The concept of "compound paragraphs" > is at a higher level than what the Docutils document model is designed
>
> My opinion is that paragraphs are simple block elements, not compound
> block elements [*]_. The Docutils document model reflects that.
> DocBook allows them, but DocBook allows a lot of things which Docutils
> doesn't, and never will. IMO, allowing mixed text and block-level
> elements is asking for trouble.
You already allow nested block structures:
* foo bar
.. parsed-literal::
baz
* mumble
With a little effort I know I could think of more.
> The concept of "compound paragraphs"
> is at a higher level than what the Docutils document model is designed
).
What I proposed was a new 'compound' element, containing only
block-level elements but suggesting that they belong together.
RSS Feed