Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 13:22:02 +0900 (JST)
From:      watanabe@komadori.planet.sci.kobe-u.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/16048: "file" command cannot recognize LaTeX2e files.
Message-ID:  <200001110422.NAA16289@crayon.planet.sci.kobe-u.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         16048
>Category:       bin
>Synopsis:       "file" command cannot recognize LaTeX2e files.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 10 20:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Takeshi WATANABE
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
Kobe University, Kobe, Japan
>Environment:

  All

>Description:

  For LaTeX209 file ...

% file test1.tex
test1.tex: LaTeX document text

  For LaTeX2e file ...

% file test2.tex
test2.tex: ASCII text

  We use \documentclass in LaTeX2e documents, as well as we use \documentstyle
in LaTeX209 documents.

>How-To-Repeat:

  Always

>Fix:

  Apply following patch.

--- /usr/src/usr.bin/file/Magdir/tex.orig	Tue Jan 23 21:28:50 1996
+++ /usr/src/usr.bin/file/Magdir/tex	Tue Jan 11 13:03:52 2000
@@ -33,4 +33,5 @@
 0	string		\\section	LaTeX document text
 0	string		\\setlength	LaTeX document text
 0	string		\\documentstyle	LaTeX document text
+0	string		\\documentclass	LaTeX document text
 0	string		\\chapter	LaTeX document text

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001110422.NAA16289>