[OS X TeX] Using xdvik with eps graphics?
Bruno Voisin
bvoisin at mac.com
Fri Mar 17 04:40:56 EST 2006
Le 17 mars 06 à 10:25, Peter Dyballa a écrit :
> 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).
From ghostscript-8.configure in the GhostScript 8 i-Package:
if ( -e "/usr/X11R6/lib/libXt.6.dylib" ) {
print "### ${PROGNAME}: Detected X11R6 installation.\n";
system( "rm \"${II2INSTALLDIR}/bin/gs\"");
system( "ln -s gs-X11 \"${II2INSTALLDIR}/bin/gs\"");
}
else {
print "### ${PROGNAME}: X11R6 installation not detected.\n";
system( "rm \"${II2INSTALLDIR}/bin/gs\"");
system( "ln -s gs-noX11 \"${II2INSTALLDIR}/bin/gs\"");
}
Thus it seems gs is made an alias to either gs-X11 or gs-noX11 at
install time, depending on whether Apple X11 is present or not.
Indeed, on my setup (which includes Apple X11) I get:
/usr/local/bin $ ls -l gs*
lrwxr-xr-x 1 root wheel 6 Mar 17 06:53 gs -> gs-X11
-rwxr-xr-x 1 root admin 6224112 Feb 6 19:36 gs-X11
-rwxr-xr-x 1 root admin 6110324 Feb 6 19:36 gs-noX11
Bruno Voisin------------------------- 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 MacOSX-TeX
mailing list