Hi Steffen,

A few months ago I sent to the XeTeX list the following message  
regarding the use of XeConTeXt (that is a format mixing XeTeX and  
ConTeXt) from within TeXShop:

1) Create a (text) file called XeConTeXt.engine containing the lines:

#!/bin/tcsh

set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current / 
usr/local/bin)
texexec --xtx  "$1"

and save it in the directory
~/Library/TeXShop/Engines

If you use any other "shell" than "tcsh" you should put that shell  
instead. (The name "XeConTeXt.engine" can actually be  
"whatYouWant.engine").

2) In a Terminal window make this file "XeConTeXt.engine" executable  
with the command

chmod 755 XeConTeXt.engine

3) Reopen TeXShop and a file you want to typeset with XeConTeXt:  
you'll see in a small menu in the toolbar of the source file, that  
there is an option with XeConTeXt. Choose this and then typeset your  
file.

Note: The above works provided the format cont-en.fmt created with  
XeTeX sits in the directory
/usr/local/teTeX/share/texmf.local/web2c/xetex

I hope this will be useful for what you want to do.

Best regards: OK

On 12 févr. 2006, at 18:10, Steffen Wolfrum wrote:

> OK, a while ago I've found the XeTeX page in Patrick's garden: http://
> wiki.contextgarden.net/XeTeX
> Now it works with both (pdfetex and xetex). Works fine in Terminal:
> texexec --xtx text.tex
>
> But the next problem is TeXShop.  How do I trigger ConTeXt-XeTeX in
> TeXShop?
> The only solution I've found is:
>
> 1) start the document with  %&program=xetex
> 2) in TeXShop's menu choose "Typeset": "ConTeXt" and "Personal Script"
>
> This will typeset a ConTeXt file with XeTeX.
> But at the end of TeXShop's log it says:
>
> "This script has been deprecated. Please call
>
>      simpdftex latex test.dvi
>
> instead."
>
>
> So, what was wrong? What's the correct way?
>
> Steffen
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to