ports/59292: dvips one line paper sizes broken?

David Bremner bremner at unb.ca
Fri Nov 14 18:10:22 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list