bug-texinfo
[Top][All Lists]
Advanced

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

Re: (1) Indentation and (2) Vertical Spacing following @displaymath and


From: Gavin Smith
Subject: Re: (1) Indentation and (2) Vertical Spacing following @displaymath and @enumerate
Date: Fri, 13 Nov 2020 21:22:33 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Fri, Nov 13, 2020 at 05:34:03PM +0100, Christopher Dimech wrote:
> In addition, the @enumerate expression puts items too close together
> in html output (i.e. requires a larger vertical spacing between items).
> 
> @enumerate
>   @item
>      @math{v(t)} is continuous on the closed interval @math{[t_a,t_b]}.
>   @item
>      @math{v(t)} is differentiable on the open interval @math{(t_a,t_b)}.
> @end enumerate

(switching to bug-texinfo for a larger audience)

You can't say that they are too close together: that's just your
opinion.  The current spacing for the HTML output for @enumerate as
displayed in web browsers may be desirable in many cases.

The exact vertical spacing of the HTML output depends on the web
browser but it appears to be related to whether there are paragraphs
or not:

\input texinfo
@settitle Manual

@node Topx
@top Manual

@enumerate
@item One
@item Two
@item Two

Three
@item Four 
@end enumerate

@bye

This is output as

<ol>
<li> One
</li><li> Two
</li><li> Two

<p>Three
</p></li><li> Four
</li></ol>

Here the Three line is output in its own paragraph which affects the spacing
above and below it.

I'm not sure if it's correct or not, but the spacing of the existing output
could probably be changed with CSS.




reply via email to

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