[MacPorts] #47972: LaTeXML: texlive-related improvements
MacPorts
noreply at macports.org
Fri Jun 5 11:54:44 PDT 2015
#47972: LaTeXML: texlive-related improvements
--------------------------+----------------------------
Reporter: mojca@… | Owner: bruce.miller@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: LaTeXML |
--------------------------+----------------------------
Comment (by bruce.miller@…):
Replying to [ticket:47972 mojca@…]:
> I would like to suggest the following improvements:
> * try to figure out the smallest subset of texlive to make `latexml
+texlive` functional (possibly defining different `depends_build` and
`depends_run`)
Aha! I hadn't realized that MacPorts had adopted the many-small-packages
approach.
LaTeXML doesn't actually *require* any tex, but will work best with at
least a minimal
amount. You'd likely want latex, mktexlsr, dvips, and can use dvipng,
dvisvgm.
Can use other packages if they're installed, but the user can install
whatever they
expect to use.
I would guess "texlive-latex" is sufficient.
> * calling `system /usr/texbin/mktexlsr` might be problematic (the files
from MacTeX might be owned by `root`)
That's true. Does it fail or warn in such circumstances?
What will happen is that MacTeX's latex won't be able to find LaTeXML's
style files,
unless the user re-runs mktexlsr with appropriate permissions.
> * one might want to disable calling `mktexlsr` during `make install`
Could be; Is it better to run from "make" or from "post-activate"?
OR, does the PortGroup texlive automatically arrange for mktexlsr?
> * I can imagine that `depends_build` might not even need to depend on
anything from TeX Live even with `+texlive` variant: all the package needs
to do is to copy two files to the appropriate place (or am I wrong?).
Other than mktexlsr (so the files are findable by TeX), that's right.
> See also #46896.
--
Ticket URL: <https://trac.macports.org/ticket/47972#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list