[OS X TeX] TeXShop error

Herbert Schulz herbs at wideopenwest.com
Sat Mar 15 14:24:17 EDT 2008


On Mar 15, 2008, at 12:43 PM, Maarten Sneep wrote:

> 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:
>
> #!/bin/bash
>
> PATH="$PATH:/usr/texbin:/usr/local/bin"
> xelatex "$1"
>
> # end of XeLaTeX.engine as bash.
>
> Maarten
>

Howdy,

In many engine files that I've written I've completely left out the  
setting of the path/PATH variables since they seem to be set before  
the engine script is executed.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)





More information about the MacOSX-TeX mailing list