[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] How remove title?
From: |
Peng Yu |
Subject: |
Re: [Groff] How remove title? |
Date: |
Sat, 13 Jun 2015 15:11:59 -0500 |
On Sat, Jun 13, 2015 at 6:33 AM, Ralph Corderoy <address@hidden> 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. Would you please
>> let me know how to unset the title with groff?
>>
>> groff -Tps -mandoc -c < $(man -w ls) | ps2pdf - > /tmp/ls.pdf
>
> I did
>
> zcat /usr/share/man/man1/ls.1.gz | groff -mandoc | ps2pdf - >ls.pdf
I tried both Mac and Ubuntu. Both have the same problem. Did you check
the file using Acrobat?
On Mac, command-D brings up the document property window. The title on
Descript tab is "Untitled".
> and it worked fine.
>
> Have you tried the simpler
>
> man -t ls | ps2pdf - >ls.pdf
This does not work. It actually calls groff. That is why I end up
trying groff directly.
> All times, the PDF starts
>
> LS(1) User Commands LS(1)
>
> NAME
> ls − list directory contents
> SYNOPSIS
> ls [OPTION]... [FILE]...
> DESCRIPTION
> List information about the...
>
> Cheers, Ralph.
--
Regards,
Peng
- Re: [Groff] How remove title?, (continued)
- Re: [Groff] How remove title?, Dale Snell, 2015/06/16
- Re: [Groff] How remove title?, Ralph Corderoy, 2015/06/16
- Re: [Groff] How remove title?, Peng Yu, 2015/06/16
- Re: [Groff] How remove title?, Deri James, 2015/06/16
- Re: [Groff] How remove title?, Peng Yu, 2015/06/16
- Re: [Groff] How remove title?, Deri James, 2015/06/16
- Re: [Groff] How remove title?, Peng Yu, 2015/06/16
- Re: [Groff] How remove title?, Ralph Corderoy, 2015/06/17
- Re: [Groff] How remove title?, Peng Yu, 2015/06/17
Re: [Groff] How remove title?, Ralph Corderoy, 2015/06/13
- Re: [Groff] How remove title?,
Peng Yu <=