summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/troff
blob: 301a40bc34da948f36d503829e374e85f7a542b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#------------------------------------------------------------------------------
# $File: troff,v 1.14 2023/06/01 16:00:46 christos Exp $
# troff:  file(1) magic for *roff
#
# updated by Daniel Quinlan (quinlan@yggdrasil.com)

# troff input
0	search/1	.\\"		troff or preprocessor input text
!:strength +12
!:mime	text/troff
0	search/1	'\\"		troff or preprocessor input text
!:strength +12
!:mime	text/troff
0	search/1	'.\\"		troff or preprocessor input text
!:strength +12
!:mime	text/troff
0	search/1	\\"		troff or preprocessor input text
!:strength +12
!:mime	text/troff
#0	search/1	'''		troff or preprocessor input text
#!:mime	text/troff
0	regex/20l	\^\\.[A-Za-z][A-Za-z0-9][\ \t]	troff or preprocessor input text
!:strength +12
!:mime	text/troff
0	regex/20l	\^\\.[A-Za-z][A-Za-z0-9]$	troff or preprocessor input text
!:strength +12
!:mime	text/troff

# ditroff intermediate output text
0	search/1	x\ T		ditroff output text
>4	search/1	cat		for the C/A/T phototypesetter
>4	search/1	ps		for PostScript
>4	search/1	dvi		for DVI
>4	search/1	ascii		for ASCII
>4	search/1	lj4		for LaserJet 4
>4	search/1	latin1		for ISO 8859-1 (Latin 1)
>4	search/1	X75		for xditview at 75dpi
>>7	search/1	-12		(12pt)
>4	search/1	X100		for xditview at 100dpi
>>8	search/1	-12		(12pt)

# output data formats
0	string		\100\357	very old (C/A/T) troff output data