Subject: Re: [Boost-docs] Quickbook block element
From: Daniel James (dnljms_at_[hidden])
Date: 2011-10-22 09:06:37
>> Joel de Guzman
>>
>> Nod. This concept of blocks and phrases is all historical. The need arose (IIRC) from constraining
> the
>> grammar to not allow HTML 'phrase' markups (Qbk started as a tool that generated html) such as
> <EM>
>> contain 'block' markups such as <P>. I somehow agree with Steven that the distinction is quite
> fragile and
>> should be reviewed.
You still need to do that in docbook. For one example, I had to change
the way paragraphs are generated to stop quickbook from wrapping block
templates with paragraphs.
Also, you and Steven are probably talking about different things, the
way the grammar used to be and the way it is now. I've rearranged it
so that the distinction isn't so pervasive. It's pretty messy at the
moment, I do want to try to clean it up a little. Although that isn't
easy to do without breaking everything.
On 22 October 2011 09:10, Paul A. Bristow <pbristow_at_[hidden]> wrote:
>
> As a user, I have never permanently got my head around the difference, and have fallen foul of the
> need for a newline.
>
> It seems most undesirable.
That's been fixed. Newlines after block markup have been optional
since 1.46 (Sorry, I forgot to mention that in the change log, it's
was part of 'Rearrange the structure of the grammar').
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC