[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Newbie - I can't remeber how to run troff anymore
From: |
Gaius Mulley |
Subject: |
Re: [Groff] Newbie - I can't remeber how to run troff anymore |
Date: |
Sat, 30 Jun 2001 17:38:56 +0100 |
> I am going through an old report I wrote in 1991 using troff. There are
> lots of equations and tables. Unfortunately I don't remember
> how to generate a ps (or dvi) output of the it. I checked the documentation
> but nothing that simple is in there. Could someone help me by giving the
> whole command?
you might try:
groff -s -e -t -ms sourcefile.n > ps
which is shorthand for running soelim, eqn, tbl on your sourcefile and
processing this via gnu troff using the ms macro set. [You may of
course need to alter the macro set, also the ordering of -e -t defines
the ordering of preprocessors, eqn and tbl]
To generate a dvi file you can try:
groff -Tdvi -s -e -t -ms sourcefile.n > dvi
[where the -T option specifies a device, postscript is the default]
hope this helps,
Gaius