[tex-live] Problem with xdvik and beamer files

Jean-Pierre Demailly demailly at ujf-grenoble.fr
Sat May 10 17:18:41 CEST 2014


Hi:

Many thanks for creating xdvi/xdvik, I am still using it most of the time 
to view *.dvi files. I just tried the most recent version xdvik-22.87 on
a Debian sid x86_64 box.

I found that dvi files produced with the latex-beamer package are 
not displayed correctly when using 'xdvi' (many postscript specials are
left blank, especially titles, page headers, etc). Please find enclosed
a small test achive 'xdvi_check.tar.bz2' that shows the problem.

In fact the execvp call to 'gs' fails for such specials. As far as I have 
been able to trace things, the problem occurs at the very start with the line
   currentfile cvx execute
that comes from 'psgs.c' (see output below).

It's not a new problem, so maybe you are already aware of this - in fact, 
I have never seen any Linux dvi viewer that had been able to display 
correctly such dvi files, other than converting them first to 
postscript or pdf.

Besides this, I created some years ago a slightly modified version of
xdvik that compiles with an extended version of libxaw3d (enclosed in
the next message). The enclosed 'xdvik.patch' is to be applied with
xdvik-22.87. After installing libxaw3dxft (with './builstd plain' or
'./buildstd debian'), the toplevel script 'build-xdvi-xaw3dxft' should
build it. In my opinion the result is much nicer than with plain Xaw
or Xaw3d, as the new GUI can make use of anti-aliased fonts and UTF8
input anywhere - I even prefer it to the motif version. Notice that
libxaw3dxft-1.6.2d could in fact be made a drop-in replacement for
the most recent version libxaw3d-1.6.2 of libxaw3d (but it has not 
been made so at this point, libxaw3d will not get overwritten).

Best wishes,
Jean-Pierre Demailly

--------------------------

Output when calling "xdvi simple.dvi"

gs: Error: /undefined in --execute--
gs: Operand stack:
gs:    --nostringval--   --nostringval--   2.39105   3.38733   8.26909   0.79701
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--
gs:    2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fals
gs: e   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop
gs:    1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   
gs: %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval-- 
gs:   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --nost
gs: ringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1801 
gs:   1   3   %oparray_pop   --nostringval--   --nostringval--   false   1   %stopped
gs: _push   --nostringval--   --nostringval--   --nostringval--
gs: Dictionary stack:
gs:    --dict:1164/1684(ro)(G)--   --dict:1/20(G)--   --dict:142/200(L)--   --dict:25
gs: /250(L)--   --dict:39/200(L)--
gs: Current allocation mode is local
gs: Last OS error: Resource temporarily unavailable
gs: Error: /undefined in --execute--
gs: Operand stack:
gs:    --nostringval--   --nostringval--   2.39105   3.38733   8.26909   0.79701
gs: Execution stack:
gs:    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--
gs:    2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   fals
gs: e   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop
gs:    1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   
gs: %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval-- 
gs:   2   %stopped_push   --nostringval--   --nostringval--   %loop_continue   --nost
gs: ringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1801 
gs:   1   3   %oparray_pop   --nostringval--   --nostringval--   false   1   %stopped
gs: _push   --nostringval--   --nostringval--   --nostringval--
gs: Dictionary stack:
gs:    --dict:1164/1684(ro)(G)--   --dict:1/20(G)--   --dict:142/200(L)--   --dict:25
gs: /250(L)--   --dict:39/200(L)--
gs: Current allocation mode is local
gs: Last OS error: Resource temporarily unavailable

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdvi_check.tar.bz2
Type: application/octet-stream
Size: 91466 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20140510/5fe44ef1/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xdvik.patch
Type: text/x-diff
Size: 130408 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-live/attachments/20140510/5fe44ef1/attachment-0001.bin>


More information about the tex-live mailing list