zoukankan      html  css  js  c++  java
  • LaTeX 中图片格式错误情况

    Unknown graphics extension: .eps


     

    利用宏包usepackage {graphicx}

    是图片和pdflatex一起用时的错误。注:{不是所有的时候,有时候也能通过}

    两种解决方法:

    1、可以将eps文件转换为pdf图片或jpg图片。

    2、用latex而不是pdflatex:
              tex处理过tex文件后生成dvi文件,然后通过dvipdf转换成pdf文件;
              pdflatex直接处理tex文件,输出pdf文件,pdflatex使用jpg,png能图片格式,不能使用eps文件。

    但用latex后,模板Singapore就不会有像pdflatex很好的效果,底色都变成了白的。

    3、但是利用latex只能处理eps格式图片文件,pdf和jpg,png格式文件又不支持,所有在使用时最好使用一种格式文件

    测试程序:{环境:CTEX2.9 FULL, Windows X64}

    documentclass{article}

    usepackage{graphicx} 

    egin{document}

      egin{figure}

        centering

        includegraphics[width=6in]{IEEE.jpg}

        includegraphics[width=6in]{2011SSRR.pdf}

     %   includegraphics[width=6in]{NPU_logo.eps}

      end{figure}

    end{document}

    LaTeXPDF编译通过,但是LaTeX编译不能通过

    documentclass{article}

    usepackage{graphicx} 

    egin{document}

      egin{figure}

        centering

    %    includegraphics[width=6in]{IEEE.jpg}

    %    includegraphics[width=6in]{2011SSRR.pdf}

       includegraphics[width=6in]{NPU_logo.eps}

      end{figure}

    end{document}

    LaTeX编译通过,但是LaTeXPDF编译不能通过

    版权声明:本文为小平果原创文章,转载请注明:http://blog.csdn.net/i10630226

  • 相关阅读:
    rsync的man手册(未完成)
    rsync基础
    命令:mktemp
    命令:install
    [Abp vNext 源码分析]
    异常吞噬问题一则
    使用 Polly 实现复杂策略(超时重试)
    在 DotNetty 中实现同步请求
    使用 C# 实现 CJ-T188 水表协议和 DL-T645 电表协议的解析与编码
    DevExpress 使用 GridControl 时,数据源无法立即更新的问题
  • 原文地址:https://www.cnblogs.com/dingxiaoyue/p/4948309.html
Copyright © 2011-2022 走看看