Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938927 - =dev-tex/biblatex-3.19 does not provide the package documentation despite USE="doc"
Summary: =dev-tex/biblatex-3.19 does not provide the package documentation despite USE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 943389 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-09-02 11:53 UTC by MW
Modified: 2025-03-26 16:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MW 2024-09-02 11:53:49 UTC
As explained in the title, =dev-tex/biblatex-3.19 does not provide its package documentation. This means that running

texdoc biblatex

does not work as expected (in my case it opens some "NBR 10520:2002 - Referência" document from the dev-texlive/texlive-bibtexextra package).

Reproducible: Always

Steps to Reproduce:
1. install biblatex
2. run texdoc biblatex
3. cry
Actual Results:  
texdoc biblatex opens some "NBR 10520:2002 - Referência" document from the dev-texlive/texlive-bibtexextra package

Expected Results:  
texdoc biblatex should open the biblatex documentation
Comment 1 Paul Zander 2024-09-02 17:23:41 UTC
The ebuild needs:
-		pushd doc || die
+		pushd doc/latex/biblatex || die

And we need to change latex-package.eclass because the package uses fontspec and that requires lualatex or xetex.
Comment 2 Florian Schmaus gentoo-dev 2025-03-26 14:37:18 UTC
*** Bug 943389 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2025-03-26 14:43:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84b09f5dd30d2e41d33afd6c284cc99cd9e22fa

commit f84b09f5dd30d2e41d33afd6c284cc99cd9e22fa
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2025-03-26 14:39:23 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2025-03-26 14:42:15 +0000

    dev-tex/biblatex: add media-fonts/corefonts as USE 'doc' conditional dep
    
    The biblatex documentation at doc/latex/biblatex/biblatex.tex uses
    "Courier New" as mono font. Therefore, we add media-libs/corefonts as
    conditional BDEPEND.
    
    We also mark two bugs now closed, that are related to biblatex.pdf not
    being installed if USE=doc. Technically, this was fixed with the when
    biblatex-3.20-r1 was first added but was forgotten back then. Hence we
    do it now.
    
    Closes: https://bugs.gentoo.org/938927
    Closes: https://bugs.gentoo.org/945334
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-tex/biblatex/biblatex-3.20-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 4 MW 2025-03-26 15:22:49 UTC
Is it really necessary to build biblatex.pdf instead of just using the prebuilt one that is included in the archive?
Comment 5 Florian Schmaus gentoo-dev 2025-03-26 16:10:34 UTC
No, it's probably not necessary but potentially beneficial. If it turns out that we have opened a can of worms doing so, then we will switch back to using the pre-build PDF.
Comment 6 MW 2025-03-26 16:22:50 UTC
My thinking was that with the prebuilt pdf, there is no need to depend on corefonts (and the build time is marginally faster, and fewer things can go wrong). My local repo has

-               pushd doc || die
-               latex-package_src_doinstall doc
-               popd || die
+               insinto "${TEXMF}"/doc/latex/biblatex
+               doins doc/latex/biblatex/biblatex.pdf

I have no strong opinion on this, though. In the end, I am happy with whichever method makes "texdoc biblatex" bring up the relevant documentation when I need it.