troff 1.2 KB

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