{"blog_url":"https://randommemory.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/derwind/","description":"find . -name \"*.eps\" -exec epstopdf {} \\; \u3067 .eps \u3092\u4e00\u6c17\u306b .pdf \u306b\u3067\u304d\u305f\u3002\u53c2\u7167\u306b\u3064\u3044\u3066\u306f find . -name \"*.tex\" -exec perl -pi -e \"s/\\.eps/\\.pdf/g\" {} \\; \u3067\u4e00\u6c17\u306b\u8a02\u6b63\u3067\u304d\u308b\u3002 import glob import os for f in glob.glob(\"*.eps\"): cmd = f\"ps2pdf -dEPSCrop {f} {f[:-3]}pdf\" os.system(cmd) \u3068\u3044\u3046\u624b\u3082\u3002","image_url":null,"version":"1.0","provider_name":"Hatena Blog","author_name":"derwind","published":"2023-02-26 22:00:16","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2023%2F02%2F26%2F220016\" title=\"epstopdf - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","categories":["TeX"],"blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","url":"https://randommemory.hatenablog.com/entry/2023/02/26/220016","title":"epstopdf","width":"100%","type":"rich","provider_url":"https://hatena.blog"}