summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-12-21 16:50:04 +0000
committerChristos Zoulas <christos@zoulas.com>2022-12-21 16:50:04 +0000
commit13aa1436eb7ed691272b07dbc34bdd7a5414fcda (patch)
tree3511a44920bd47013c7fa0e3c665d36dc565b4a9
parentab6efaf559950d70767b46f69ea05f70f99dfa25 (diff)
downloadfile-git-13aa1436eb7ed691272b07dbc34bdd7a5414fcda.tar.gz
TeX improvements from Christoph Biedl
-rw-r--r--magic/Magdir/tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/magic/Magdir/tex b/magic/Magdir/tex
index aaeae169..e66f8ffd 100644
--- a/magic/Magdir/tex
+++ b/magic/Magdir/tex
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: tex,v 1.21 2019/04/19 00:42:27 christos Exp $
+# $File: tex,v 1.22 2022/12/21 16:50:04 christos Exp $
# tex: file(1) magic for TeX files
#
# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
@@ -10,13 +10,15 @@
# Although we may know the offset of certain text fields in TeX DVI
# 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
+0 string \367\002
+>(14.b+15) string \213
+>>14 pstring >\0 TeX DVI file (%s)
!:mime application/x-dvi
->16 string >\0 (%s)
0 string \367\203 TeX generic font data
0 string \367\131 TeX packed font data
>3 string >\0 (%s)
-0 string \367\312 TeX virtual font data
+0 string \367\312
+>(2.b+11) string \363 TeX virtual font data
0 search/1 This\ is\ TeX, TeX transcript text
0 search/1 This\ is\ METAFONT, METAFONT transcript text