home *** CD-ROM | disk | FTP | other *** search
- ##########################################################################
- # TeX support for the file command, to be appended to /usr/lib/file/magic,
- # /etc/magic or whatever applies on your system.
- # Version 1.1 (13 Sep 1991)
- #
- # Copyright 1991 Ignatios Souvatzis (souva@babsy.mpifr-bonn.mpg.de)
- # All rights reserved.
- #
- # You may use this file or give it away under the conditions of the
- # GNU copyleft, Version 1 or later, available from the Free Software
- # Foundation, 675 Mass Ave, Campridge, MA 02139, USA
- # In short, you are allowed to use, copy and distribute this file as
- # long as you don't make any profit out of it (except for reasonable
- # copying fees) and don't remove this notice from it.
- #########################################################################
- #
- # LaTeX file:
- #
- 0 string \documentstyle\\%[^}]*}\\% 1,1 LaTeX document %s
- #
- # .dvi file:
- #
- 0 short 0x02f7 1,1 TeX82 .dvi file
- >12 short x 1,1 , mag %d
- >15 string ^\\%[\040-\0176]*\\% 1,1 :%s
- 0 short 0x03f7 1,1 TeX dvi-ivd file
- 0 short 0x04f7 1,1 Impossible! (TeX output generated after 2048)
- #
- # ^ ^ ^ ^ these should be TABS!!!!
- #
- #The line with the >12 at the beginning should be removed on Digital
- #Equipment - byte sexed machines. Anyway, it works only for specified
- #magnifications < 65536/1000. The last line is a joke ("2nd byte will be
- #changed from 2 or 3 to 4 when an incompatible change is made to the
- #.dvi format, about in 2048" (Knuth, approx. cited from tex.web 3.0).
- #
-