Opened 14 years ago
Closed 14 years ago
#26218 closed defect (fixed)
glpk: +doc variant fails
Reported by: | someuser12 | Owned by: | lutz.horn@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | glpk |
Description
1) On Mac OS X 10.6.4 with MacPorts 1.9.1, building the documentation of glpk
fails: there are 4 "missing $ inserted"
errors when running texi2pdf on gmpl.texi . When compiling manually, it is enough to press enter to accept the 4 suggestions.
I don't understand how to fix this in a clean way, since the incriminated latex code (line 2757, $$ \left\{ \matrix{=\cr\leq\cr\geq\cr}\right\}b_0-a_0 $$
) compiles when put in a LaTeX document.
However, I notice that the recent versions of glpk (at least 4.43 and 4.44) come with a precompiled gmpl.pdf
, thus I suggest upgrading the port to, say, version 4.44 and skipping the compilation of gmpl.pdf
.
2) Additionnally, there is a slight dependency problem. When compiling glpk.tex
the LaTeX package xy.sty
is used, but it's not provided by the texlive port nor one of its dependencies. One has to also install the texlive-pictures
port.
I attach to this ticket an update proposal to the Portfile that solves both issues and upgrades the port to version 4.44.
Attachments (1)
Change History (4)
Changed 14 years ago by someuser12
Attachment: | patch-Portfile added |
---|
comment:1 Changed 14 years ago by someuser12
Sorry, the syntax of the email address in Cc (the port maintainer's) is wrong. It should be lutz.horn -(:at:)- fastmail.fm
but it seems I have no privilege to fix this. Can anybody fix it, please? Thanks.
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Cc: | fastmail.fm:lutz.horn removed |
---|---|
Owner: | changed from macports-tickets@… to lutz.horn@… |
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Resolution: | → fixed |
Status: | new → closed |
Summary: | build of glpk +doc fails → glpk: +doc variant fails |
Upgrade proposal to the Portfile of GLPK