zoukankan      html  css  js  c++  java
  • Linux ubuntu 下寻找 texlive 缺失包 texlive 缺失包(转载)

    转自:http://blog.sina.com.cn/s/blog_87315ca60101d4d1.html

    在Linux下用 latex 编译 ××.tex 文件有时候时会提示:
     ! LaTeX Error: File `××××.sty' not found.
        说明在你系统里没有××××.sty这个文件。其实如果只是少了这一个文件的话,可以去CTAN这个网站去搜(http://www.ctan.org/),把该文件下下来后直接放到你所编译的文件夹中再重新编译即可。但是治根不治本,如果有很多此类的sty文件缺失的话,就说明可能是少安装了一个程序包,如何找到这个程序包linux下有一个非常简单的指令:apt-file。 只需要安装好apt-file, 输入 
    apt-file -x search ‘/×××.sty$’ (×××就是你所需要的sty文件名)
        例如:  
    apt-file -x search '/wrapfig.sty$' 
        系统会给出
    texlive-latex-extra: /usr/share/texlive/texmf-dist/tex/latex/wrapfig/wrapfig.sty
        再去下载 texlive-latex-extra 这个包即可:
    sudo apt-get intall texlive-latex-extra
  • 相关阅读:
    030-B+树(三)
    028-B+树(一)
    027-B树(二)
    026-B树(一)
    025-红黑树(六)
    024-红黑树(五)
    023-红黑树(四)
    022-红黑树(三)
    021-红黑树(二)
    020-红黑树(一)
  • 原文地址:https://www.cnblogs.com/lance-ehf/p/4530983.html
Copyright © 2011-2022 走看看