freebsd-skq/contrib/groff/tmac/troffrc
2003-05-01 13:18:29 +00:00

64 lines
1.5 KiB
Plaintext

.\" Startup file for troff.
.\" $FreeBSD$
.
.\" This is tested by pic.
.nr 0p 0
.
.\" 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' \
. if !"\*[.T]"koi8-r" .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" \{\
.
.\" Append hyphenation patterns from `hyphen.ru' (in the tmac directory).
.do hpfa hyphen.ru
.
.\}
.
.\" Load composite mappings.
.do mso composite.tmac
.
.\" Handle paper formats
.do mso papersize.tmac
.
.\" Disable SGR support in grotty(1).
.if n \{\
. do nop \X'tty: sgr 0'
. sp -1
. nr nl 0-1
. nr % -1
.\}
.
.\" Don't let blank lines creep in here.