groff
[Top][All Lists]
Advanced

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

[Groff] grohtml and indentation


From: Louis Guillaume
Subject: [Groff] grohtml and indentation
Date: Thu, 17 Aug 2006 19:09:47 -0400
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

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





reply via email to

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