Hi Everyone,

Just a thought. I was looking at the code for this today and I think it's not something I'd know how to fix. Anyway...

I wonder why it is that paragraphs inside a -ms .RS/.RE block get turned into a table by grohtml.

The same happens with .IP. (maybe other requests too.)

Wouldn't it be better if a <div> were generated with an indentation? And an unordered list for .IPs?

For example...


.RS
.IP \(bu
sun is shining
.IP \(bu
the weather is sweet
.IP \(bu
make you wanna move
.IP \(bu
your dancin' feet
.RE

...would produce...

<div style="margin-left: +2cm">
  <ul style="list-style: none">
    <li>&bull; sun is shining</li>
    <li>&bull; the weather is sweet</li>
    <li>&bull; make you wanna move</li>
    <li>&bull; your dancin' feet</li>
  </ul>
</div>


The only issue I see is, "how do you know where to put the </ul>?". Probably on processing the next paragraph-like request.

In my opinion, using tables for lists and indents seems clunky and doesn't really look so good in the context of a web browser. It also makes the HTML hard to read for debugging...

Louis



_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to