Opened 12 years ago
Last modified 12 years ago
#41972 assigned defect
latex2man @1.23: imprecise dependency on texlive
| Reported by: | lynxluna (Didiet) | Owned by: | larryv (Lawrence Velázquez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.2.1 |
| Keywords: | Cc: | ||
| Port: | latex2man |
Description
Installing latex2man without installing texlive-latex-extra produces error ! LaTeX Error: File `url.sty' not found.. Below is the excerpt of the main.log file (I attach main.log)
:info:destroot (/opt/local/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg) :info:destroot :info:destroot ! LaTeX Error: File `url.sty' not found. :info:destroot :info:destroot Type X to quit or <RETURN> to proceed, :info:destroot or enter new name. (Default extension: sty) :info:destroot :info:destroot Enter file name: :info:destroot ! Emergency stop. :info:destroot <read *>
with texlive-latex-extra no error produced.
Attachments (2)
Change History (4)
Changed 12 years ago by lynxluna (Didiet)
Changed 12 years ago by lynxluna (Didiet)
| Attachment: | Portfile.diff added |
|---|
I add texlive-latex-extra as port dependencies and it works fine. But I don't know if it's the right way of doing deps
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
| Owner: | changed from macports-tickets@… to larryv@… |
|---|---|
| Status: | new → assigned |
| Summary: | latex2man: dependent on texlive-latex-extra → latex2man @1.23: imprecise dependency on texlive |
url.sty is provided by texlive-latex-recommended.
% find /opt/local -name url.sty -exec port provides {} +
/opt/local/share/texmf-texlive/tex/latex/url/url.sty is provided by: texlive-latex-recommended
I assume you have texlive +minimal or texlive +basic installed. The default is texlive +medium, which installs texlive-latex-recommended, which is probably why no one’s noticed this before.
For now, I’ll just add the dependency on texlive-latex-recommended. More generally, I don’t like the ham-handed dependency on texlive and will try to shave it down soon.
comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)
Now that I look at it, latex2man accommodates non-MacPorts TeX installations with a bin:tex:texlive dependency. I’m not sure how to add an analogous url.sty dependency. I’ll have to come back to this later.

This is the full log of the installation.