[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1
From: |
Rick Richardson |
Subject: |
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1 |
Date: |
Wed, 19 Dec 2001 08:11:22 -0600 |
User-agent: |
Mutt/1.2.5i |
On Wed, Dec 19, 2001 at 01:31:53AM -0600, Rick Richardson wrote:
> On Tue, Dec 18, 2001 at 01:07:53PM -0600, Rick Richardson wrote:
> > 2) The table image is completely wrong. It looks like a
> > clipping of what on the manual page from about 1" lower.
>
> And the answer to my question is to use this command line with groff
> version 1.17.2:
>
> groff -P-o0 -t -man -Thtml xxx.1 > xxx.html
>
> This gave good results with the test manual page I attached, as well
> as with my full manual page (other than the missing paragraph
> spacing).
>
> Unfortuantely, groff-current (pre 1.18?) as of today cannot be used.
> It creates a real mess of output with lots of horizontal lines
> throughout.
And the answer to this is that box macros like this one don't work with the
current version -- they cause <hr>'s to be emitted. The 1.17.2 version
just ignored the line drawing:
'\"
'\" bx - box a constant width string for making keycaps
'\"
.de bx
.ie n \{\
.RB [ \\$1 ]
.\}
.el \
.ft CW
.nr par*bxw \w'\\$1'+.4m
\Z'\v'.25m'\D'l 0 -1m'\D'l \\n[par*bxw]u 0'\D'l 0 1m'\D'l -\\n[par*bxw]u 0''\
\Z'\h'.2m'\s-1\\$1\s+1'\
\h'\\n[par*bxw]u'
.ft P
.\}
..
--
Rick Richardson address@hidden http://home.mn.rr.com/richardsons/
Twin Cities traffic animations are at http://tctraffic.0catch.com/
The last thing one knows in constructing a work is what to put first.
-- Blaise Pascal
- Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, (continued)
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, Rick Richardson, 2001/12/19
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, Gaius Mulley, 2001/12/19
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, Rick Richardson, 2001/12/19
- Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1,
Rick Richardson <=
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, Gaius Mulley, 2001/12/20
Re: [Groff] Bad table images with groff -t -man -Thtml xxx.1, Gaius Mulley, 2001/12/20