1 Rem Copyright (C) 2000-2018 Free Software Foundation, Inc.
\r
3 Rem This file is part of groff.
\r
5 Rem groff is free software; you can redistribute it and/or modify it under
\r
6 Rem the terms of the GNU General Public License as published by the Free
\r
7 Rem Software Foundation; either version 3 of the License, or (at your option)
\r
8 Rem any later version.
\r
10 Rem groff is distributed in the hope that it will be useful, but WITHOUT ANY
\r
11 Rem WARRANTY; without even the implied warranty of MERCHANTABILITY or
\r
12 Rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
13 Rem for more details.
\r
15 Rem You should have received a copy of the GNU General Public License along
\r
16 Rem with this program. If not, see <http://www.gnu.org/licenses/>.
\r
18 Rem This script runs groff without requiring that it be installed.
\r
21 Rem This script runs groff without requiring that it be installed.
\r
22 Rem The current directory must be the build directory.
\r
24 test -d ./src/roff/groff
\r
25 if not errorlevel 1 goto dirOk
\r
26 echo this batch file must be run with the build directory as the current directory
\r
29 test -x ./src/roff/groff/groff
\r
30 if not errorlevel 1 goto groffOk
\r
31 echo this batch file must be run with the build directory as the current directory
\r
34 Rem chdir to src, to avoid overflowing the DOS limits with a long PATH.
\r
36 set GROFF_FONT_PATH=..;../font
\r
37 set GROFF_TMAC_PATH=../tmac
\r
39 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grotty;%PATH1%
\r
41 echo I will use this command to format a document and print it on the screen:
\r
42 roff\groff\groff -V -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
\r
44 Rem Make the following command pipe to Less if you have Less installed:
\r
45 roff\groff\groff -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me
\r
47 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grops;%PATH1%
\r
48 echo I will use this command to format a document and print it on PS printer:
\r
49 roff\groff\groff -V -e -s -t -p -R -me -Tps ../doc/meintro.me
\r
51 Rem Uncomment the following command if you have a PostScript printer:
\r
52 REM roff\groff\groff -e -s -t -p -R -me -Tps ../doc/meintro.me >>prn
\r
54 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolj4;%PATH1%
\r
55 echo I will use this command to format a document and print it on LJ4 printer:
\r
56 roff\groff\groff -V -e -s -t -p -R -me -Tlj4 ../doc/meintro.me
\r
58 Rem Uncomment the following command if you have a LaserJet4 printer:
\r
59 REM roff\groff\groff -e -s -t -p -R -me -Tlj4 ../doc/meintro.me >>prn
\r
61 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grodvi;%PATH1%
\r
62 echo I will use this command to format a document into a DVI format:
\r
63 roff\groff\groff -V -e -s -t -p -R -me -Tdvi ../doc/meintro.me
\r
65 roff\groff\groff -e -s -t -p -R -me -Tdvi ../doc/meintro.me > meintro.dvi
\r
66 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grohtml;%PATH1%
\r
67 echo I will use this command to format a document into HTML format:
\r
68 roff\groff\groff -V -e -s -t -p -R -me -Thtml ../doc/meintro.me
\r
70 roff\groff\groff -e -s -t -p -R -me -Thtml ../doc/meintro.me > meintro.html
\r
71 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolbp;%PATH1%
\r
72 echo I will use this command to format a document and print it on an LBP printer:
\r
73 roff\groff\groff -V -e -s -t -p -R -me -Tlbp ../doc/meintro.me
\r
75 Rem Uncomment the following if you have a Canon CAPSL LBP-4 or LBP-8 printer:
\r
76 REM roff\groff\groff -e -s -t -p -R -me -Tlbp ../doc/meintro.me >>prn
\r
79 set GROFF_FONT_PATH=
\r
80 set GROFF_TMAC_PATH=
\r