* src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
[s-roff.git] / arch / djgpp / t-groff.bat
blob0aea5d03c3ab2b3a4102fdbb65ba7d843a1c9be1
1 @echo off\r
2 Rem This script runs groff without requiring that it be installed.\r
3 Rem The current directory must be the build directory.\r
4 \r
5 test -d ./src/roff/groff\r
6 if not errorlevel 1 goto dirOk\r
7 echo this batch file must be run with the build directory as the current directory\r
8 goto end\r
9 :dirOk\r
10 test -x ./src/roff/groff/groff\r
11 if not errorlevel 1 goto groffOk\r
12 echo this batch file must be run with the build directory as the current directory\r
13 goto end\r
14 :groffOk\r
15 Rem chdir to src, to avoid overflowing the DOS limits with a long PATH.\r
16 cd src\r
17 set GROFF_FONT_PATH=..;../font\r
18 set GROFF_TMAC_PATH=../tmac\r
19 set PATH1=%PATH%\r
20 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grotty;%PATH1%\r
21 Rem\r
22 echo I will use this command to format a document and print it on the screen:\r
23 roff\groff\groff -V -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me\r
24 pause\r
25 Rem Make the following command pipe to Less if you have Less installed:\r
26 roff\groff\groff -e -s -t -p -R -m ttchar -me -Tascii ../doc/meintro.me\r
27 Rem\r
28 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grops;%PATH1%\r
29 echo I will use this command to format a document and print it on PS printer:\r
30 roff\groff\groff -V -e -s -t -p -R -me -Tps ../doc/meintro.me\r
31 pause\r
32 Rem Uncomment the following command if you have a PostScript printer:\r
33 REM roff\groff\groff -e -s -t -p -R -me -Tps ../doc/meintro.me >>prn\r
34 Rem\r
35 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolj4;%PATH1%\r
36 echo I will use this command to format a document and print it on LJ4 printer:\r
37 roff\groff\groff -V -e -s -t -p -R -me -Tlj4 ../doc/meintro.me\r
38 pause\r
39 Rem Uncomment the following command if you have a LaserJet4 printer:\r
40 REM roff\groff\groff -e -s -t -p -R -me -Tlj4 ../doc/meintro.me >>prn\r
41 Rem\r
42 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grodvi;%PATH1%\r
43 echo I will use this command to format a document into a DVI format:\r
44 roff\groff\groff -V -e -s -t -p -R -me -Tdvi ../doc/meintro.me\r
45 pause\r
46 roff\groff\groff -e -s -t -p -R -me -Tdvi ../doc/meintro.me > meintro.dvi\r
47 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grohtml;%PATH1%\r
48 echo I will use this command to format a document into HTML format:\r
49 roff\groff\groff -V -e -s -t -p -R -me -Thtml ../doc/meintro.me\r
50 pause\r
51 roff\groff\groff -e -s -t -p -R -me -Thtml ../doc/meintro.me > meintro.html\r
52 set PATH=roff\troff;preproc\pic;preproc\eqn;preproc\tbl;preproc\grn;preproc\refer;preproc\soelim;devices\grolbp;%PATH1%\r
53 echo I will use this command to format a document and print it on an LBP printer:\r
54 roff\groff\groff -V -e -s -t -p -R -me -Tlbp ../doc/meintro.me\r
55 pause\r
56 Rem Uncomment the following if you have a Canon CAPSL LBP-4 or LBP-8 printer:\r
57 REM roff\groff\groff -e -s -t -p -R -me -Tlbp ../doc/meintro.me >>prn\r
58 Rem\r
59 set PATH=%PATH1%\r
60 set GROFF_FONT_PATH=\r
61 set GROFF_TMAC_PATH=\r
62 set PATH1=\r
63 cd ..\r
64 :exit\r