From owner-freebsd-ports Thu Nov 14 3:10: 5 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB6ED37B401 for ; Thu, 14 Nov 2002 03:10:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33EB843E6E for ; Thu, 14 Nov 2002 03:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAEBA2x3077632 for ; Thu, 14 Nov 2002 03:10:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAEBA2rA077631; Thu, 14 Nov 2002 03:10:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E25AF37B401 for ; Thu, 14 Nov 2002 03:04:07 -0800 (PST) Received: from leaf.tateoka.org (leaf.cs.uec.ac.jp [130.153.88.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17D4243E42 for ; Thu, 14 Nov 2002 03:04:06 -0800 (PST) (envelope-from tate@leaf.mobile.tateoka.org) Received: from leaf.mobile.tateoka.org (localhost [127.0.0.1]) by leaf.mobile.tateoka.org (8.12.6/8.12.6) with ESMTP id gAEAlhfI027056 for ; Thu, 14 Nov 2002 19:47:43 +0900 (JST) (envelope-from tate@leaf.mobile.tateoka.org) Received: (from tate@localhost) by leaf.mobile.tateoka.org (8.12.6/8.12.6/Submit) id gAEAlhiA027055; Thu, 14 Nov 2002 19:47:43 +0900 (JST) Message-Id: <200211141047.gAEAlhiA027055@leaf.mobile.tateoka.org> Date: Thu, 14 Nov 2002 19:47:43 +0900 (JST) From: TATEOKA Takamichi Reply-To: TATEOKA Takamichi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45289: ja-dvi2ps-3.2 does not handle \special correctly Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45289 >Category: ports >Synopsis: ja-dvi2ps-3.2 does not handle \special correctly >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 14 03:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: TATEOKA Takamichi >Release: FreeBSD 4.7-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD leaf 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #3: Tue Nov 12 17:32:43 JST 2002 tate@leaf:/usr/src/sys/compile/LEAF i386 ja-dvi2ps-3.2, ja-ptex-euc-2.1.11 (and dependencies) >Description: dvi2ps does not handle \special corrently. If \special is used in TeX source file, the generated PostScript file makes PostScript Error during interpretation. >How-To-Repeat: [make a eps file on ttt.eps] leaf:tate[34]% cat tttt.tex \documentclass{article} \begin{document} \special{epsfile=ttt.eps} \end{document} leaf:tate[35]% latex tttt.tex This is TeX, Version 3.14159 (Web2C 7.3.1) [snip] leaf:tate[36]% dvi2ps tttt.dvi >tttt.ps @(#)dvi2ps (j-version) 3.2j Prescanning .[/usr/local/lib/dvi2ps/headers/dvi2.ps] Reading font info . [1[ttt.eps] ] leaf:tate[37]% gs tttt.ps GNU Ghostscript 7.05 (2002-04-22) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Error: /undefined in @beginspecial Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1049/1123(ro)(G)-- --dict:0/20(G)-- --dict:69/200(L)-- --dict:78/300(L)-- Current allocation mode is local Current file position is 5595 GNU Ghostscript 7.05: Unrecoverable error, exit code 1 leaf:tate[38]% >Fix: Use "fontdesc header" instead of "include headers/dvi2.ps" in /usr/local/lib/dvi2ps/fontdesc leaf# diff fontdesc.DIST fontdesc 26c26 < include headers/dvi2.ps --- > fontdesc header leaf# >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message