fedora 16 解决 I can't find file `ptmr7t' 之问题

来源:互联网 发布:手机js脚本例子 编辑:程序博客网 时间:2024/06/08 14:09


在安装了texlive 2011之后,我测试了一下,出现这样的问题: I can't find file `ptmr7t'

用google搜索了之后,发现出现问题的还真不少,最简单的一个tex文件也能引出同样的错误:

\documentclass{article}\usepackage{times}\title{Brief Article}\author{The Author}\begin{document}\maketitleThis is a test!\end{document}


基本的判断是缺少一种字体,也就是texlive的某一个包没有安装,但到底是哪一个包呢?却没有找到答案。

搜索我发现了这样一类包: texlive-collection-* ,我们来看他们是什么:

名称        :texlive-collection-basic构架        :noarch版本     :2011发布     :5.20120115_r25109.svn20730大小        :0.0  仓库        :installed来自仓库   :texlive简介     : Essential programs and files网址         :http://tug.org/texlive/协议     : Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia描述: These files are regarded as basic for any TeX system, covering     : plain TeX macros, Computer Modern fonts, and configuration for     : common drivers; no LaTeX.

名称        :texlive-collection-latex构架        :noarch版本     :2011发布     :5.20120115_r25109.svn25030大小        :0.0  仓库        :installed来自仓库   :texlive简介     : Basic LaTeX packages网址         :http://tug.org/texlive/协议     : Artistic 2.0 and GPLv2 and GPLv2+ and LGPLv2+ and LPPL and MIT and Public Domain and UCD and Utopia描述: These packages are mandated by the core LaTeX team, or at least     : very strongly recommended.

显然,他们是一类包的集合,按 baisc tex , latex , xetex 等分了几类。于是我尝试安装了如下包:

texlive-collection-picturestexlive-collection-bibtexextratexlive-collection-basictexlive-collection-mathextratexlive-collection-latexextratexlive-collection-latexrecommendedtexlive-collection-xetextexlive-collection-publisherstexlive-collection-latextexlive-collection-fontsrecommended

OK,问题顺利解决。

当然,我并不确切的知道,是哪一个包解决了问题。不过这些包当然下来,下载量不过一百多M,安装量不过三百多M,没关系。



原创粉丝点击