Re: The beauty of LATEX

Joel de Guzman <[email protected]>
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <[email protected]>
On 10/25/2011 6:02 PM, Daniel James wrote:
> On 25 October 2011 00:43, Joel de Guzman <[email protected]> wrote:
>>
>> Currently, the wiki processor detects two newlines as a paragraph.
>> I think it should be more smarter than that.
> 
> It is smarter than that nowadays. The way it works is that it when it
> comes across phrase content it collects it in the phrase collector
> (without starting a paragraph). Then whenever it comes across either
> two newlines, a block element or the end of a file/template, it checks
> to see if the phrase collector contains anything, and if it does it
> wraps it up in a paragraph and writes that to the output. This allows
> it to deal with various markup issues that it used to get wrong, so
> that block content is no longer nested within paragraphs.

Smart! :)

Regards,
-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.