Re: [Groff] Heirloom TBL problem

2015-06-19 Thread carsten . kunze
Hi Ralph, > groff_mm(7): > > PGFORM [linelength [pagelength [pageoffset [1 thank you! If one *uses* heirlooms -mm macros and *really* needs that feature it could be added. Otherwise I would agree with Tadziu that initially setting W should be sufficient. The -ms macros had register

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Tadziu Hoffmann
> [...] though I think that was accidental and thus a bug. https://xkcd.com/1172/ :-)

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Ralph Corderoy
Hi Tadziu, > You might even want to keep a copy of the macros with the document, to > avoid possible surprises in case the systemwide macros get updated and > this results in different formatting. As with the 1.17.2 to 1.18 change, though I think that was accidental and thus a bug. https://b

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Tadziu Hoffmann
> PGFORM [linelength [pagelength [pageoffset [1 Yes, but that's for the GNU version of mm. I don't think the original AT&T macros had a corresponding request. One could theoretically delve into the mm code to see how the various parts are initialized from the registers set on the comman

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Ralph Corderoy
Hi Carsten, > IMHO it is not expected that .ll is compatible with the -mm macros. > These macros often set .ll from register W or other internal > registers. It looks to me that -mm doesn't support changing the line > length inside the document. Are there -mm experts who know the > suggested way

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Tadziu Hoffmann
> I'd prefer it to be changed to work as expected rather than > have to employ secret internal steps. Then use the -rW command line option. This is the way the designers of mm intended the text width to be set (instead of using troff internals such as .ll), and it's clearly documented (so it's n

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread carsten . kunze
Blake McBride wrote: > I'd prefer it to be changed to work as expected rather than have to employ > secret internal steps. IMHO it is not expected that .ll is compatible with the -mm macros. These macros often set .ll from register W or other internal registers. It looks to me that -mm doesn

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Blake McBride
I'd prefer it to be changed to work as expected rather than have to employ secret internal steps. Thanks. Blake On Jun 19, 2015 5:42 AM, "Tadziu Hoffmann" wrote: > > > The "expand" option works correctly (as expected) on groff, > > but when using Heirloom _with_ MM, it doesn't fully expand. > >

Re: [Groff] Heirloom TBL problem

2015-06-19 Thread Tadziu Hoffmann
> 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 cou