Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 19:47:43 +0900 (JST)
From:      TATEOKA Takamichi <tate@tateoka.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45289: ja-dvi2ps-3.2 does not handle \special correctly
Message-ID:  <200211141047.gAEAlhiA027055@leaf.mobile.tateoka.org>

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

>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




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