groff: Commit our local patches.
[dragonfly.git] / contrib / groff / tmac / troffrc
1 .\" Startup file for troff.
2 .
3 .\" This is tested by pic.
4 .nr 0p 0
5 .
6 .\" Load composite mappings.
7 .do mso composite.tmac
8 .
9 .\" Use .do here, so that it works with -C.
10 .\" The groff command defines the .X string if the -X option was given.
11 .ie r.X .do ds troffrc!ps Xps.tmac
12 .el .do ds troffrc!ps ps.tmac
13 .do ds troffrc!dvi dvi.tmac
14 .do ds troffrc!X75 X.tmac
15 .do ds troffrc!X75-12 X.tmac
16 .do ds troffrc!X100 X.tmac
17 .do ds troffrc!X100-12 X.tmac
18 .do ds troffrc!ascii tty.tmac
19 .do ds troffrc!latin1 tty.tmac
20 .do ds troffrc!utf8 tty.tmac
21 .do ds troffrc!cp1047 tty.tmac
22 .do ds troffrc!koi8-r tty.tmac
23 .do ds troffrc!lj4 lj4.tmac
24 .do ds troffrc!lbp lbp.tmac
25 .do ds troffrc!html html.tmac
26 .do if d troffrc!\*[.T] \
27 .       do mso \*[troffrc!\*[.T]]
28 .do rm troffrc!ps troffrc!Xps troffrc!dvi troffrc!X75 troffrc!X75-12 \
29 troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp troffrc!html
30 .
31 .\" Test whether we work under EBCDIC and map the no-breakable space
32 .\" character accordingly.
33 .do ie '\[char97]'a' \
34 .      ie '\*[.T]'koi8-r' \
35 .              do tr \[char154]\~
36 .      el \
37 .              do tr \[char160]\~
38 .el \
39 .       do tr \[char65]\~
40 .
41 .\" Set the hyphenation language to `us'.
42 .do hla us
43 .
44 .\" Load hyphenation patterns and exceptions.
45 .do hpf hyphen.us
46 .do hpfa hyphenex.us
47 .if '\*[.T]'koi8-r' \
48 .      do hpfa hyphen.ru
49 .
50 .\" Handle paper formats.
51 .do mso papersize.tmac
52 .
53 .\" Handle PS images.
54 .do mso pspic.tmac
55 .
56 .\" Disable SGR support in grotty(1).
57 .if n \{\
58 .  do nop \X'tty: sgr 0'
59 .  sp -1
60 .  nr nl 0-1
61 .  nr % -1
62 .\}
63 .
64 .\" Don't let blank lines creep in here.