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
/usr/local/texlive/2012/texmf.cnf
It's currently set to
TEXMF =
{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
but one can easily add another directory to the list, for example:
# I'm not sure which one is the right tree to add
TEXMFPORTS=/opt/local/share/texmf;/opt/local/share/texmf-texlive;/opt/local/share/texmf-texlive-dist
# if you put it last on the list it will have the lowest priority when
searching for files
TEXMF =
{$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST,!!TEXMFPORTS}
It needs some manual tweaking, but it's doable if one is ready to
spend a couple of extra minutes tweaking the installation.
Mojca
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.
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users