Ben Abbott wrote: > I followed the instructions to switch to snow leopard. I've deleted [] > Default Command: Latex > Default Script: Tex + DVI > Tex: altpdflatex > Latex: altpdflatex
Contemporary versions of tex use simpdftex instead of altpdftex, whose development stopped ca 2002. > When I typeset, I get ... > > ### This is /sw/bin/altpdflatex, Version $Revision: 2.14 $ > ### /sw/bin/latex test.tex > This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) > entering extended mode [] > ### /sw/bin/dvips -R -Poutline -o /tmp/altpdflatex.53342/-n test.ps - > n test.dvi > /sw/bin/dvips: ! Bad number of pages option (-n). [] > Any ideas as to what happened to break TeXShop? This should have been broken on Leopard already. The problem is that altpdftex uses "echo -n" inside a sh script, and Apple, trying to be more POSIX conforming than POSIX requires, removed the "-n" flag from the echo command that is executed by /bin/sh. A workaround is to edit the /sw/bin/altpdftex script by hand and to replace the first line #!/bin/sh by #!/bin/bash or, as simpdftex did, replace both occurrences of "echo -n" by "/bin/echo -n". -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users