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: Gavin Smith
Subject: Re: Inconsistent space after raw regions
Date: Mon, 5 Oct 2015 19:25:02 +0100

On 5 October 2015 at 17:23, Quinn Grier <address@hidden> wrote:
> There is inconsistent space inserted after the raw formatter regions.
> Try the following:
>
>       \input texinfo
>       @setfilename test.info
>       @settitle test
>       foo
>       @html
>       bar
>       @end html
>       @tex
>       bar
>       @end tex
>       baz
>       @bye
>
> This gives "foo barbaz" when translated to HTML but "foo bar baz" when
> translated to TeX with Texinfo 6.0, 5.2, and 4.13. It's unclear if this
> would be considered a bug, but it's something that I found surprising.

Thanks for the report.

I found that you could avoid a space by using the inline formatting
commands, e.g.:

address@hidden,address@hidden,bar}baz

produces the text "foobarbaz" with TeX.

The manual notes, in node (texinfo)Raw Formatter Commands, that "The
behavior of newlines in raw regions is unspecified."

Any thoughts which one is the best? I'd expect it to be more common
for the space to be wanted than unwanted.



reply via email to

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