or the trouble with hard-coded paths and ineffective menus.
I am supposed to present a poster in a conference, about some work I am doing. I asked office mates about what they used... A Mac user suggested Pages, and I asked a more Linux oriented, LaTeX savvy, and he told me: forget about LaTeX and use some WYSIWYG program, you'll save time and effort. It will be nicer, too.
It looked like a good advice, but I am leaving more and more my Mac at home, and working in the office with the netbook. So I started a search for a cross-platform open source page layout program. I had already stumbled onto Scribus a few years ago (I had to write a triptych with the rules of Go to teach teenagers in an event at the faculty, finally did it in LaTeX), and knew it may be up to the task.
Indeed, it is up to the task, and cross-platform. I installed it in the Mac... had a nice TeX button. I thought WOW! I don't have to generate intermediate PS files! But it didn't work. I installed the same version in the netbook... TeX working fine. What was the problem?
A damned problem: The path to the TeX compiler is hard-wired. And it is not even an "assume it is in the path", which would be... well, sane. No, it is hard-wired to some Mac specific route. I guess to the "usual" path to have LaTeX installed, I don't have it there. If you have trouble with Scribus in Mac OS and LaTeX frames (i.e. if it says it cannot start pdflatex), start by opening up your Terminal and write
to get the path you need in the following step. Now open up your favourite text editor, and open the file:
/Applications/Scribus.app/Contents/share/scribus/editorconfig/100_latex.xmland change the following line
to match the result of which before. In my case it was:
The peculiar point is that there is a menu item (Preferences->External Tools) to change the path, but it doesn't apply the change, ever.