From owner-freebsd-bugs Mon Jan 10 20:30:42 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A616153E9 for ; Mon, 10 Jan 2000 20:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA63480; Mon, 10 Jan 2000 20:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from crayon.planet.sci.kobe-u.ac.jp (crayon.planet.sci.kobe-u.ac.jp [133.30.53.130]) by hub.freebsd.org (Postfix) with ESMTP id 61E0415402 for ; Mon, 10 Jan 2000 20:22:59 -0800 (PST) (envelope-from watanabe@crayon.planet.sci.kobe-u.ac.jp) Received: (from watanabe@localhost) by crayon.planet.sci.kobe-u.ac.jp (8.9.3/3.7W-mx) id NAA16289; Tue, 11 Jan 2000 13:22:02 +0900 (JST) Message-Id: <200001110422.NAA16289@crayon.planet.sci.kobe-u.ac.jp> Date: Tue, 11 Jan 2000 13:22:02 +0900 (JST) From: watanabe@komadori.planet.sci.kobe-u.ac.jp Reply-To: watanabe@komadori.planet.sci.kobe-u.ac.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/16048: "file" command cannot recognize LaTeX2e files. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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