On 23/07/20 07:12:14, Blake McBride wrote:
I am trying to get Groff working on Windows. I have looked at MinGW,
GnuWin32, and ezwinports. While some provide base Groff, none I can
see support -Tpdf. Is there any package that does support PDF output
on Windows?
Good morning Blake,
You can produce PDF output from groff indirectly by piping the groff PS
output into ps2pdf. I am assuming ghostscript and its utilities can be
run on Windows.
On my Ubuntu system I often use commands such as:
groff -t -Tps -dpaper=a2 -P-pa2 input_file.gr |
ps2pdf -sPAPERSIZE=a2 -sColorModel=LeaveColorUnchanged \
-dPDFSETTINGS=/prepress -dEmbedAllFonts=true - output_file.pdf
HTH,
Robert