Re: [Groff] A trap with 'tbl'!

2011-07-30 Thread Ted Harding
On 30-Jul-11 06:08:55, Heinz-Jürgen Oertel wrote: > Am Samstag 30 Juli 2011 schrieb Deri James: > >> I think this could be because tbl needs to know the max width of each >> column >> before starting to output, so when considering the first column it >> will have to >> examine the width of \*[lm

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Ralph Corderoy
Hi Mike, > As a *roff user since the mid-1970s I am all too aware that to be good > at this you have to know and _understand_ a lot of details about the > document models (as represented by the different macro collections: > man, mm, mom, ms ...) and the fundamental commands, registers, etc. > To

Re: [Groff] A trap with 'tbl'!

2011-07-30 Thread Ralph Corderoy
Hi Ted, > Heinz-Jürgen Oertel wrote: > > As a work around in such cases, we define the number register in the > > first row. This works, but I could imagine a case where the width of the text matters and the preprocessor(s) are causing the register to increment more than once per occurrence, e.g.

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Keith Marshall
On 30/07/11 00:31, Anton Shepelev wrote: > Ralph Corderoy: >> Is it non-standard? I thought the normal way was >> to set up two passes, or more strictly a loop >> until everything settles down into place, as this >> is how TeX does it too IIRC. Not that TeX's way >> of doing anything nec

Re: [Groff] A trap with 'tbl'!

2011-07-30 Thread Ted Harding
On 30-Jul-11 10:35:44, Ralph Corderoy wrote: > Hi Ted, > >> Heinz-Jürgen Oertel wrote: >> > As a work around in such cases, we define the number register in the >> > first row. > > This works, but I could imagine a case where the width of the text > matters and the preprocessor(s) are causing t

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Peter Schaffter
On Sat, Jul 30, 2011, Ralph Corderoy wrote: > simple package like ms (or perhaps mom; I've not used it) The "I haven't used/checked out mom" thing has come up a couple of times in this thread (with respect to introducing groff to novices), which is funny since mom already implements most of the pr

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Ralph Corderoy
Hi Peter, > In other words, mom's already the "front door": a conceptually easy, > flexible set of macros that's perfect for beginners, serves the needs > of the more experienced, and leads naturally to greater exploration of > groff itself. It does sound mighty fine and I've not looked at it clo

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Mike Bianchi
On Sat, Jul 30, 2011 at 01:22:53PM -0400, Peter Schaffter wrote: > The "I haven't used/checked out mom" thing has come up a couple of > times in this thread (with respect to introducing groff to novices), > which is funny since mom already implements most of the proposals > being made, viz: >

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Peter Schaffter
On Sat, Jul 30, 2011, Mike Bianchi wrote: > On Sat, Jul 30, 2011 at 01:22:53PM -0400, Peter Schaffter wrote: > > The "I haven't used/checked out mom" thing has come up a couple of > > times in this thread (with respect to introducing groff to novices), > > which is funny since mom already implement

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Peter Schaffter
Ralph -- On Sat, Jul 30, 2011, Ralph Corderoy wrote: > > In other words, mom's already the "front door": a conceptually easy, > > flexible set of macros that's perfect for beginners, serves the needs > > of the more experienced, and leads naturally to greater exploration of > > groff itself. > >

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Anton
Peter Schaffter: > The "I haven't used/checked out mom" thing has > come up a couple of times in this thread (with > respect to introducing groff to novices), which is > funny since mom already implements most of the > proposals being made, viz: > [...] In my case this was due to lac

Re: [Groff] gropdf and pdfroff

2011-07-30 Thread Ralph Corderoy
Hi Peter, > Terminal copy, via -Tascii or -Tutf8, works with relatively > straightforward documents, but no attempt has been made to support it > fully. That's better than I thought... Given the inherent limitations one can't expect much more. I'll try and move reading about mom up the "list".

[Groff] [patch] Indents in nested static displays in MM

2011-07-30 Thread Anton Shepelev
Hello all, I have found what seems to be a bug in m.tmac. The display-start macro stored the current indent into a register and used its values in the dispaly-end macro. This didn't work when, for example, a display wrapped a list having another display as its item. In the attached patch,