On Thu, May 23, 2013 at 7:38 PM, Lex Trotman <[email protected]> wrote:

>
>
>
> On 24 May 2013 11:11, Dan Allen <[email protected]> wrote:
>
>> Ah, I think I understand what's going on now.
>>
>> As Lex mentioned, when you omit the title, it's still making an example
>> block, it's just not getting labeled as an example block (so it might
>> appear like it's just a regular paragraph). If you look at the source code
>> generated, you'll see it does use an example element variant in both cases.
>>
>
> Well, to be exact its making an <informalexample> entity if there is no
> title.  If I read the docbook schema right <example> must have a <title>,
> <informalexample> must not have a <title>.  Hence the distinction.  An
> example without a title is illegal docbook and should make xmllint complain.
>

Yep. That's why I used the term "example element variant". Probably too
subtle, but I meant what you said :)

-Dan

-- 
Dan Allen | http://google.com/profiles/dan.j.allen

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