groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Groff command-line argument strangeness


From: Keith Marshall
Subject: Re: [Groff] Groff command-line argument strangeness
Date: Mon, 26 Oct 2015 05:31:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 26/10/15 04:28, Koz Ross wrote:
> I've just discovered groff, and am quite impressed! However, for some
> reason, I'm having an odd issue. I have a folder called 'src' where I
> plan to store chapters of my book, and I want to add it to the search
> path for stuff to include into the final document. I give groff the
> following command to format:
> 
> groff -b -Ffont -Isrc -Mmacro -ms -U -wall -dpaper=a4 -Tpdf \
>   a-stranger-world.ms > a-stranger-world.pdf
> 
> However, when I do this, groff gives the following warnings:
> 
> Unknown option: I
> Unknown option: r
> Unknown option: c
> 
> Have I done something wrong, and if so, what?

Reproduced here ... looks like another bug in -Tpdf.  It doesn't seem to
be reproduced with (a simplified form of):

  pdfroff -b -Ffont -Isrc -Mmacro -mspdf -U -wall -dpaper=a4 \
    -P-pa4 a-stranger-world.ms > a-stranger-world.pdf

Note the use of -mspdf rather than bare -ms, to pull in the pdfmark
extensions for ms; you may also need to add --no-toc-relocation, if you
aren't using .TC, otherwise you'll likely get your document "printed"
twice in the resultant .pdf output file.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]