FS#78907 - [texlive] koma-script documentation missing

Attached to Project: Arch Linux
Opened by Christian Cornelssen (ccorn) - Wednesday, 28 June 2023, 02:27 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 28 June 2023, 18:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

the texmf-dist checkout used by texlive-texmf contains scrguide-de.pdf and scrguide-en.pdf:

texmf-dist/doc/latex/koma-script/scrguide-de.pdf
texmf-dist/doc/latex/koma-script/scrguide-en.pdf

/usr/share/tlpkg/texlive.tlpdb lists those files as part of the koma-script package.

Package texlive-latexrecommended has texlive-koma-script in its provides list.

Yet none of the texlive-texmf subpackages (texlive-doc being the natural candidate) seems to contain scrguide-{de,en}.pdf.

I suspect a systematic cause which needs a systematic fix.

Additional info:
texlive-texmf version: 2023.66594-15

Steps to reproduce:

$ texdoc scrguide-en
Unfortunately, there are no good matches for "scrguide-en".

There may be online documentation available for "scrguide-en" at
https://texdoc.org/serve/scrguide-en/0
This documentation may be for a different version than you have installed.

Would you like to search online? (y/N) y

(Answering y retrieves the correct pdf.)
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 28 June 2023, 18:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  5b8d281

thanks for the patch
Comment by Christian Cornelssen (ccorn) - Wednesday, 28 June 2023, 02:40 GMT
It's probably this part of the PKGBUILD:

```
# some modules wrongly include docs in runfiles
rm -fr "$pkgdir"/usr/share/texmf-dist/doc
```

Those should instead be moved to the texlive-doc package, I suppose.
Comment by Christian Cornelssen (ccorn) - Wednesday, 28 June 2023, 04:25 GMT
The attached patch does the trick:
It does not move docfiles to the collection subdir in the first place.
This leaves the docfiles for texlive-doc.

I have verified that this patch (compared to pkgrel=15)

- does not affect texlive-* package file lists other than that of texlive-doc
- Changes texlive-doc file list by adding 139 files under texmf-dist/doc;
incidentally, all those belong to koma-script.
- No other changes.
Comment by Christian Cornelssen (ccorn) - Wednesday, 28 June 2023, 05:32 GMT
Upstream report: https://sourceforge.net/p/koma-script/tickets/54/

But the proposed patch seems good to me in its own right.

Loading...