Opened 10 years ago
Closed 10 years ago
#47083 closed defect (fixed)
dblatex fails with titlesec.sty not found error
Reported by: | nortcele | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | dblatex |
Description
Since, r132311 dblatex fails to output a pdf file with a titlesec.sty not found error.
To reproduce:
# First clean macports to only get essential dependencies sudo port uninstall installed # Then install dblatex sudo port install dblatex
Create a simple test.xml file with ie.:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ ]> <article class="techreport" status="final"> <para>Just some blabla.</para> </article>
Then use dblatex to create a pdf file from this file:
dblatex test.xml
The pdf creation fails.
Change History (4)
comment:1 Changed 10 years ago by nortcele
comment:2 Changed 10 years ago by nortcele
As titlesec.sty is part of textive-latex-extra, the latex update should have come from textive-latex-extra port.
comment:3 follow-up: 4 Changed 10 years ago by neverpanic (Clemens Lang)
Owner: | changed from macports-tickets@… to cal@… |
---|---|
Status: | new → assigned |
Doesn't texlive-latex-extra run mktexlsr? I agree we should use the texlive portgroup, though.
comment:4 Changed 10 years ago by neverpanic (Clemens Lang)
Cc: | cal@… removed |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Replying to cal@…:
Doesn't texlive-latex-extra run mktexlsr? I agree we should use the texlive portgroup, though.
I checked and it texlive-latex-extra already runs mktexlsr (by including the PortGroup, not changing defaults and running texlive.texmfport).
However, I recently removed a couple of .sty files dblatex used to install because they were shadowing newer versions provided by our texlive ports, and that might have left the cache in an incoherent state. I've applied your patch in r133761. Additionally, I increased the revision to fix this problem for all users that may still be experiencing it.
The problem could be circumvented by editing dblatex Portfile with:
and reinstall dblatex.