[XeTeX] pfaedit

Peter Dyballa Peter_Dyballa at Web.DE
Sun Aug 7 13:13:55 CEST 2005


Am 07.08.2005 um 01:09 schrieb Willem Smelik:

> So I installed the package via i-Installer, but the terminal does not
> recognize pfaedit ?
>

What do you mean by this? Do you mean you type 'pfaedit <some 
parameters and option> RET' and the Terminal returns '<some>sh: 
pfaedit: Command not found.' ?

If this is true then the cure is easy: either invoke pfaedit with its 
full pathname as /usr/local/bin/pfaedit (or as /usr/local/bin/fontforge 
as its name is now) or you change two or more files that the search 
path for programmes is extended by /usr/local/bin. This is done by 
editing as superuser (in Emacs, vi, pico), i.e. with sudo before the 
actual command, /etc/profile (when you use bash as login shell) and/or 
/etc/csh.login (when your login shell is tcsh). (You too can created an 
alias. Read about it in 'man bash' or 'man tcsh'.)

In /etc/profile you have to edit the line going PATH="/bin:... to 
become PATH="/bin:...:/usr/local/bin.

In /etc/csh.login the syntax is a bit different and you have to edit 
the line containing set path = ( ${path} ... ) to become set path = ( 
${path} ... /usr/local/bin ).

These changes work for all users of your Mac. If you want to restrict 
it for yourself you can edit the files ~/.profile or ~/.login.

The other personal method is to edit or create first, if it doesn't 
exist yet, the file ~/.MacOSX/environment.plist. This file is a 
leftover from NEXTSTEP and Apple has one or two technical notes on this 
file. The most easiest way to edit it is to have plist (property list) 
editor around. If you have installed the Mac OS X Developer Tools 
you'll have, otherwise you'll need to get one (there are one or two for 
free and one or two for money) -- or you install the Developer Tools 
meta package from DVD. Then just invoke 'open 
~/.MacOSX/environment.plist' from the command line and you can edit the 
file. The 'Sibling' PATH is the right place to add, on the right side, 
':/usr/local/bin' at the end.

The last mentioned method needs that you log-out and log-in again to 
make the change work, in case you have edited the files in /etc or in ~ 
(your home directory, $HOME) it would work when you open a new Terminal 
(⌘-n).

--
Greetings

   Pete

Government is actually the worst failure of civilized man. There has
never been a really good one, and even those that are most tolerable
are arbitrary, cruel, grasping and unintelligent.       -- H. L. Mencken



More information about the XeTeX mailing list