[OS X TeX] TeXShop: run ConTeXt on XeTeX?

Herbert Schulz herbs at wideopenwest.com
Tue Feb 6 15:54:35 CET 2007


On Feb 6, 2007, at 8:40 AM, Oliver Buerschaper wrote:

> Hi all,
>
> I was wondering how to run a file written in the macropackage  
> ConTeXt with the XeTeX from within TeXShop. In the typesetting menu  
> there's only "XeTeX" and "XeLaTeX" :-(
>
> In the terminal I would issue the command
> $ texexec --xtx file.tex
> which runs one of ConTeXt's Ruby scripts in order to take care of  
> the entire typesetting process.
>
> Best wishes,
> Oliver

Howdy,

You can build a new engine file for TeXShop with that command.  
Duplicate one of the engine files in ~/Library/TeXShop/Engines/ (to  
preserve the execute permissions) and rename it xecontext.engine.  
Open it in TeXShop by double clicking. change the command there to  
the proper command line command, substituting "$1" (including the  
double quotes --- in case there is a space in the file name) for  
file.tex. Save it.

Then put the line

%!TEX TS-program = xecontext

and typesetting will automatically run the xecontext engine.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the macostex-archives mailing list