73731a89b3fcef984e0f11297611792078fea373
[dragonfly.git] / contrib / file / magic / Magdir / troff
1 #------------------------------------------------------------------------------
2 # troff:  file(1) magic for *roff
3 #
4 # updated by Daniel Quinlan (quinlan@yggdrasil.com)
5
6 # troff input
7 0       search/1        .\\"            troff or preprocessor input text
8 !:mime  text/troff
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       regex/20        \^\\.[A-Za-z0-9][A-Za-z0-9][\ \t]       troff or preprocessor input text
18 !:mime  text/troff
19 0       regex/20        \^\\.[A-Za-z0-9][A-Za-z0-9]$    troff or preprocessor input text
20 !:mime  text/troff
21
22 # ditroff intermediate output text
23 0       search/1        x\ T            ditroff output text
24 >4      search/1        cat             for the C/A/T phototypesetter
25 >4      search/1        ps              for PostScript
26 >4      search/1        dvi             for DVI
27 >4      search/1        ascii           for ASCII
28 >4      search/1        lj4             for LaserJet 4
29 >4      search/1        latin1          for ISO 8859-1 (Latin 1)
30 >4      search/1        X75             for xditview at 75dpi
31 >>7     search/1        -12             (12pt)
32 >4      search/1        X100            for xditview at 100dpi
33 >>8     search/1        -12             (12pt)
34
35 # output data formats
36 0       string          \100\357        very old (C/A/T) troff output data