[Groff] LANG affecting groff + mom output

2006-05-30 Thread Gordon Bonnar
Hello all, I am new to the groff scene, having been introduced recently at a tutorial by the brilliant and charming Peter Schaffter here in Ottawa, Canada last week. As I started to use it, I noticed this peculiarity. When my LANG environment variable is set to en_US.UTF-8 which it generally is

[Groff] Setting different page lengths for troff and nroff

2006-05-30 Thread Greg 'groggy' Lehey
I have a design document that I need to output in two forms: as a properly typeset PostScript file (troff) and in plain text (nroff). I want the latter not to have page breaks. I've tried a number of things, but I have two problems: 1. I can't find a number register than I can tweak to change t

Re: [Groff] Setting different page lengths for troff and nroff

2006-05-30 Thread Clarke Echols
Have you tried ".ifn" and ".ift" (if nroff and if troff)? as in: .ift .pl 11i .ifn .pl [something else] I don't know about eliminating page breaks in nroff because I've never needed that, but the .ifn and .ift were used frequenly in the man macros when I was at HP (originated with AT&T troff ma

Re: [Groff] Setting different page lengths for troff and nroff

2006-05-30 Thread Greg 'groggy' Lehey
On Tuesday, 30 May 2006 at 21:55:45 -0600, Clarke Echols wrote: > Greg 'groggy' Lehey wrote: >> I have a design document that I need to output in two forms: as a >> properly typeset PostScript file (troff) and in plain text (nroff). I >> want the latter not to have page breaks. I've tried a numbe

Re: [Groff] Setting different page lengths for troff and nroff

2006-05-30 Thread Clarke Echols
Greg 'groggy' Lehey wrote: On Tuesday, 30 May 2006 at 21:55:45 -0600, Clarke Echols wrote: Greg 'groggy' Lehey wrote: I have a design document that I need to output in two forms: as a properly typeset PostScript file (troff) and in plain text (nroff). I want the latter not to have page break

Re: [Groff] Setting different page lengths for troff and nroff

2006-05-30 Thread Werner LEMBERG
> I have a design document that I need to output in two forms: as a > properly typeset PostScript file (troff) and in plain text (nroff). > I want the latter not to have page breaks. Have a look how this problem is solved in an-old.tmac. > 1. I can't find a number register than I can tweak to c