Re: [Groff] Groff command-line argument strangeness

2015-10-26 Thread Keith Marshall
On 26/10/15 13:12, Dorai Sitaram wrote: > Incidentally, is there a way to tell from inside a document whether > it is being processed by pdfroff or groff -Tps? In both cases, the > string register .T is 'ps'. Not really; pdfroff is just a shell script, which runs groff -Tps multiple times, (to re

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Tadziu Hoffmann
> Do I understand you correctly that my document should look like this: [snip] I meant, without .AB/.AE: .RP no .TL A Stranger World .AU Koz Ross .PP This is some not-very-exciting text. You can even remove the .RP, then the text will start on the same page.

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Koz Ross
> Ah. Try starting the text (and finishing the titles) with .PP. > Do I understand you correctly that my document should look like this: .RP no .TL A Stranger World .AU Koz Ross .AB no .PP .PP This is some not-very-exciting text. -- Koz Ross www.retro-freedom.nz If you aren't using GPG, y

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Tadziu Hoffmann
> It seems like not having .AB/.AE doesn't actually do what you > claim. Instead, I still get the error, but the title is not > processed at all. However, with the .AB/.AE pair, everything > works exactly as expected. Ah. Try starting the text (and finishing the titles) with .PP.

Re: [Groff] Groff command-line argument strangeness

2015-10-26 Thread Deri James
On Mon 26 Oct 2015 05:31:28 Keith Marshall wrote: > > 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 bu

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Anton Shterenlikht
>So, having read the friendly manual, I decided to start working on my book.= > I wrote the following: > >.RP no >.TL >A Stranger World >.AU >Koz Ross >.AB no I think you need .AE after .AB. Anton

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Ralph Corderoy
Hi Koz, > .RP no > .TL > A Stranger World > .AU > Koz Ross > .AB no ... > :0: macro error: diversion open while ejecting page (recovering) Perhaps .AB still needs .AE even with the "no" option. Cheers, Ralph.

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Koz Ross
It seems like not having .AB/.AE doesn't actually do what you claim. Instead, I still get the error, but the title is not processed at all. However, with the .AB/.AE pair, everything works exactly as expected. -- Koz Ross www.retro-freedom.nz If you aren't using GPG, you should be! https://emai

Re: [Groff] Cannot understand this error from prfroff

2015-10-26 Thread Tadziu Hoffmann
> .RP no > .TL > A Stranger World > .AU > Koz Ross > .AB no > > :0: macro error: diversion open while ejecting page (recovering) > > What does this mean, and how can I avoid this? .AB needs a terminating .AE (i.e., .AB starts a diversion which is finished with .AE; what ms is trying to tell you i

[Groff] Cannot understand this error from prfroff

2015-10-26 Thread Koz Ross
So, having read the friendly manual, I decided to start working on my book. I wrote the following: .RP no .TL A Stranger World .AU Koz Ross .AB no Then I tried to pump it through pdfroff with: pdfroff -b -Ffont -Isrc -Mmacro -mspdf -U -wall -dpaper=a4 -P-pa4 --no-toc-relocation a-stranger-worl