1 |
2#------------------------------------------------------------------------------ |
3# $File: tex,v 1.18 2011/02/08 13:45:15 christos Exp $ |
4# tex: file(1) magic for TeX files 5# 6# XXX - needs byte-endian stuff (big-endian and little-endian DVI?) 7# 8# From <conklin@talisman.kaleida.com> 9 10# Although we may know the offset of certain text fields in TeX DVI 11# and font files, we can't use them reliably because they are not --- 20 unchanged lines hidden (view full) --- 32 33# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com) 340 search/1 \\input\ texinfo Texinfo source text 35!:mime text/x-texinfo 360 search/1 This\ is\ Info\ file GNU Info text 37!:mime text/x-info 38 39# TeX documents, from Daniel Quinlan (quinlan@yggdrasil.com) |
400 search/4096 \\input TeX document text |
41!:mime text/x-tex |
42!:strength + 15 430 search/4096 \\section LaTeX document text |
44!:mime text/x-tex |
45!:strength + 18 460 search/4096 \\setlength LaTeX document text |
47!:mime text/x-tex |
48!:strength + 15 490 search/4096 \\documentstyle LaTeX document text |
50!:mime text/x-tex |
51!:strength + 18 520 search/4096 \\chapter LaTeX document text |
53!:mime text/x-tex |
54!:strength + 18 550 search/4096 \\documentclass LaTeX 2e document text |
56!:mime text/x-tex |
57!:strength + 15 580 search/4096 \\relax LaTeX auxiliary file |
59!:mime text/x-tex |
60!:strength + 15 610 search/4096 \\contentsline LaTeX table of contents |
62!:mime text/x-tex |
63!:strength + 15 640 search/4096 %\ -*-latex-*- LaTeX document text |
65!:mime text/x-tex 66 67# Tex document, from Hendrik Scholz <hendrik@scholz.net> 680 search/1 \\ifx TeX document text 69 70# Index and glossary files |
710 search/4096 \\indexentry LaTeX raw index file 720 search/4096 \\begin{theindex} LaTeX sorted index 730 search/4096 \\glossaryentry LaTeX raw glossary 740 search/4096 \\begin{theglossary} LaTeX sorted glossary 750 search/4096 This\ is\ makeindex Makeindex log file |
76 77# End of TeX 78 79#------------------------------------------------------------------------------ 80# file(1) magic for BibTex text files 81# From Hendrik Scholz <hendrik@scholz.net> 82 830 search/1/c @article{ BibTeX text file --- 12 unchanged lines hidden (view full) --- 96 9773 search/1 %%%\ \ @BibTeX-style-file{ BibTeX style text file (with full header) 98 990 search/1 %\ BibTeX\ standard\ bibliography\ BibTeX standard bibliography style text file 100 1010 search/1 %\ BibTeX\ ` BibTeX custom bibliography style text file 102 1030 search/1 @c\ @mapfile{ TeX font aliases text file |
104 1050 string #LyX LyX document text |