[XeTeX] XeTeX and PDF Forms

Jonathan Kew jonathan_kew at sil.org
Wed Feb 6 15:03:58 CET 2008


On 6 Feb 2008, at 1:47 pm, Peter Dyballa wrote:

>> Or TextEdit for those that like mouses :)
>>   open -e ~/Library/TeXShop/Engines/XeLaTeXx.engine
>
> The latter does not guarantee that TextEdit is used. You can set
> another application to handle "engine" files.

No, the -e flag tells "open" to use /Applications/TextEdit,  
regardless of the default association for the filename extension.  
(See "man open".)

> Besides this issue of uncertainty, also for the encoding in which the
> file might be saved (if the last line does not have a final LINE FEED
> character as with some Mac encoding, this last line, i.e. the whole
> shell script will not execute), you can't use TextEdit or any other
> Mac OS X application to modify any file owned by the root or super-
> user inside the TeX distribution.

Yes you can. Personally, I like TextWrangler, which handles such  
issues just fine; it will prompt for authentication when needed, and  
can then modify root-owned files.

It also comes with a handy command-line tool "edit", so that files  
can be opened in TW from the command line; e.g.,

     edit `kpsewhich texmf.cnf`

to easily edit a file located by kpsewhich.

And it has a useful file compare/merge feature thrown in, also  
available from the command line (twdiff) as well as through the GUI.

JK



More information about the XeTeX mailing list