[Fedora TeX Live] questions about doc package

Alick Zhao alick9188 at gmail.com
Tue Nov 20 17:14:16 CET 2012


On Sun, 18 Nov 2012 23:34:42 +0800, Alick Zhao wrote:

> 
> 2. Sometimes after installing the doc packages, I cannot instantly use
> `texdoc docname` to open it. texdoc will say no documents found, while I
> can use `rpm -ql xxx` to find the full path to the document. Seems like
> an installation of another tex-BLAH-doc package will make texdoc work.
> But I do not experience the problem always, only on occasion. Have you
> guys met the issue?
> 

Oh I seem to find the solution/walkaround. Manually update ls-R by:

    sudo mktexlsr

Then texdoc will work normally.

Then here is another question. Can we have the command run in the post-
install script of rpm package? tlmgr of TeX Live from CTAN will run
mktexlsr and updmap after every install/update.

-- 
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick


More information about the TeXLive mailing list