freebsd-dev/contrib/groff/tmac/troffrc

57 lines
1.4 KiB
Plaintext
Raw Normal View History

1996-09-07 16:18:32 +00:00
.\" Startup file for troff.
1999-09-11 19:32:14 +00:00
.\" $FreeBSD$
2002-10-11 08:54:44 +00:00
.
1996-09-07 16:18:32 +00:00
.\" This is tested by pic.
.nr 0p 0
2002-10-11 08:54:44 +00:00
.
1996-09-07 16:18:32 +00:00
.\" Use .do here, so that it works with -C.
.\" The groff command defines the .X string if the -X option was given.
2001-04-17 12:28:31 +00:00
.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 www.tmac
1996-09-07 16:18:32 +00:00
.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
2002-10-11 08:54:44 +00:00
.
.\" 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
2002-10-11 08:54:44 +00:00
.
.\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
1996-09-07 16:18:32 +00:00
.do hpf hyphen.us
2002-10-11 08:54:44 +00:00
.
.if "\*[.T]"koi8-r" \{\
.
.\" Append hyphenation patterns from `hyphen.ru' (in the tmac directory).
.do hpfa hyphen.ru
.
.\}
2002-10-11 08:54:44 +00:00
.
.\" Disable SGR support in grotty(1).
.if n \{\
. do nop \X'tty: sgr 0'
. sp -1
. nr nl 0-1
. nr % -1
.\}
.
1996-09-07 16:18:32 +00:00
.\" Don't let blank lines creep in here.