Re: transition inside container

David Goodger <[email protected]> Mon, 10 Jun 2019 13:17:19 -0500
Newsgroups gmane.text.docutils.user
Message-ID <CABiJP=+27zE7t45sa1xJtTKv3FPEP4tuMyJtmLXPfEFpqabj3A@mail.gmail.com>
Transitions are structural elements, along with sections & sidebars.
Containers are body elements, which cannot contain structural
elements. See docs/ref/docutils.dtd for complete technical details.

You could simulate a transition with an empty paragraph (escaped space: "\ ").

Compared to Docutils, HTML has a much more permissive, anything-goes,
way-too-loose document model.

David Goodger
<https://david.goodger.org>

On Mon, 10 Jun 2019 at 12:26, Alan Isaac <[email protected]> wrote:
>
> I want to indicate a thematic transition inside a containter.
>
> It seems that transitions (http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#transitions)
> are not allowed inside containers.  Why is that?  (E.g., an HR element can certainly go inside a DIV element
> in an HTML document.)
>
> Thank you,
> Alan Isaac
>
>
> _______________________________________________
> Docutils-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/docutils-users
>
> Please use "Reply All" to reply to the list.