[OS X TeX] Strange TeXShop engine behaviour

Alan Munn amunn at gmx.com
Fri Sep 23 00:40:57 CEST 2011

On Sep 22, 2011, at 5:21 PM, Peter Dyballa wrote:

> Am 22.09.2011 um 20:15 schrieb Alan Munn:
>> export PATH=$PATH:/usr/texbin:/usr/local/bin
> This does not look that good: $PATH can contain the path to some other TeX distribution… Usually /usr/texbin is put before the standard path. OTOH, $PATH can be already correct from what the Mac TeX installation does to your system. Then the last two components are not needed.

I was just modeling this on other TeXShop engines, which do it this way (e.g. XeLaTeX.engine, LuaLaTeX.engine).  My system only has MacTeX on it anyway, so it's not really a problem.

And I'm assuming this is not the source of the encoding issue.  Somehow it seems that when bash is called from within TeXShop it doesn't respect the locale.

Which leads me to a solution:

if I add

export LANG=en_US.UTF-8

to the engine, then it works.  (Although this will work for me, a better solution would use the encoding of the actual file, but I don't know how to do that.)


> --
> Greetings
>  Pete
> There's something the technicians need to learn from the artists. If it isn't aesthetically pleasing, it's probably wrong.
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex

Alan Munn
amunn at gmx.com

More information about the macostex-archives mailing list