troff 1.2 KB

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