bug-texinfo
[Top][All Lists]
Advanced

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

Re: HTML Output for @table and @multitable


From: Gavin Smith
Subject: Re: HTML Output for @table and @multitable
Date: Fri, 21 Nov 2014 20:05:57 +0000

On Thu, Nov 20, 2014 at 5:20 AM, Mahlon <address@hidden> wrote:
> Without the application of CSS style, the HTML output for both @table and
> @multitable could be considered unacceptable for two reasons:
>
> 1) the formatting of the HTML output is rather embarrassing, and
>
> 2) it doesn't much resemble the 'info' output, neither in line spacing nor
> in column spacing
>
> Both of these issues can be corrected with CSS style alone, but you might
> consider what could be done inside the texi-to-HTML converter.
>
I'm not sure if there is a problem here, after all in absence of CSS
the appearance of the page depends on the program (web browser) you
are using to view it.

Both the output for @table and @multitable appear to me to be
straightforward uses of HTML tags expressing the meaning of the
Texinfo source. Are there other tags that could be used instead, or do
you think there should be sensible CSS defaults?

@table output:

<dl compact="compact">
<dt>&lsquo;<samp>for</samp>&rsquo;</dt>
<dt>&lsquo;<samp>while</samp>&rsquo;</dt>
<dd><p>loop while the condition evaluates to &rsquo;true&rsquo;
</p></dd>
<dt>&lsquo;<samp>if</samp>&rsquo;</dt>
<dd><p>execute once if the condition evaluates to &rsquo;true&rsquo;
</p></dd>
</dl>

@multitable output:

<table>
<thead><tr><th>Animal</th><th>Cohort</th><th>Example Sentence</th></tr></thead>
<tr><td>cow</td><td>Placental</td><td>The cow jumped over the fence.</td></tr>
<tr><td>horse</td><td>Placental</td><td>The horse eats flowers and
grass.</td></tr>
<tr><td>wombat</td><td>Marsupial</td><td>The wonderful wombat
can&rsquo;t jump, but seems quite happy!</td></tr>
</table>



reply via email to

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