David Abrahams wrote:
> Joel de Guzman <[EMAIL PROTECTED]> writes:
> 
>> David Abrahams wrote:
>>>   If the matching markup cannot be found within a line, the formatting
>>>   will not be applied. This is to ensure that un-matched formatting
>>>   markups, which can be a common mistake, does not corrupt anything
>>>   past a single line. We do not want the rest of the document to be
>>>   rendered bold just because we forgot a trailing '*'.
>>>
>>> I think that rule is needlessly strict.  Simple markup could (should)
>>> end by the end of a block (so only one-paragraph documents would have
>>> the above problem), and anyway quickbook ought to issue a syntax error
>>> if you fail to close your simple markup.  Also a good syntax
>>> highligher will show you when you don't have the closing delimiter in
>>> place.
>> I'm not sure. It will make it more complicated to support text like
>> the one in the More Formatting Samples (example 7):
>>
>>      3*4*5 = 60 (no bold)
>>
>> inside blocks like lists and tables. 
> 
> I don't buy it.  There's no punctuation or space surrounding those *s,
> so they shouldn't be bold.
> 
>> The tendency is to gobble up
>> everything. 
> 
> I don't know what you mean.
> 
>> I'm wary of giving the simple-markups more power than
>> they already have. It's too adhoc(**). After all, you also have the
>> more behaved and nestable style markups.
> 
> The problem is that it interacts badly with line wrapping.  If I start
> some bold text and then my line gets long or my paragraph gets
> reflowed, I can easily end up with a newline in my simple markup,
> breaking something that used to work.

Ok, I'll investigate further and see what I can do. I actually
tried it and got 2 regressions. I'll see if I can work around
those.

Regards,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to