Am 05.04.2019 um 03:37 schrieb Fred Engst:
Hi Sven and all, After you mentioned the use of LaTex, I tried and
failed to make my gretl to work with LaTeX for a quite a few days.
Make the long story short, I downloaded MacTeX 2018Basic, and then
downloaded MacTeX 2018 full 4G file! None worked, for I can’t seem to
find the correct pdflatex file that I need to link gretl to on my
Mac. After poking around, I found it in
“~/usr/local/texlive/2018basic/bin/x86_64-darwin”! Now my gretl works
with LaTeX! It seems that had I installed LeTeX first, and then
install gretl, I assume gretl will be able to find it during the
installation process.
I haven't used MacOS in a long time, but I presume the situation there
is the same as on Linux and Windows: In the gretl preferences you
actually do _not_ necessarily have to link to a full file path, but as
the label says to a _command_ that the OS recognizes. Here on my system
for example the entry there is not a path but simply "pdflatex.exe", and
I guess just "pdflatex" would also work. The thing is that the Latex
installation is registered in the relevant system search paths, and so
this command is enough.
If just doing "pdflatex" (obviously without .exe on a Mac, but perhaps
.app, I don't know about that) doesn't work for you, my guess is that
the Latex installation hasn't registered itself successfully. But how it
does that is not something that gretl can document I'd say, as there
exist several Latex distros.
Also you mention "the correct pdflatex file", do you have many of those
lying around?
cheers
sven