LaTeXML Portfile issues

Miller, Bruce R bruce.miller at
Wed Jul 9 04:29:23 PDT 2014

[sorry for top posting (outlook :< )]

Perhaps the automatic character is causing problems here.
I've tried another approach which defines 2 variants 
  +texlive which depends on texlive and installs appropriately;
  +mactex which assumes MacTeX being installed & installs the style files
    in MacTeX's space (outside macports!)

Hopefully this conforms better to MacPort's constraints.

See the comments in the ticket
along with the new Portfile (& diff).


From: Ryan Schmidt <ryandesign at>
Sent: Sunday, July 6, 2014 6:32 PM
To: Mojca Miklavec
Cc: Miller, Bruce R; MacPorts Development; Dan Ports
Subject: Re: LaTeXML Portfile issues

On Jul 6, 2014, at 4:44 PM, Mojca Miklavec <mojca at> wrote:

> On Sun, Jul 6, 2014 at 9:09 PM, Ryan Schmidt wrote:
>> On Jul 4, 2014, at 6:15 AM, Bruce Miller wrote:
>>> I'd like to draw attention to the ticket
>>> where there are a couple of issues to improve
>>> the Portfile.
>>> Basically, during installation, I'd like to
>>> be able to detect whether there is _any_
>>> TeX installation available (whether MacPort's
>>> own texlive, or MacTeX or _any_ other TeX).
>>> This allows LaTeXML to install it's own style
>>> files into the TeX distribution.  I attempted
>>> to do this by looking for "kpsewhich",
>>> but it turns out that the user's $PATH is not
>>> visible within port.  Is there any approved
>>> way to do this?
>> Users who wish to use MacTeX instead of MacPorts TeXlive are expected to install MacTeX manually and add /usr/texbin/bin to binpath in macports.conf.
> It's one thing to *find* external TeX distribution. It's another to
> *install files* there.

Totally agree, of course.

More information about the macports-dev mailing list