[OS X TeX] Using xdvik with eps graphics?
Peter Dyballa
Peter_Dyballa at Web.DE
Fri Mar 17 10:25:17 CET 2006
Am 17.03.2006 um 03:38 schrieb Chris Skeels:
> I have been trying to work out how to use xdvik together with
> Gerben's teTeX distribution. I have reached the point where I can
> get xdvik to to view dvi files that I have created and can
> synchronize between the xdvik and the tex file. What I haven't
> been able to figure is how to view eps graphics in xdvik, although
> I understand that it should be able to. I was wondering if
> somebody could provide me with either (i) a (tiny) step by (tiny)
> step description of what needs to be done to make this happen. i.e.
> there is no detail to insignificant to include to one as unix
> challenged as am I, or (ii) a pointer to some documentation that
> might help.
The problem seems to be that Gerben distributes a version of gs that
cannot display in X11, it's just a simple interpreter. You'd need to
get a version of Ghostscript that is enabled to use X11. You can get
these from Fink or DarwinPorts ...
In a recent version of the Ghostscript-8 i-Package I can see:
lrwxrwxrwx root/admin 0 2006-02-06 19:39:58 ./bin/gs -> gs-noX11
-rwxr-xr-x root/admin 6110324 2006-02-06 19:36:20 ./bin/gs-noX11
-rwxr-xr-x root/admin 6224112 2006-02-06 19:36:20 ./bin/gs-X11
so the actual cure can be simple, provided you have this package
installed: make the symbolic link gs* point to gs-X11! To check
whether gs-X11 really works, invoke 'gs-X11 <a PS or an EPS file>' --
you can quit gs-X11 by following its suggestions in Terminal or xterm
or GNU Emacs and finally press ^D (control d, end of PostScript).
* To find out where it is, type 'which gs' and/or do 'cd `which gs`',
then you can 'sudo -H rm gs' and 'sudo -H ln -s ./gs-X11 gs'. Finished.
--
Greetings
Pete
"A mathematician is a machine that turns coffee into theorems."
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
More information about the macostex-archives
mailing list