Install MacPorts version of LaTeXML but MacTeX's TeXLive not MacPorts'?

Mojca Miklavec mojca.miklavec.lists at
Mon Oct 1 22:09:41 PDT 2012

On Tue, Oct 2, 2012 at 12:05 AM, Dan Ports wrote:
> On Fri, Sep 28, 2012 at 02:51:02PM -0500, Ryan Schmidt wrote:
>> The usual way to install a port that requires TeX, without installing TeX itself from MacPorts, is to ensure that the path to your TeX distribution is edited into the binpath variable in the macports.conf file. I don't know whether that works with the LaTeXML port specifically but it looks like it might.
> Usually this works with ports for ports that just invoke TeX at
> runtime, but not those that need to install style files, as those are
> installed only for a MacPorts texlive installation.

If that's the only problem, one can change (=add) TEXMF variable inside

It's currently set to
but one can easily add another directory to the list, for example:

# I'm not sure which one is the right tree to add
# if you put it last on the list it will have the lowest priority when
searching for files

It needs some manual tweaking, but it's doable if one is ready to
spend a couple of extra minutes tweaking the installation.


PS: I wanted to suggest to set TEXMFPORTS to
/opt/local/share/texmf-[mac]ports to get clear distinction between
texlive and other ports (like gnuplot) installing files there.

More information about the macports-users mailing list