[OS X TeX] TeXShop error

Maarten Sneep maarten.sneep at xs4all.nl
Sat Mar 15 13:43:16 EDT 2008

On 15 mrt 2008, at 17:27, Herbert Schulz wrote:

> Try commenting out that line (i.e., put a # at the start of the  
> line). It doesn't seem happy with the line that sets the path  
> variable but that may already be set before entering the script. If  
> that doesn't help try ALSO setting the first line to
> #!/bin/bash
> from
> #!/bin/tcsh
> so that bash is used rather than tcsh. Sigh...

The syntax of that file is most definitely tcsh, not bash, at least if  
his XeLaTeX.engine is anything like mine, so bash will balk on it.

I don't know what mechanism TeXShop uses for setting the path for the  
standard pdflatex engine (does that use the engine mechanism at all,  
or are those default engines completely different?)

Here is the equivalent bash syntax:


xelatex "$1"

# end of XeLaTeX.engine as bash.


More information about the MacOSX-TeX mailing list