groff
[Top][All Lists]
Advanced

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

[Groff] new grohtml patches


From: Gaius Mulley
Subject: [Groff] new grohtml patches
Date: 31 Oct 2003 18:38:57 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2


Hi Werner and groffians,

here are some patches which fix a number of grohtml bugs.
At the user level the patches provide:

  + much improved horizontal alignment.
    This results in much neater manual page rendering imho..
  + added the new .HEAD macro in www.tmac which allows users
    to specify style sheets.
    See doc/webpage.ms for an example. Also supplied is a trivial
    style sheet for the web page.

"Under the hood" the patches implement the Lemberg[1] algorithm for
preserving the troff state in diversions (many thanks Werner!).  This
information is passed through to post-grohtml which then accurately (I
hope..) understands how troff is formating the document. As a result
less html specific modifications are required inside macro files.

   There is still an obvious bug in the vertical alignment in that
spaces are present in between each table row and to paraphrase
Dijkstra at least several bugs that I'm unaware of :-)

The patches should apply cleanly to the current CVS.
Hope they prove useful..

Gaius

1. As discussed in March/April 2003

Attachment: mypatch.gz
Description: patches compressed

Attachment: newfiles.tar.gz
Description: new files compressed


reply via email to

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