Represent several consecutive newlines

2022-05-09 Thread Alejandro Colomar
Hi, Branden! Is it possible to represent the following precisely in a manual page?: [[ $ echo -e "\n\nHere's some text.\n\n\nAnd here's some more." Here's some text. And here's some more. ]] It's the output of a program that I'd like to represent precisely in EXAMPLES, but groff(1) doesn't

Re: Represent several consecutive newlines

2022-05-09 Thread G. Branden Robinson
Hi, Alex! At 2022-05-09T17:44:01+0200, Alejandro Colomar wrote: > Is it possible to represent the following precisely in a manual page?: Yes. > It's the output of a program that I'd like to represent precisely in > EXAMPLES, but groff(1) doesn't like things like: > > [[ > .EX > .RB $ " echo -e

Re: Represent several consecutive newlines

2022-05-09 Thread Alejandro Colomar
Hi! On 5/9/22 18:27, G. Branden Robinson wrote: Hi, Alex! At 2022-05-09T17:44:01+0200, Alejandro Colomar wrote: Is it possible to represent the following precisely in a manual page?: Yes. It's the output of a program that I'd like to represent precisely in EXAMPLES, but groff(1) doesn't li

Re: Represent several consecutive newlines

2022-05-09 Thread Alejandro Colomar
On 5/9/22 18:27, G. Branden Robinson wrote: [[ .TH foo 1 2022-05-09 "groff test suite" .P Here is an example. .RS .P .EX $ \c .B printf \[dq]\[rs]n\[rs]nfoo\[rs]n\[rs]n\[rs]n\[rs]n\[rs]nbar\[rs]n\[dq] D'oh! I always forget escaping those things :/ \& \& foo \& \& \& bar .EE .RE .P That was a

Re: Represent several consecutive newlines

2022-05-09 Thread G. Branden Robinson
At 2022-05-09T18:32:08+0200, Alejandro Colomar wrote: > BTW, I just downloaded groff.git into my current computer, so it's likely > that I'll try to review the new groff_man*(7) manual pages soon (and > possibly others). Cool! I'd like to encourage you to review tbl(1) carefully; I rewrote it for

Re: Represent several consecutive newlines

2022-05-09 Thread G. Branden Robinson
Hi Alex, At 2022-05-09T18:36:44+0200, Alejandro Colomar wrote: > It's not working for me. I have GNU groff version 1.23.0.rc1.2366-0328. I think our messages crossed in the ether. I suspect you're seeing man-db man(1)'s "squeezing" of blank lines as I mentioned in my previous message

Re: Represent several consecutive newlines

2022-05-09 Thread Alejandro Colomar
Hi Branden, On 5/9/22 22:36, G. Branden Robinson wrote: Hi Alex, At 2022-05-09T18:36:44+0200, Alejandro Colomar wrote: It's not working for me. I have GNU groff version 1.23.0.rc1.2366-0328. I think our messages crossed in the ether. I suspect you're seeing man-db man(1)'s "squeezing" of b