troff 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #------------------------------------------------------------------------------
  2. # $File: troff,v 1.14 2023/06/01 16:00:46 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. !:strength +12
  9. !:mime text/troff
  10. 0 search/1 '\\" troff or preprocessor input text
  11. !:strength +12
  12. !:mime text/troff
  13. 0 search/1 '.\\" troff or preprocessor input text
  14. !:strength +12
  15. !:mime text/troff
  16. 0 search/1 \\" troff or preprocessor input text
  17. !:strength +12
  18. !:mime text/troff
  19. #0 search/1 ''' troff or preprocessor input text
  20. #!:mime text/troff
  21. 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9][\ \t] troff or preprocessor input text
  22. !:strength +12
  23. !:mime text/troff
  24. 0 regex/20l \^\\.[A-Za-z][A-Za-z0-9]$ troff or preprocessor input text
  25. !:strength +12
  26. !:mime text/troff
  27. # ditroff intermediate output text
  28. 0 search/1 x\ T ditroff output text
  29. >4 search/1 cat for the C/A/T phototypesetter
  30. >4 search/1 ps for PostScript
  31. >4 search/1 dvi for DVI
  32. >4 search/1 ascii for ASCII
  33. >4 search/1 lj4 for LaserJet 4
  34. >4 search/1 latin1 for ISO 8859-1 (Latin 1)
  35. >4 search/1 X75 for xditview at 75dpi
  36. >>7 search/1 -12 (12pt)
  37. >4 search/1 X100 for xditview at 100dpi
  38. >>8 search/1 -12 (12pt)
  39. # output data formats
  40. 0 string \100\357 very old (C/A/T) troff output data