TeX Live and MacTeXproblem with xdvi command

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
prudra
Posts: 5
Joined: Sun Nov 10, 2013 9:29 am

problem with xdvi command

Post by prudra »

On my Debian Jessie Marudra@mahasagar:~/groups$ xdvi group.dvi &
[1] 2737
rudra@mahasagar:~/groups$ gs: Unknown device: x11
gs: Unrecoverable error: undefined in .uninstallpagedevice
gs: Operand stack:
gs: defaultdevice
xdvik: read_from_gs: Connection reset by peer

te DE I have texlive-latex3 installed. I have a number of `\includegraphics{figure.eps}' in the `file.tex' file. As long as the total file length was small there was no problem of showing the figures when I ran `xdvi file.dvi &' after running `latex file.tex' . But when the file grew somewhat
large, then for the figure only the boundary was appearing, but nothing inside the boundary. But if I ran `xpdf file.pdf &' after running `latex file.tex' and
`dvipdf file.dvi', then the full figure was appearing. So it seems that the full figure was being generated by latex command but was not being shown by the
xdvi command. Also after running the xdvi command on the terminal appeared

rudra@mahasagar:~/groups$ xdvi group.dvi &
[1] 2737
rudra@mahasagar:~/groups$ gs: Unknown device: x11
gs: Unrecoverable error: undefined in .uninstallpagedevice
gs: Operand stack:
gs: defaultdevice
xdvik: read_from_gs: Connection reset by peer

This is not causing any harm but is a nuisance.
I shall appreciate help in solving the problem and avoiding the nuisance. Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

problem with xdvi command

Post by Stefan Kottwitz »

Perhaps xdvi just cannot display the embedded eps files. eps is not dvi anyway. You may need to look at the final PDF instead of at the dvi file.

Stefan
LaTeX.org admin
prudra
Posts: 5
Joined: Sun Nov 10, 2013 9:29 am

problem with xdvi command

Post by prudra »

gs --help showed that the device x11 was not listed in gs.
A survey of debian packages list showed that there is a package in their repository that has this device
ghostscript-x (9.06~dfsg-2+deb8u4)
interpreter for the PostScript language and for PDF - X11 support

So #apt-get install ghostscript-x
solved the problem.
Post Reply