Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2003 14:06:51 -0400
From:      David Bremner <bremner@unb.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59292: dvips one line paper sizes broken?
Message-ID:  <E1AKiLL-000EtI-VZ@convex.cs.unb.ca>
Resent-Message-ID: <200311141810.hAEIAKCw068605@freefall.freebsd.org>

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

>Number:         59292
>Category:       ports
>Synopsis:       dvips one line paper sizes broken?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 14 10:10:20 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Bremner
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
University of New Brunswick
>Environment:
System: FreeBSD convex.cs.unb.ca 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Fri Nov 14 10:54:50 AST 2003 bremner@convex.cs.unb.ca:/usr/obj/usr/src/sys/CONVEX2 i386

teTeX-2.0.2_2, compiled from port

	
>Description:
	dvips seems read the next @-line for one line paper sizes
	and puts it (partly) in the output. This generates incorrect PS.

>How-To-Repeat:

With the following first two paper configurations in
/usr/local/share/texmf/dvips/config/config.ps

----------------------------------------------------------------------
@ letterSize 8.5in 11in
@+ % Some harmless comment

@ A4size 210mm 297mm
@+ %%PaperSize: A4
---------------------------------------------------------------------- 
I get
---------------------------------------------------------------------- 
%%BeginSetup
%%Feature: *Resolution 600dpi
TeXDict begin
A4size
 end
%%EndSetup
---------------------------------------------------------------------- 
in my output file 	

>Fix:

If I add a second line to the papersize definition, 
---------------------------------------------------------------------- 
@ letterSize 8.5in 11in
@+ % Some harmless comment
---------------------------------------------------------------------- 
I get 
---------------------------------------------------------------------- 
%%BeginSetup
%%Feature: *Resolution 600dpi
TeXDict begin
% Some harmless comment
 end
%%EndSetup
----------------------------------------------------------------------


Which does no apparent harm.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AKiLL-000EtI-VZ>