possible bug in dvipsk 5.95a, missing %%BeginProlog
| Newsgroups | gmane.comp.tex.tetex.general |
|---|---|
| Message-ID | <[email protected]> |
Aloha,
i mailed this message about 18 Months ago to Tom Rociki (radicaleye?) and never got an answer.
Unfortunately the same is true for dvips in tetex300.
--- snip ---
a question in de.comp.text.tex brought me to a possible problem with
dvips(k) 5.92b. It seems it doesn't include a %%BeginProlog DSC comment in the .ps.
A user got warnings from distiller6.0
Warning [DSC]: Missing %%BeginProlog comment. Found:
%%BeginProcSet: texc.pro
Warning [DSC]: Missing float, using 0.0. Found:
%%BeginProcSet: texc.pro
Warning [DSC]: Missing uint. Found:
%%BeginProcSet: texc.pro
Warning [DSC]: Misplaced DSC comment. Found:
%!
Warning [DSC]: Missing float, using 0.0. Found:
%%BeginProcSet: texps.pro
Warning [DSC]: Missing uint. Found:
%%BeginProcSet: texps.pro
Warning [DSC]: Misplaced DSC comment. Found:
%!
I tried his example (nearly empty file, dvips without any options set)
and came to:
lobingera@athene: dvips -v
This is dvips(k) 5.92b Copyright 2002
lobingera@athene: grep %Begin t.ps
%%BeginProcSet: texc.pro
%%BeginProcSet: f7b6d320.enc
%%BeginProcSet: texps.pro
%%BeginFont: CMR10
%%BeginSetup
lobingera@athene: grep %End t.ps
%%EndComments
%%EndProcSet
%%EndProcSet
%%EndProcSet
%%EndFont
%%EndProlog
%%EndSetup
Even in the source tree of dvips (got it from teTeX202)
lobingera@athene: pwd
/homes/lobingera/tetex-src-2.0.2/texk/dvipsk
lobingera@athene: grep Prolog *
mtest.ps:%%EndProlog
output.c: (void)fprintf(bitfile, "%%%%EndPrologn") ;
special.lpro:% psfigTeX PostScript Prolog
test.ps:%%EndProlog
The full thread that started this can be found here (but german)
http://groups.google.com/groups?hl=de&lr=&ie=UTF-8&threadm=3F2553D8.1C947248%40colognechip.com&rnum=1&prev=/groups%3Fhl%3Dde%26lr%3D%26ie%3DUTF-8%26selm%3D3F2553D8.1C947248%2540colognechip.com
It doesn't seem like a real problem since most of the programs
processing .ps aren't DSC aware, but as the DSC spec tells us
'A non-conforming document most likely will not receive any services
from a document manager, may not be able to be included into another document, and may not be portable.'
--- snip ---
lobingera@sibyl: ~t88soft/teTeX300/bin/sparc-sun-solaris2.8/dvips -oa2.ps a
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.02.22:1219' -> a2.ps
<tex.pro><texps.pro>. <cmr10.pfb>[1]
lobingera@sibyl: grep 'BeginProlog' a2.ps
lobingera@sibyl: grep 'EndProlog' a2.ps
%%EndProlog
Wishing a happy day
LOBI