[OS X TeX] Installing "MacTeXtras" using MacPorts

Roussanka Loukanova rloukano at stp.lingfil.uu.se
Sat Mar 3 08:02:00 EST 2007


Hi,

On Sat, 3 Mar 2007, Bruno Voisin wrote:

>>> AFAIK both i-Installer and MacTeX check at install time whether X11 is 
>>> already available, and if so install an X11-enabled version of 
>>> GhostScript; if not, they install a not-X11-enabled version.
...
>
> Regarding my original assertion on GhostScript and X11: more exactly, when 
> installing the GhostScript i-Package i-Installer installs both gs-X11 and 
> gs-noX11, and checks whether X11 is available; then, if it is, gs is made a 
> symlink to gs-X11, and, if it's not, gs is made a symlink to gs-noX11.

This had been so cloudy to me that I even could not formulate a question. 
Thanks for this so clear explanation.

...
> And indeed on my setup, in /usr/local/bin:
>
> lrwxr-xr-x   1 root      wheel       21 Feb 13 09:10 gs -> /usr/local/bin/gs-X11
> -rwxr-xr-x   1 root      admin  6711152 Sep 26 00:24 gs-X11
> -rwxr-xr-x   1 root      admin  6589176 Sep 26 00:24 gs-noX11
...
> I'm not sure similar things are done when installing xdvi. I saw no such code 
> inside texlive.ii2 (= the gwTeX i-Package), and I tend to think xdvi is 
> installed in all circumstances. On my setup, in 
> /usr/local/gwTeX/bin/powerpc-apple-darwin7.9.0:
>
> -rwxr-xr-x   1 root      wheel     1697 Feb  5 01:15 xdvi
> -rwxr-xr-x   1 root      wheel   828324 Feb  5 01:15 xdvi-xaw.bin
>
> and in /usr/local/texlive/2007/bin/powerpc-darwin:
>
> -rwxr-xr-x   1 root  wheel     1697 Dec 28  2005 xdvi
> -rwxr-xr-x   1 root  wheel   828324 Jan 23 01:12 xdvi-xaw.bin

All these are absolutely the same on my MacBook Pro, with the exception of 
the date when the symbolic link was created (exactly when I re-installed 
MacTeX and gwTeX):

lrwxr-xr-x   1 root  wheel       21 Feb 24 21:53 gs -> /usr/local/bin/gs-X11

...
> On the other hand, GhostScript is used indeed in the simpdftex script 
> (formerly altpdftex and altpdflatex) to produce a PDF file from a .tex 
> source, by operating TeX -> dvips -> ps2pdf.

This has also become clearer to me. I have been puzzled about the relation 
between the settings Engine and Typesetting in

TeXShop Preferences:

Engine
TeX + dvips + distiller
Latex Program (default: altpdflatex)
simpdftex latex --maxpfb

Typesetting
Default Script
Tex + Ghostscript

In order to get the TeX -> dvips -> ps2pdf working in Emacs/AUCteX (for 
typesetting tex files with drawings dependent on dvips), 
I added simpdftex as AUCTeX command in Emacs. Now, with the new 
versions of Emacs, the dvips drawings get processed straightly by
1) latex
2) View with TeXShop (where, I believe, the dvips + ps2pdf 
happens).

BTW, now, in Seiji Zenitani's Carbon Emacs, the default View is

"open -a TeXShop" for dvi files
"open -a Preview" for pdf files

I find all this very good and convenient for interleaved work with
gwTeX (or TeXLive-07) + TeXShop + Emacs.

...
> There is also now (in MacTeX, not gwTeX, but maybe I've forgotten to update 
> gwTeX to the latest version) a modified script simpdftex_dpmx, incorporating 
> a fix by Jin-Hwan Cho to allow use of dvipdfmx as an alternative to dvips + 
> ps2pdf.

I though that Jin-Hwan Cho's explanation was very rational and tried 
to switch TeXShop to simpdftex_dpmx, just by substitution of simpdftex 
with simpdftex_dpmx inside

TeXShop Preferences

Engine
TeX + dvips + distiller
Latex Program (default: altpdflatex)
simpdftex latex --maxpfb

But it did not work. I'll have to try that again.

> Please forget that part of my message. I was having a bad day and should have 
> refrained from answering. Certainly it's not up to me to decide who should 
> post and to say what. Often I have difficulties to understand what you mean, 
> but with answers bringing in some clarification I actually find your posts 
> quite useful. The only thing is that I'm a bit shocked by your acrimony 
> towards gwTeX and MacTeX.

I think you did very well by your reaction, and, I am quite sure that Pete 
understands that. He has been helpful, at least after my coming to the 
list. All we have bad moments now and then, (hopefully) good too; and it 
is good when we get the good ones predominating.

Roussanka

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list