Implement false groff:[09040dbf] used to fix #47161
[s-roff.git] / tmac / troffrc
blob08398b6f37128e34e4283b2ae4c99fe152596009
1 .\"@ Startup file for troff.
2 .\"
3 .\" Adapted to S-roff by Steffen (Daode) Nurpmeso <steffen@sdaoden.eu>.
5 .\" This is tested by pic.
6 .nr 0p 0
8 .\" Load composite mappings.
9 .do mso composite.tmac
11 .\" Load generic fallback mappings.
12 .do mso fallbacks.tmac
14 .\" Use .do here, so that it works with -C.
15 .\" The groff command defines the .X string if the -X option was given.
16 .ie r.X .do ds troffrc!ps Xps.tmac
17 .el .do ds troffrc!ps ps.tmac
18 .do ds troffrc!dvi dvi.tmac
19 .do ds troffrc!ascii tty.tmac
20 .do ds troffrc!latin1 tty.tmac
21 .do ds troffrc!utf8 tty.tmac
22 .do ds troffrc!cp1047 tty.tmac
23 .do ds troffrc!html html.tmac
24 .do if d troffrc!\*[.T] \
25 .       do mso \*[troffrc!\*[.T]]
26 .do rm troffrc!ps troffrc!dvi \
27   troffrc!ascii troffrc!latin1 troffrc!utf8 troffrc!cp1047 \
28   troffrc!html
30 .\" Test whether we work under EBCDIC and map the no-breakable space
31 .\" character accordingly.
32 .do ie '\[char97]'a' \
33 . do tr \[char160]\~
34 .el \
35 .       do tr \[char65]\~
37 .\" Set the hyphenation language to `us'.
38 .do hla us
40 .\" Load hyphenation patterns and exceptions.
41 .do hpf hyphen.us
42 .do hpfa hyphenex.us
44 .\" Handle paper formats.
45 .do mso papersize.tmac
47 .\" Handle PS images.
48 .do mso pspic.tmac
50 .\" s-ts-mode