Re: [groff] Creating a numbered list without macros

2018-08-10 Thread Peter Schaffter
On Fri, Aug 10, 2018, Yves Cloutier wrote: > For example what would I need to do, using vanilla groff to output a number > followed by suffix, a space, followed by text, and make it so that text > which overflows to the next line gets aligned with the first character of > the text of the lis item.

Re: [groff] Creating a numbered list without macros

2018-08-10 Thread Ingo Schwarze
Salut Yves, Yves Cloutier wrote on Fri, Aug 10, 2018 at 08:00:17PM -0400: > What approach would I take? Why don't you study how existing macro packages do it? More than one package has that feature, so you can even compare. If you don't understand the code instantly, study the fine groff manual

[groff] Creating a numbered list without macros

2018-08-10 Thread Yves Cloutier
Hello, I'm working on a typesetting tool that provides a layer of abstraction over groff. Basically it's a groff generator. For this tool I'd like as much as possible to not use any existing macro package, but rather use basic primitive commands to generate pure groff. So far so good, but I'm ha