[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Heirloom TBL problem
From: |
Tadziu Hoffmann |
Subject: |
Re: [Groff] Heirloom TBL problem |
Date: |
Fri, 19 Jun 2015 11:42:13 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
> The "expand" option works correctly (as expected) on groff,
> but when using Heirloom _with_ MM, it doesn't fully expand.
> I think it does without MM.
In the heirloom version of mm the display is processed in
environment 1, which still has the original line length.
To fix your problem, you could replace
.ll 6.5i
with
.ll 6.5i
.ev 1
.ll 6.5i
.ev
However, mm already provides a mechanism to do this
automatically, by setting the register "W" to the
desired width *before* loading the macro package.
I.e., you can either
tbl test.mm |troff -rW6.5i -mm |dpost >test.ps
or, in your manuscript, do
.nr W 6.5i
.so /path/to/mmt
and then run troff simply as
tbl test.mm |troff |dpost >test.ps
(without -mm).