xref: /freebsd/contrib/file/magic/Magdir/troff (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
1
2#------------------------------------------------------------------------------
3# $File: troff,v 1.11 2014/06/03 19:01:34 christos Exp $
4# troff:  file(1) magic for *roff
5#
6# updated by Daniel Quinlan (quinlan@yggdrasil.com)
7
8# troff input
90	search/1	.\\"		troff or preprocessor input text
10!:mime	text/troff
110	search/1	'\\"		troff or preprocessor input text
12!:mime	text/troff
130	search/1	'.\\"		troff or preprocessor input text
14!:mime	text/troff
150	search/1	\\"		troff or preprocessor input text
16!:mime	text/troff
170	search/1	'''		troff or preprocessor input text
18!:mime	text/troff
190	regex/20l	\^\\.[A-Za-z0-9][A-Za-z0-9][\ \t]	troff or preprocessor input text
20!:mime	text/troff
210	regex/20l	\^\\.[A-Za-z0-9][A-Za-z0-9]$	troff or preprocessor input text
22!:mime	text/troff
23
24# ditroff intermediate output text
250	search/1	x\ T		ditroff output text
26>4	search/1	cat		for the C/A/T phototypesetter
27>4	search/1	ps		for PostScript
28>4	search/1	dvi		for DVI
29>4	search/1	ascii		for ASCII
30>4	search/1	lj4		for LaserJet 4
31>4	search/1	latin1		for ISO 8859-1 (Latin 1)
32>4	search/1	X75		for xditview at 75dpi
33>>7	search/1	-12		(12pt)
34>4	search/1	X100		for xditview at 100dpi
35>>8	search/1	-12		(12pt)
36
37# output data formats
380	string		\100\357	very old (C/A/T) troff output data
39