freebsd-dev/contrib/groff/tmac/troffrc
Ruslan Ermilov 0829f5978b Re-enable SGR support (ANSI color escapes) in grotty(1) by default.
Our man(1) and bsd.doc.mk still disable it for POLA reasons via the
-c option to grotty(1).

PR:		gnu/82353
2011-06-03 12:02:53 +00:00

54 lines
1.3 KiB
Plaintext

.\" Startup file for troff.
.\" $FreeBSD$
.
.\" This is tested by pic.
.nr 0p 0
.
.\" Load composite mappings.
.do mso composite.tmac
.
.\" Use .do here, so that it works with -C.
.\" The groff command defines the .X string if the -X option was given.
.ie r.X .do ds troffrc!ps Xps.tmac
.el .do ds troffrc!ps ps.tmac
.do ds troffrc!dvi dvi.tmac
.do ds troffrc!X75 X.tmac
.do ds troffrc!X75-12 X.tmac
.do ds troffrc!X100 X.tmac
.do ds troffrc!X100-12 X.tmac
.do ds troffrc!ascii tty.tmac
.do ds troffrc!latin1 tty.tmac
.do ds troffrc!koi8-r tty.tmac
.do ds troffrc!utf8 tty.tmac
.do ds troffrc!cp1047 tty.tmac
.do ds troffrc!lj4 lj4.tmac
.do ds troffrc!lbp lbp.tmac
.do ds troffrc!html html.tmac
.do if d troffrc!\*[.T] \
. do mso \*[troffrc!\*[.T]]
.do rm troffrc!ps troffrc!Xps troffrc!dvi troffrc!X75 troffrc!X75-12 \
troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp troffrc!html
.
.\" test whether we work under EBCDIC
.do ie '\[char97]'a' \
. ie '\*[.T]'koi8-r' \
. do tr \[char154]\~
. el \
. do tr \[char160]\~
.el \
. do tr \[char65]\~
.
.\" Set the hyphenation language to `us'.
.do hla us
.
.\" Load hyphenation patterns and exceptions.
.do hpf hyphen.us
.do hpfa hyphenex.us
.if '\*[.T]'koi8-r' \
. do hpfa hyphen.ru
.
.\" Handle paper formats
.do mso papersize.tmac
.
.\" Don't let blank lines creep in here.