Re: [groff] Creating a numbered list without macros

2018-08-11 Thread Peter Schaffter
Hey, Yves. On Sat, Aug 11, 2018, Yves Cloutier wrote: > The other part to this answer is that I like to know how things > work. So lthis is partially me learning how to typeset with groff, > without relying on macros. You will still need to write macros to handle bottom-of-page traps unless you

Re: [groff] Creating a numbered list without macros

2018-08-11 Thread Yves Cloutier
Hello Ingo, thanks for the tips, comments and questions. No there is no parsing involved. I'm using the red programming language, a derivative of rebol. This language doesn't use parentheses for function calls. title {...} p {...} blockquote {..} are functions I created that take a string as an

Re: [groff] Creating a numbered list without macros

2018-08-11 Thread Ingo Schwarze
Hi Yves, Yves Cloutier wrote on Sat, Aug 11, 2018 at 11:32:57AM -0400: > .br > .sp That is redundant. The .sp request already implies .br, see: https://www.gnu.org/software/groff/manual/html_node/Manipulating-Spacing.html#index-sp > .ll -5 > .in +3 > .ti -1 For .in and .ti, the default scalin

Re: [groff] Creating a numbered list without macros

2018-08-11 Thread Yves Cloutier
Ralph, Ted, Thank you both for your help! Right after sending in my question I found something helpful in the Troff User Manual you mention. A bit different than your solution but seems to work, at least with my test. It goes something like this: Lorem ipsum dolor sit amet, consectetur adipisci

Re: [groff] Creating a numbered list without macros

2018-08-11 Thread Ralph Corderoy
Hi Yves, > What approach would I take? Is this something that can be done with > tabs? The tutorial in CSTR 54, logical page `- 32 -', defines the `lp' labelled paragraph macro that uses tabs. https://troff.org/54.pdf If you're starting troff, that slim document is well worthy of repeated carefu