Get rid of the old texinfo.
[dragonfly.git] / contrib / groff / tmac / troffrc
1 .\" Startup file for troff.
2 .\" $FreeBSD: src/contrib/groff/tmac/troffrc,v 1.6.2.3 2003/02/14 15:22:11 ru Exp $
3 .\" $DragonFly: src/contrib/groff/tmac/Attic/troffrc,v 1.2 2003/06/17 04:24:02 dillon Exp $
4 .
5 .\" This is tested by pic.
6 .nr 0p 0
7 .
8 .\" Use .do here, so that it works with -C.
9 .\" The groff command defines the .X string if the -X option was given.
10 .ie r.X .do ds troffrc!ps Xps.tmac
11 .el .do ds troffrc!ps ps.tmac
12 .do ds troffrc!dvi dvi.tmac
13 .do ds troffrc!X75 X.tmac
14 .do ds troffrc!X75-12 X.tmac
15 .do ds troffrc!X100 X.tmac
16 .do ds troffrc!X100-12 X.tmac
17 .do ds troffrc!ascii tty.tmac
18 .do ds troffrc!latin1 tty.tmac
19 .do ds troffrc!koi8-r tty.tmac
20 .do ds troffrc!utf8 tty.tmac
21 .do ds troffrc!cp1047 tty.tmac
22 .do ds troffrc!lj4 lj4.tmac
23 .do ds troffrc!lbp lbp.tmac
24 .do ds troffrc!html www.tmac
25 .do if d troffrc!\*[.T] \
26 .       do mso \*[troffrc!\*[.T]]
27 .do rm troffrc!ps troffrc!Xps troffrc!dvi troffrc!X75 troffrc!X75-12 \
28 troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp troffrc!html
29 .
30 .\" test whether we work under EBCDIC
31 .do ie '\[char97]'a' \
32 .       if !"\*[.T]"koi8-r" .do tr \[char160]\~
33 .el \
34 .       do tr \[char65]\~
35 .
36 .\" Set the hyphenation language to `us'.
37 .do hla us
38 .
39 .\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
40 .do hpf hyphen.us
41 .
42 .if "\*[.T]"koi8-r" \{\
43 .
44 .\" Append hyphenation patterns from `hyphen.ru' (in the tmac directory).
45 .do hpfa hyphen.ru
46 .
47 .\}
48 .
49 .\" Disable SGR support in grotty(1).
50 .if n \{\
51 .  do nop \X'tty: sgr 0'
52 .  sp -1
53 .  nr nl 0-1
54 .  nr % -1
55 .\}
56 .
57 .\" Don't let blank lines creep in here.