<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>matsubi0526</author_name>
  <author_url>https://blog.hatena.ne.jp/matsubi0526/</author_url>
  <blog_title>matsubi0526の日記</blog_title>
  <blog_url>https://matsubi0526.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>プログラムのソースコードをPDF化するのに、e2psをちょっと改造してe2pdfとして自分は使っています。コードは以下のとおりです。実行権限をつけてPATHを通せばよいです。文字コードをEUC-JPとしないとe2psが動かないのでnkfの処理が間に入っています。 #!/bin/bash set -ex FILENAME=${1:?} BASENAME=${FILENAME%.*} EXTENTION=${FILENAME##*.} OPT=&quot;-size 11&quot; nkf -e ${FILENAME:?} &gt; ${BASENAME:?}.tmp e2ps ${OPT:?} -p -head &quot;${…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatsubi0526.hatenablog.com%2Fentry%2F2025%2F03%2F20%2F173530&quot; title=&quot;e2pdf - matsubi0526の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-20 17:35:30</published>
  <title>e2pdf</title>
  <type>rich</type>
  <url>https://matsubi0526.hatenablog.com/entry/2025/03/20/173530</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
