[OS X TeX] TeXshop, non european fonts and XeTeX

Herb Schulz herbs at wideopenwest.com
Wed May 11 19:57:57 CEST 2005

On 5/11/05 12:20 PM, "Bruno Voisin" <bvoisin at mac.com> wrote:

> I think the TS-program here must correspond to an engine from ~/
> Library/TeXShop/Engines/. Or maybe to one of the scripts inside /
> Applications/TeXShop.app/Contents/Resources/, in which case that
> could be "contextwrap" instead of "context".


But it also is useful for pdflatex vs. latex (for files that need dvips
processing), i.e.,

%!TEX TS-program=latex

will run through latex->dvips->ps2pdf as expected even though my defaults
are set for pdflatex processing. I guess I'd assume that it should work for
all the default processes in the Typeset Menu but it never has.

> I've not fully mastered the difference between engine files, and the
> scripts specified in the Engine pref tab. For example, inside /
> Applications/TeXShop.app/Contents/Resources/, both contextwrap and
> XeTeX.engine are shell scripts (just open them in TextEdit).
> Bruno

TeXShop ``contains'' all the default .engines, etc., it needs to populate
the necessary directories it creates when it first starts up. That is why,
e.g., CommandCompletion.txt goes back to a default copy if you empty the
~/TeXShop/CommandCompletion/ folder and start up TeXShop. The contextwrap
file is, most likely, what TeXShop uses internally for running texexec.

I made a simple context.engine that simply called

texexec --pdf "$1"

and it works using

%!TEX TS-program = context

on the first line. I'm not sure when TeXShop uses the
--passon=" --interaction=nonstopmode " version in contextwrap.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the macostex-archives mailing list