[tex-live] TeX-Live on Windows -- problem with dviout fixed

James Eastwood jwe at cpceditor.demon.co.uk
Fri Mar 5 11:59:36 CET 2010


I have just installed the Oct2009 texlive in my Windows XP machine, and found 
that dviout hung when I used it on files with included graphics.

When I set gsx to point to another version of ghostscript that I have on my 
machine the problem went away.

Listed below are the cmd window output and the tmp files that dviout produces.
I fixed the problem of the distributed version of ghostscript not working by 
adding a Resource directory and copying the gs_res.ps file from the standard 
ghostscript distribution to the lib directory of the texlive distribution 
ghostscript.

-------
Another problem I have is setting the dviout search path for graphics files. 
Does anyone have a suggestion as to the best way to do this?


------------------------------------------------------------------------------------------------------
cmd window output

d:\jim\mytex>C:\texlive\2009\tlpkg\tlgs\bin\gswin32c.exe @tmp$.@@@
While reading gs_res.ps:
Error: /rangecheck in --getinterval--
Operand stack:
   (gs_res.ps)   (C:\\texlive\\2009\\tlpkg\\tlgs\\Resource)   ()   0   1
Execution stack:
   %interp_exit   --nostringval--   --nostringval--   --nostringval--   %array_c

ontinue   --nostringval--   --nostringval--   --nostringval--   false   
1   %sto

pped_push   --nostringval--   --nostringval--   --nostringval--   %array_continu

e   --nostringval--
Dictionary stack:
   --dict:777/1123(G)--   --dict:63/200(L)--   --dict:777/1123
(G)--   --dict:165

/251(G)--   --dict:777/1123(G)--   --dict:23/40(ro)(G)--
Last OS error: No such file or directory
Current file position is 11736
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
    gs_res.ps  C:\texlive\2009\tlpkg\tlgs\Resource    0  1

d:\jim\mytex>Pause to keep the above message by Cut   & Paste!
Press any key to continue . . .

------------------------------------------
@tmp$.@@@ file

-q
-dNOPAUSE
-sDEVICE=pbmraw
-sOUTPUTFILE=CulhamEMlogo.pbm
-r600
-g1181x406
tmp$.ps
quit.ps

--------------------------------------------
@tmp$.ps file

/NumbDict countdictstack def
1 dict begin
/showpage {} def
userdict begin
0.000000 0.000000 translate
0.659070 0.659070 scale
-0.000000 -0.000000 translate
(CulhamEMlogo.eps) run
countdictstack NumbDict sub {end} repeat
showpage
--------------------------------------------


-- 
---------------------------------------------------------------------
James Eastwood                   Tel: +(44) 1235 848360
Principal Editor                 Fax: +(44) 1865 408301
Computer Physics Communications  Mob: +(44) 7879 881282
jwe at cpceditor.demon.co.uk


More information about the tex-live mailing list