{"id":226287,"date":"2024-05-11T20:23:42","date_gmt":"2024-05-11T12:23:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/226287.html"},"modified":"2024-05-11T20:23:49","modified_gmt":"2024-05-11T12:23:49","slug":"latex-dvips-ps2pdf-%e7%bc%96%e8%af%91%e4%b8%8d%e6%88%90%e5%8a%9f%e6%98%af%e4%b8%ba%e4%bb%80%e4%b9%88","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/226287.html","title":{"rendered":"LaTeX -&gt; dvips -&gt; ps2pdf \u7f16\u8bd1\u4e0d\u6210\u529f\u662f\u4e3a\u4ec0\u4e48"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25145702\/7fa30da0-ea46-404a-a541-72741c762bfa.webp\"> dvips -&gt; ps2pdf \u7f16\u8bd1\u4e0d\u6210\u529f\u662f\u4e3a\u4ec0\u4e48&#8221; \/&gt;<\/p>\n<p><p>\u5728\u63a2\u8ba8LaTeX\u5230dvips\u5230ps2pdf\u7684\u7f16\u8bd1\u6d41\u7a0b\u4e0d\u6210\u529f\u7684\u539f\u56e0\u65f6\uff0c<strong>\u4e3b\u8981\u6311\u6218\u5728\u4e8e\u6587\u4ef6\u914d\u7f6e\u3001\u7f16\u7801\u4e0d\u517c\u5bb9\u3001\u4f9d\u8d56\u5305\u7f3a\u5931\u3001\u4ee5\u53ca\u73af\u5883\u8bbe\u7f6e\u9519\u8bef<\/strong>\u3002\u5177\u4f53\u5230\u73af\u5883\u8bbe\u7f6e\u9519\u8bef\uff0c\u8fd9\u662f\u4e00\u4e2a\u666e\u904d\u7684\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u65b0\u624b\u3002\u73af\u5883\u8bbe\u7f6e\u9519\u8bef\u53ef\u80fd\u5305\u542b\u8def\u5f84\u4e0d\u6b63\u786e\u3001\u73af\u5883\u53d8\u91cf\u672a\u8bbe\u7f6e\u6216\u9519\u8bef\u8bbe\u7f6e\u7b49\u3002\u786e\u4fddLaTeX\u3001dvips\u548cps2pdf\u5de5\u5177\u7684\u8def\u5f84\u6b63\u786e\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\u4e2d\u662f\u6210\u529f\u7f16\u8bd1\u7684\u5173\u952e\u4e00\u6b65\u3002\u8fd9\u6837\u505a\u4e0d\u4ec5\u80fd\u591f\u786e\u4fdd\u547d\u4ee4\u884c\u6216\u7ec8\u7aef\u5728\u4efb\u4f55\u76ee\u5f55\u4e0b\u80fd\u591f\u8bc6\u522b\u8fd9\u4e9b\u547d\u4ee4\uff0c\u8fd8\u6709\u52a9\u4e8e\u89e3\u51b3\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7684\u8def\u5f84\u67e5\u627e\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u6587\u4ef6\u914d\u7f6e\u95ee\u9898<\/h3>\n<\/p>\n<p><p>\u6587\u4ef6\u914d\u7f6e\u9519\u8bef\u662f\u5bfc\u81f4\u7f16\u8bd1\u5931\u8d25\u7684\u5e38\u89c1\u539f\u56e0\u4e4b\u4e00\u3002LaTeX\u73af\u5883\u5bf9\u6587\u6863\u7684\u7ed3\u6784\u548c\u5305\u7684\u4f7f\u7528\u6709\u7740\u4e25\u683c\u7684\u8981\u6c42\u3002\u4e00\u4e9b\u5e38\u89c1\u7684\u914d\u7f6e\u9519\u8bef\u5305\u542b\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u6587\u6863\u7c7b\u4e0d\u652f\u6301<\/strong>\uff1a\u9009\u7528\u7684\u6587\u6863\u7c7b\u53ef\u80fd\u4e0d\u517c\u5bb9\u5f53\u524d\u7684\u7f16\u8bd1\u6d41\u7a0b\u3002\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5c06\u6587\u6863\u7c7b\u66f4\u6362\u4e3a\u517c\u5bb9\u7684\u7248\u672c\u901a\u5e38\u80fd\u89e3\u51b3\u95ee\u9898\u3002<\/li>\n<li><strong>\u5b8f\u5305\u7f3a\u5931\u6216\u7248\u672c\u51b2\u7a81<\/strong>\uff1aLaTeX\u6587\u6863\u4f9d\u8d56\u7279\u5b9a\u7684\u5b8f\u5305\u6765\u5b9e\u73b0\u5176\u529f\u80fd\u3002\u5982\u679c\u7f3a\u5931\u5fc5\u8981\u7684\u5b8f\u5305\u6216\u8005\u5b8f\u5305\u4e4b\u95f4\u5b58\u5728\u7248\u672c\u51b2\u7a81\uff0c\u90fd\u53ef\u80fd\u5bfc\u81f4\u7f16\u8bd1\u9519\u8bef\u3002\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u901a\u5e38\u9700\u8981\u5b89\u88c5\u7f3a\u5931\u7684\u5b8f\u5305\u6216\u66f4\u65b0\u5b8f\u5305\u5230\u517c\u5bb9\u7684\u7248\u672c\u3002<\/li>\n<\/ul>\n<p><h3>\u4e8c\u3001\u7f16\u7801\u4e0d\u517c\u5bb9<\/h3>\n<\/p>\n<p><p>\u7f16\u7801\u4e0d\u517c\u5bb9\u4e5f\u662f\u4e00\u4e2a\u5e38\u89c1\u95ee\u9898\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u975e\u82f1\u6587\u6587\u6863\u65f6\u66f4\u4e3a\u5e38\u89c1\u3002LaTeX\u6e90\u6587\u4ef6\u9ed8\u8ba4\u4f7f\u7528\u7684\u662fASCII\u7f16\u7801\uff0c\u800c\u73b0\u5728\u5927\u591a\u6570\u6587\u6863\u90fd\u503e\u5411\u4e8e\u4f7f\u7528UTF-8\u7f16\u7801\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u89e3\u51b3\u65b9\u6848<\/strong>\uff1a\u5728\u6e90\u6587\u4ef6\u7684\u5f00\u5934\u4f7f\u7528<code>\\usepackage[utf8]{inputenc}<\/code>\u53ef\u4ee5\u58f0\u660e\u6587\u6863\u4f7f\u7528UTF-8\u7f16\u7801\u3002\u8fd9\u4e2a\u63aa\u65bd\u53ef\u4ee5\u89e3\u51b3\u5927\u591a\u6570\u7531\u7f16\u7801\u4e0d\u517c\u5bb9\u5f15\u8d77\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u5b57\u7b26\u663e\u793a\u95ee\u9898<\/strong>\uff1a\u6b64\u5916\uff0c\u5982\u679c\u6587\u6863\u4e2d\u5305\u542b\u7279\u6b8a\u5b57\u7b26\u6216\u8005\u4f7f\u7528\u4e86\u7279\u5b9a\u7684\u5b57\u4f53\u5305\uff0c\u786e\u4fdd\u8fd9\u4e9b\u5b57\u4f53\u6216\u5b57\u7b26\u5728\u5f53\u524d\u7684\u7f16\u8bd1\u73af\u5883\u4e2d\u88ab\u6b63\u786e\u652f\u6301\u4e5f\u5f88\u5173\u952e\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001\u4f9d\u8d56\u5305\u7f3a\u5931<\/h3>\n<\/p>\n<p><p>LaTeX\u6587\u6863\u53ef\u80fd\u4f1a\u4f7f\u7528\u591a\u4e2a\u5b8f\u5305\u6765\u589e\u52a0\u989d\u5916\u7684\u529f\u80fd\u6216\u6539\u5584\u6587\u6863\u7684\u5916\u89c2\u3002\u5982\u679c\u8fd9\u4e9b\u5b8f\u5305\u6ca1\u6709\u88ab\u6b63\u786e\u5b89\u88c5\u6216\u8005\u627e\u4e0d\u5230\uff0c\u7f16\u8bd1\u8fc7\u7a0b\u5c31\u4f1a\u5931\u8d25\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u81ea\u52a8\u5b89\u88c5<\/strong>\uff1a\u4e00\u4e9bLaTeX\u53d1\u884c\u7248\uff0c\u5982TeX Live\u548cMiKTeX\uff0c\u63d0\u4f9b\u4e86\u81ea\u52a8\u5b89\u88c5\u7f3a\u5931\u5b8f\u5305\u7684\u529f\u80fd\u3002\u786e\u4fdd\u8fd9\u4e00\u529f\u80fd\u88ab\u6fc0\u6d3b\u53ef\u4ee5\u7b80\u5316\u7f16\u8bd1\u8fc7\u7a0b\u3002<\/li>\n<li><strong>\u624b\u52a8\u5b89\u88c5\u5b8f\u5305<\/strong>\uff1a\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u624b\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5\u7279\u5b9a\u7684\u5b8f\u5305\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u5c06\u5b8f\u5305\u7684\u6587\u4ef6\u653e\u7f6e\u5230\u6b63\u786e\u7684\u76ee\u5f55\u4e0b\uff0c\u5e76\u66f4\u65b0LaTeX\u7684\u5b8f\u5305\u6570\u636e\u5e93\u3002<\/li>\n<\/ul>\n<p><h3>\u56db\u3001\u73af\u5883\u8bbe\u7f6e\u9519\u8bef<\/h3>\n<\/p>\n<p><p>\u73af\u5883\u8bbe\u7f6e\u9519\u8bef\u53ef\u80fd\u6db5\u76d6\u4ece\u8def\u5f84\u8bbe\u7f6e\u9519\u8bef\u5230\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u4e0d\u5f53\u7b49\u591a\u4e2a\u65b9\u9762\u3002\u8fd9\u4e9b\u8bbe\u7f6e\u5bf9\u4e8eLaTeX\u3001dvips\u548cps2pdf\u5de5\u5177\u7684\u6b63\u786e\u8fd0\u4f5c\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<\/p>\n<ul>\n<li><strong>\u73af\u5883\u53d8\u91cf\u8bbe\u7f6e<\/strong>\uff1a\u786e\u4fddLaTeX\u3001dvips\u548cps2pdf\u5de5\u5177\u7684\u8def\u5f84\u88ab\u6b63\u786e\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u8fd9\u5c06\u5141\u8bb8\u4ece\u4efb\u4f55\u4f4d\u7f6e\u8c03\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u5927\u5927\u7b80\u5316\u4e86\u7f16\u8bd1\u6d41\u7a0b\u3002<\/li>\n<li><strong>\u7f16\u8bd1\u547d\u4ee4\u9519\u8bef<\/strong>\uff1a\u5728\u4f7f\u7528dvips\u548cps2pdf\u5de5\u5177\u65f6\uff0c\u786e\u4fdd\u4f7f\u7528\u6b63\u786e\u7684\u547d\u4ee4\u548c\u53c2\u6570\u3002\u9519\u8bef\u7684\u547d\u4ee4\u6216\u53c2\u6570\u53ef\u80fd\u4f1a\u76f4\u63a5\u5bfc\u81f4\u7f16\u8bd1\u5931\u8d25\u3002<\/li>\n<\/ul>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c\u89e3\u51b3LaTeX\u5230dvips\u5230ps2pdf\u7684\u7f16\u8bd1\u6d41\u7a0b\u4e0d\u6210\u529f\u7684\u95ee\u9898\u901a\u5e38\u9700\u8981\u4ece\u6587\u4ef6\u914d\u7f6e\u3001\u7f16\u7801\u517c\u5bb9\u6027\u3001\u4f9d\u8d56\u5305\u5b89\u88c5\u3001\u4ee5\u53ca\u6b63\u786e\u7684\u73af\u5883\u8bbe\u7f6e\u7b49\u591a\u4e2a\u65b9\u9762\u8fdb\u884c\u7efc\u5408\u8003\u8651\u3002<strong>\u73af\u5883\u8bbe\u7f6e\u9519\u8bef<\/strong>\u5c24\u5176\u503c\u5f97\u6ce8\u610f\uff0c\u56e0\u4e3a\u5b83\u5f80\u5f80\u662f\u65b0\u624b\u5bb9\u6613\u5ffd\u89c6\u7684\u73af\u8282\uff0c\u4f46\u5374\u5bf9\u6574\u4e2a\u7f16\u8bd1\u6d41\u7a0b\u7684\u6210\u529f\u6709\u7740\u51b3\u5b9a\u6027\u7684\u5f71\u54cd\u3002\u6b63\u786e\u914d\u7f6e\u73af\u5883\u5e76\u786e\u4fdd\u6240\u6709\u5de5\u5177\u548c\u5b8f\u5305\u90fd\u5df2\u51c6\u5907\u59a5\u5f53\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u7f16\u8bd1\u7684\u6210\u529f\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>\u4e3a\u4ec0\u4e48\u5728\u5c06LaTeX\u6587\u4ef6\u7f16\u8bd1\u4e3aPDF\u65f6\uff0c\u4f7f\u7528dvips\u548cps2pdf\u9047\u5230\u4e86\u7f16\u8bd1\u5931\u8d25\u7684\u95ee\u9898\uff1f<\/strong><\/p>\n<ol>\n<li>\n<p><strong>\u68c0\u67e5LaTeX\u4ee3\u7801\u4e2d\u662f\u5426\u5b58\u5728\u9519\u8bef\uff1a<\/strong> \u5728\u8fdb\u884cLaTeX\u7f16\u8bd1\u65f6\uff0c\u5b58\u5728\u8bed\u6cd5\u9519\u8bef\u6216\u9519\u8bef\u7684\u547d\u4ee4\u53ef\u80fd\u5bfc\u81f4\u7f16\u8bd1\u5931\u8d25\u3002\u4ed4\u7ec6\u68c0\u67e5\u4ee3\u7801\u4e2d\u7684\u62fc\u5199\u9519\u8bef\u3001\u7f3a\u5c11\u7684\u547d\u4ee4\u6216\u4e0d\u6b63\u786e\u7684\u8bed\u6cd5\uff0c\u786e\u4fdd\u4ee3\u7801\u6b63\u786e\u65e0\u8bef\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5dvips\u548cps2pdf\u7684\u5b89\u88c5\u4e0e\u914d\u7f6e\uff1a<\/strong> \u7f16\u8bd1\u8fc7\u7a0b\u4e2d\uff0cdvips\u548cps2pdf\u9700\u8981\u6b63\u786e\u5b89\u88c5\u5e76\u6b63\u786e\u914d\u7f6e\u8def\u5f84\u3002\u786e\u4fdd\u8fd9\u4e24\u4e2a\u5de5\u5177\u6b63\u786e\u5b89\u88c5\u5728\u60a8\u7684\u8ba1\u7b97\u673a\u4e2d\uff0c\u5e76\u5728\u73af\u5883\u53d8\u91cf\u4e2d\u6b63\u786e\u914d\u7f6e\u4e86\u5b83\u4eec\u7684\u8def\u5f84\u3002\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u7edd\u5bf9\u8def\u5f84\u6765\u6267\u884c\u8fd9\u4e24\u4e2a\u5de5\u5177\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u88ab\u6b63\u786e\u8c03\u7528\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5LaTeX\u6587\u4ef6\u4e2d\u7684\u56fe\u50cf\u6216\u5176\u4ed6\u63d2\u5165\u5bf9\u8c61\uff1a<\/strong> \u5728\u7f16\u8bd1LaTeX\u6587\u4ef6\u65f6\uff0c\u4f7f\u7528\u4e86\u56fe\u50cf\u6216\u5176\u4ed6\u63d2\u5165\u5bf9\u8c61\uff0c\u786e\u4fdd\u8fd9\u4e9b\u5bf9\u8c61\u5728\u5408\u9002\u7684\u4f4d\u7f6e\uff0c\u5e76\u4e14\u6587\u4ef6\u8def\u5f84\u6b63\u786e\u3002\u68c0\u67e5\u56fe\u50cf\u6587\u4ef6\u662f\u5426\u5b58\u5728\uff0c\u6587\u4ef6\u8def\u5f84\u662f\u5426\u6b63\u786e\uff0c\u4ee5\u53ca\u6587\u4ef6\u683c\u5f0f\u662f\u5426\u88ab\u652f\u6301\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u68c0\u67e5\u65e5\u5fd7\u6587\u4ef6\u4ee5\u83b7\u53d6\u66f4\u591a\u8be6\u7ec6\u4fe1\u606f\uff1a<\/strong> \u5f53\u7f16\u8bd1\u5931\u8d25\u65f6\uff0cLaTeX\u4f1a\u751f\u6210\u4e00\u4e2a\u65e5\u5fd7\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u7684\u8be6\u7ec6\u4fe1\u606f\u548c\u9519\u8bef\u63d0\u793a\u3002\u6253\u5f00\u8fd9\u4e2a\u65e5\u5fd7\u6587\u4ef6\uff0c\u67e5\u627e\u4e0e\u7f16\u8bd1\u5931\u8d25\u76f8\u5173\u7684\u9519\u8bef\u6d88\u606f\uff0c\u4ee5\u4fbf\u786e\u5b9a\u95ee\u9898\u7684\u5177\u4f53\u539f\u56e0\u3002\u6839\u636e\u65e5\u5fd7\u4e2d\u63d0\u4f9b\u7684\u9519\u8bef\u63d0\u793a\uff0c\u8fdb\u884c\u76f8\u5e94\u7684\u4fee\u590d\u64cd\u4f5c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8003\u8651\u4f7f\u7528\u5176\u4ed6\u7f16\u8bd1\u65b9\u5f0f\uff1a<\/strong> \u5982\u679c\u4ee5\u4e0a\u65b9\u6cd5\u90fd\u4e0d\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528\u5176\u4ed6\u7f16\u8bd1\u65b9\u5f0f\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528pdflatex\u547d\u4ee4\u76f4\u63a5\u5c06LaTeX\u6587\u4ef6\u7f16\u8bd1\u4e3aPDF\uff0c\u800c\u4e0d\u9700\u8981\u5c06\u5176\u8f6c\u6362\u4e3aps\u6587\u4ef6\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u8bf7\u6ce8\u610f\uff0c\u4ee5\u4e0a\u5efa\u8bae\u53ea\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u89e3\u51b3\u6240\u6709\u7f16\u8bd1\u5931\u8d25\u7684\u95ee\u9898\u3002\u6839\u636e\u5177\u4f53\u60c5\u51b5\uff0c\u53ef\u80fd\u9700\u8981\u8fdb\u4e00\u6b65\u6df1\u5165\u7814\u7a76\u548c\u6392\u67e5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"dvips -&gt; ps2pdf \u7f16\u8bd1\u4e0d\u6210\u529f\u662f\u4e3a\u4ec0\u4e48&#8221; \/&gt; \u5728\u63a2\u8ba8LaTeX\u5230dvip [&hellip;]","protected":false},"author":3,"featured_media":226299,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/226287"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=226287"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/226287\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/226299"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=226287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=226287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=226287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}