diff options
author | mpp <mpp@FreeBSD.org> | 1996-01-23 12:29:07 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-01-23 12:29:07 +0000 |
commit | bed6c740ce8181de2bc93f03538f1e7a09689ece (patch) | |
tree | 230374b5040b0cdd1f4794e7eee347681802c0f8 /usr.bin/file/Magdir/tex | |
parent | 63156ffa52b9fb92e18757841f7b5a995bf5b918 (diff) | |
parent | c335a065680c2ca4e8d5b34f7b4f590e27edbe6a (diff) | |
download | FreeBSD-src-bed6c740ce8181de2bc93f03538f1e7a09689ece.zip FreeBSD-src-bed6c740ce8181de2bc93f03538f1e7a09689ece.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r13584,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'usr.bin/file/Magdir/tex')
-rw-r--r-- | usr.bin/file/Magdir/tex | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/usr.bin/file/Magdir/tex b/usr.bin/file/Magdir/tex index 734bedd..5126be8 100644 --- a/usr.bin/file/Magdir/tex +++ b/usr.bin/file/Magdir/tex @@ -1,7 +1,6 @@ -# -# magic.tex: -# -# XXX - needs byte-endian stuff (big-endian and little-endian DVI?) + +#------------------------------------------------------------------------------ +# tex: file(1) magic for TeX files # # From <conklin@talisman.kaleida.com> @@ -9,17 +8,29 @@ # and font files, we can't use them reliably because they are not # zero terminated. [but we do anyway, christos] 0 string \367\002 TeX DVI file ->16 string >\0 (%s) +>16 string >\0 (%s) 0 string \367\203 TeX generic font data 0 string \367\131 TeX packed font data ->4 string >\0 (%s) +>3 string >\0 (%s) 0 string \367\312 TeX virtual font data -0 string This\ is\ TeX, TeX transcript text +0 string This\ is\ TeX, TeX transcript text 0 string This\ is\ METAFONT, METAFONT transcript text # There is no way to detect TeX Font Metric (*.tfm) files without # breaking them apart and reading the data. The following patterns # match most *.tfm files generated by METAFONT or afm2tfm. 2 string \000\021 TeX font metric data +>33 string >\0 (%s) 2 string \000\022 TeX font metric data ->34 string >\0 (%s) +>33 string >\0 (%s) + +# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com) +0 string \\input\ texinfo Texinfo source text +0 string This\ is\ Info\ file GNU Info text + +# TeX documents, from Daniel Quinlan (quinlan@yggdrasil.com) +0 string \\input TeX document text +0 string \\section LaTeX document text +0 string \\setlength LaTeX document text +0 string \\documentstyle LaTeX document text +0 string \\chapter LaTeX document text |