Thomas Dumm wrote: > Dear Mr Shafie, > > I wrote this question already in August, and got an answer from a kind > xmlmind user. Unfortunately the answer did not solve my problem. So I > dare to ask again: > > How do I set the PATH on Mac OS X 10.5 such that "gs" (the > ghostscript-command) is found by the imagetoolkit. > (In what file do I have to place a command and with what command do I > have to place?) >
Let's suppose that the command-line utility gs is found in /usr/local/bin. (This is what happened after I installed a nicely packaged TeX on Mac OS X 10.5.) You need to add /usr/local/bin to your PATH. The pitfall is that you need to add it, not to the PATH of commands launched using a terminal, but to the PATH of applications started by double-clicking on their icons. You need to create ~/.MacOSX/environment.plist to specify such PATH. See attached DOTMacOSX_environment.plist. After doing this, the imagetoolkits.incl supplied in the add-on called "A sample customize.xxe" should run out of the box. See attached screenshot. --- PS: Note that as of v4.1, the user preferences directory is ~/Library/Application Support/XMLmind/XMLEditor4/ on the Mac. See http://www.xmlmind.com/xmleditor/changes.html -------------- next part -------------- A non-text attachment was scrubbed... Name: gs_in_action.png Type: image/png Size: 163583 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081022/7330c6ea/attachment.png -------------- next part -------------- A non-text attachment was scrubbed... Name: DOTMacOSX_environment.plist Type: text/xml Size: 356 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081022/7330c6ea/attachment.xml

