[OS X TeX] Re: BBedit and LaTeX integration under Leopard
J.Rawnsley at warwick.ac.uk
Sat Jan 19 07:33:50 EST 2008
On Jan 19, 2008, at 12:04, Maarten Sneep wrote:
> Since then I have discovered how X11 is supposed to work on leopard.
> - Remove all references to a hard-coded DISPLAY environment. If echo
> $DISPLAY returs :0 or 0.0, then you have the wrong value. The value
> may be lurking in ~/.MacOSX/environment.plist or in your .bashrc
> (.tcshrc). If your DISPLAY environment variable is similar to /tmp/
> launch-YWDYrq/:0 (i.e. a socket) then you are all set (the letters
> are random).
> - Install the updated X11 for leopard from http://trac.macosforge.org/projects/xquartz
> - Do not start X11.app, not directly, not from the dock. Do not
> double click on X11.app in /Applications/Utilities/
> - From the Apple Terminal, just start xdvi (or any X11 application).
> As soon as the library gets (dynamically) loaded, X11 will start.
> - Since X11 is now started from the Apple Terminal, there is no need
> to ensure that X11 has its own correct environment.
> There is absolutely no need to mess with ~/.MacOSX/
> environment.plist, really there isn't.
This is very useful information as I have been trying to get xfig
working on Leopard and completely destroyed my X11 setup in the
process. Installing the above Leopard patch over the version of X11
from the Leopard DVD got me going again.
No luck with xfig but Dia installed via MacPorts seems a good
alternative, reads .fig files and exports .eps.
So I now have 4 working TeX environments on Leopard: TeXShop, BBEdit-
OzTeX, xemacs-xdvi and BBEdit with your scripts. That should give my
users an adequate choice :-)
John Rawnsley | <http://go.warwick.ac.uk/jhrawnsley>
More information about the MacOSX-TeX