Import file-5.22.
[dragonfly.git] / contrib / file / magic / Magdir / troff
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
9 0       search/1        .\\"            troff or preprocessor input text
10 !:mime  text/troff
11 0       search/1        '\\"            troff or preprocessor input text
12 !:mime  text/troff
13 0       search/1        '.\\"           troff or preprocessor input text
14 !:mime  text/troff
15 0       search/1        \\"             troff or preprocessor input text
16 !:mime  text/troff
17 0       search/1        '''             troff or preprocessor input text
18 !:mime  text/troff
19 0       regex/20l       \^\\.[A-Za-z0-9][A-Za-z0-9][\ \t]       troff or preprocessor input text
20 !:mime  text/troff
21 0       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
25 0       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
38 0       string          \100\357        very old (C/A/T) troff output data