Re: What is the difference between GNU groff and Mac OS X groff

2020-04-13 Thread Peng Yu
OK. This works. Thanks. { echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat '/usr/share/man/man1/man.1'; } | tbl | GROFF_NO_SGR=yes groff -Wall -mtty-char -Tascii -mandoc -c | less -is So, that is the change between 1.19.2 and 1.22.4? $ /usr/bin/groff --version | head -n 1 GNU groff version 1.19.2 $ gr

Re: What is the difference between GNU groff and Mac OS X groff

2020-04-13 Thread Peng Yu
that easy... > > On Mon, 13 Apr 2020 at 12:43, Bjarni Ingi Gislason > wrote: > >> On Sun, Apr 12, 2020 at 01:27:54PM -0500, Peng Yu wrote: >> > { echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat >> > '/usr/share/man/man1/man.1'; } | tbl | /us

What is the difference between GNU groff and Mac OS X groff

2020-04-12 Thread Peng Yu
{ echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat '/usr/share/man/man1/man.1'; } | tbl | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | less -is When I use the above command (Mac OS X groff), it works fine. { echo ".ll 14.2i"; echo ".nr LL 14.2i"; cat '/usr/share/man/man1/man.1'; } | tbl | gro

Re: [Groff] How remove title?

2015-06-17 Thread Peng Yu
On Wednesday, June 17, 2015, Ralph Corderoy wrote: > Hi Peng, > > > > I've fixed the issue with the title coming out as LS("1") by > > > removing the quotes, so it is LS(1) now, but I don't think that's > > > what you want. > > > > Right. That is not what I want. But could you create a version th

Re: [Groff] How remove title?

2015-06-16 Thread Peng Yu
> I've fixed the issue with the title coming out as LS("1") by removing the > quotes, so it is LS(1) now, but I don't think that's what you want. Right. That is not what I want. But could you create a version that doesn't generate the title? -- Regards, Peng

Re: [Groff] How remove title?

2015-06-16 Thread Peng Yu
> Does the pdf /tmp/ls.pdf look alright in the viewer. Yes. > The warnings you are seeing are to do with the pdf overview pane where you You mean "bookmarks"? > can click on different sections to jump to that section, it should not > affect the rest of the pdf. You can suppress all warnings wit

Re: [Groff] How remove title?

2015-06-16 Thread Peng Yu
On Tue, Jun 16, 2015 at 9:51 AM, Dale Snell wrote: > On Mon, 15 Jun 2015 10:20:16 -0500, in message > CABrM6wk=CwdfeHVE0YfvdEUSrJ5tA67Y4iUWQ=lcbvfsm_3...@mail.gmail.com, > Peng Yu wrote: > >> > pdfman < $(man -w ls) | groff -Tpdf -mandoc -c > /tmp/ls.pdf >> >

Re: [Groff] How remove title?

2015-06-15 Thread Peng Yu
> pdfman < $(man -w ls) | groff -Tpdf -mandoc -c > /tmp/ls.pdf I got this error. Do you know what is wrong? groff: can't find `DESC' file groff:fatal error: invalid device `pdf' -- Regards, Peng

Re: [Groff] How remove title?

2015-06-13 Thread Peng Yu
On Sat, Jun 13, 2015 at 3:14 PM, Peng Yu wrote: >> wget http://chuzzlewit.co.uk/WebManPDF.pl/man:/groff -O groff.pdf >> wget http://chuzzlewit.co.uk/WebManPDF.pl/man:/ls -O ls.pdf > > Do these actually check the manpages on my system? I guess it does > not. I want to convert

Re: [Groff] How remove title?

2015-06-13 Thread Peng Yu
> wget http://chuzzlewit.co.uk/WebManPDF.pl/man:/groff -O groff.pdf > wget http://chuzzlewit.co.uk/WebManPDF.pl/man:/ls -O ls.pdf Do these actually check the manpages on my system? I guess it does not. I want to convert manpages on my system. -- Regards, Peng

Re: [Groff] How remove title?

2015-06-13 Thread Peng Yu
On Sat, Jun 13, 2015 at 6:33 AM, Ralph Corderoy wrote: > Hi Peng, > >> I use the following command to generate a pdf file from a manpage. >> But the pdf file has title "Untitled". > > How odd, it doesn't here. > >> I want to unset it via groff. >> But I don't see an option to set title to be null.

[Groff] How remove title?

2015-06-12 Thread Peng Yu
Hi, I use the following command to generate a pdf file from a manpage. But the pdf file has title "Untitled". I want to unset it via groff. But I don't see an option to set title to be null. Would you please let me know how to unset the title with groff? groff -Tps -mandoc -c < $(man -w ls) | ps2p