> Which is incorrect syntax, see 
> http://www.methods.co.nz/asciidoc/userguide.html#X42 "A BlockTitle is 
> applied to the immediately following Paragraph..." so having two block 
> titles in a row is undefined.
>
 

> There is no "expected" behaviour for undefined syntax.  Asciidoc is not a 
> compiler, it does not validate that input matches a specific layout and 
> very few such "invalid" inputs have warnings.  Asciidoc is a loose 
> configuration guided text markup translator and can even produce invalid 
> output (see 
> http://www.methods.co.nz/asciidoc/faq.html#_asciidoc_sometimes_generates_invalid_output_markup_why
> ).
>

I understand it is incorrect syntax.  I would presume the tool should 
notify the user if they make a mistake, and not just drop a title.

I'm not expecting AsciiDoc to be a type-checking compiler, but from using 
typesetting languages like LaTeX, I expect warnings/errors when the tool 
detects bad user input.

Is it that difficult to detect "block title" followed by "block title" and 
issue a warning to the user?

Payton

-- 
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.


Reply via email to