I can tell that you that's exactly "to spec" as far as I understand the AsciiDoc syntax rules. "Graph of bugs?" isn't get reordered, per se, but rather it is orphaned until it finds a block element to which it applies. A block title cannot be associated with a section title, so logically it continues on to the next paragraph.
...now, should there be a warning for this scenario? I think it's probably worth having debug output, at least, to indicate a title has been orphaned...and also that one title is superseding another title. My advice is that if you do file an issue, focus on requesting debugging (or perhaps info-level) output. -Dan On Sat, Apr 6, 2013 at 7:33 PM, Lex Trotman <[email protected]> wrote: > > > > On 7 April 2013 02:24, <[email protected]> wrote: > >> I'm new to AsciiDoc, but I've found what I consider a bug. >> >> In this case, the 2 block titles don't have a paragraph directly below >> them, so the first (Treemap) is getting dropped from the output, and the >> second (Graph) is getting reordered below the "Issues" title. >> >> If it's expected behavior (which I hope not), AsciiDoc should print a >> warning that the Treemap text was dropped, and that the Graph text was >> reordered. >> >> I ran via "asciidoc -o bug.html bug.txt" >> >> Thanks, >> >> Payton >> >> [----snip file below----] >> >> Presentation >> ------------ >> >> .Treemap, Heat Map >> .Graph of bugs? >> > > Why do you have two paragraph titles without any paragraph until the > "First issue paragraph" one below? The second one overrides the first. > Did you perhaps mean autonumbered list entries, in which case there is a > space after the dot. > > Cheers > Lex > > > >> >> Issues >> ~~~~~~ >> >> First issue paragraph. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "asciidoc" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/asciidoc?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Dan Allen Principal Software Engineer, Red Hat | Author of Seam in Action Registered Linux User #231597 http://google.com/profiles/dan.j.allen http://mojavelinux.com http://mojavelinux.com/seaminaction -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
