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