bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inconsistent space after raw regions


From: Quinn Grier
Subject: Re: Inconsistent space after raw regions
Date: Wed, 7 Oct 2015 17:59:08 -0500
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 2015-10-07 10:43, Gavin Smith wrote:
So here's another thing to consider. Whether the final word of an
@html block is adjoined to the following word also depends on what
came *before* the @html block:

@html
foo
@end html
bar

bas
@html
foo
@end html
bar

This produces:

foo<p>bar
</p>
<p>bas
foobar
</p>

In the first example, the "bar" line starts a paragraph, in the second
example, it is already inside a paragraph, so doesn't.

Is consistency with @inlineraw also a consideration? It seems to be more
friendly with paragraphs:

      @inlineraw{html, foo}
      bar

produces

      <p>foo
      bar
      </p>

and even the @inlineraw by itself gives a <p> element. One might expect
that a raw block is interchangeable with an @inlineraw command with the
block body as its argument and with added whitespace, similar to how the
manual states that @inlinefmt{html, x} "is nearly equivalent to" @ifhtml
"except that no whitespace is added".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]