Tlmgr 可以工作,但未安装任何内容

Tlmgr 可以工作,但未安装任何内容

我刚刚从 iso 安装了最新版本的 Texlive 2011;一切都很好,甚至閱讀器除了无法从存储库安装新软件包之外,其他都还好。

root@tux-laptop:~# tlmgr update -list
tlmgr: package repository http://ftp.uniRoma2.it/TeX/systems/texlive/tlnet
tlmgr: saving backups to /usr/local/texlive/2011/tlpkg/backups
skipping forcibly removed package l3packages
tlmgr: no updates available
root@tux-laptop:~# tlmgr search fourier
 engrec - Enumerate with lower- or uppercase Greek letters.
 fourier - Using Utopia fonts in LaTeX documents.
 fouriernc - Use New Century Schoolbook text with Fourier maths fonts.
 pst-func - PSTricks package for plotting mathematical functions.
 pxgreeks - Shape selection for PX fonts Greek letters.
 trfsigns - Typeset transform signs.
 txgreeks - Shape selection for TX fonts Greek letters.
 utopia - Adobe Utopia fonts.
root@tux-laptop:~# tlmgr show fourier
package:     fourier
category:    Package
shortdesc:   Using Utopia fonts in LaTeX documents.
longdesc:    Fourier-GUTenberg is a LaTeX typesetting system which uses Adobe Utopia as its standard base font. Fourier-GUTenberg provides all complementary typefaces needed to allow Utopia based TeX typesetting, including an extensive mathematics set and several other symbols. The system is absolutely stand- alone: apart from Utopia and Fourier, no other typefaces are required. The fourier fonts will also work with Adobe Utopia Expert fonts, which are only available for purchase. Utopia is a registered trademark of Adobe Systems Incorporated
installed:   Yes
revision:    15878
cat-version: 1.3
cat-date:    2008-12-13 14:57:21 +0100
cat-license: lppl
collection:  collection-fontsextra

root@tux-laptop:~# tlmgr install fourier
tlmgr: package repository http://ftp.uniRoma2.it/TeX/systems/texlive/tlnet

好的,tlmgr 有什么问题?当我尝试使用新安装的包编译新文档时,pdflatex 找不到它。

答案1

我解决了这个问题,这很棘手,但我发现过去安装的 texlive 的一些可执行文件仍然安装在我的系统上,这个 perl 脚本,又名閱讀器,可能无法识别并区分属于 texlive 环境和其他环境的可执行文件。

这不是我的情况,但在另一种情况下,也许这个工具LDD在 GNU/Linux 环境中也可能非常有用,请记住,texlive 附带的大多数“程序”都是脚本而不是可执行文件。

答案2

可能tlmgr被中断了。尝试mktexlsr以 root 身份运行,然后检查是否kpsewhich可以找到fourier.sty

boris@somewhere:~$ kpsewhich fourier.sty
/usr/local/texlive/2011/texmf-dist/tex/latex/fourier/fourier.sty

相关内容