.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "EBOOK-POLISH" "1" "6月 20, 2025" "8.5.0" "calibre" .SH NAME ebook-polish \- ebook-polish .INDENT 0.0 .INDENT 3.5 .sp .EX ebook\-polish [options] input_file [output_file] .EE .UNINDENT .UNINDENT .sp 本の最適化(polishing) とは、要するにあなたが端正こめて作成した電子書籍を、ぴかぴかに磨き上げることです。 本の最適化は、あなたの電子書籍への変更を最小限にとどめるよう動作します。本の変換と異なり、CSSのフラット化、ファイル名の変更、フォントサイズの変更、余白の調整等を、行いません。求められる効果に対して、最小限の変更のみを行います。 .sp 本の最適化は、本の作成プロセスの最終段階で使用すべきものです。 .sp 本の最適化は、AZW3 or EPUB or KEPUB 形式に対してのみ動作することに留意してください。 .sp スペースを含む引数を \fBebook\-polish\fP に渡す場合には、クォーテーションマークでくくってください。例: \(dq/some path/with spaces\(dq .SH [オプション] .INDENT 0.0 .TP .B \-\-add\-soft\-hyphens, \-H 本の中のすべての単語にソフトハイフンを追加します。これにより、テキストが 両端揃えのときにハイフンをサポートしていないリーダでもきれいに表示できるようになります。 .UNINDENT .INDENT 0.0 .TP .B \-\-compress\-images, \-i 書籍中の画像を可逆圧縮し、画像の品質を損なうことなく ファイルサイズを減らします。 .UNINDENT .INDENT 0.0 .TP .B \-\-cover, \-c 表紙画像へのパス。電子書籍で指定されている表紙を変更します。表紙がない場合や正しく識別されていない場合は、新しい表紙を挿入してください。 .UNINDENT .INDENT 0.0 .TP .B \-\-download\-external\-resources, \-d Download external resources such as images, stylesheets, etc. that point to URLs instead of files in the book. All such resources will be downloaded and added to the book so that the book no longer references any external resources. .UNINDENT .INDENT 0.0 .TP .B \-\-embed\-fonts, \-e ドキュメントから参照されているフォントで、まだ埋め込まれていない フォントをすべて埋め込みます。コンピュータをスキャンしてフォントを探し、 見つかった場合はそれをドキュメントに埋め込みます。 ドキュメントにフォントを埋め込むための、適切なライセンスを所有していることを確認してください。 .UNINDENT .INDENT 0.0 .TP .B \-\-help, \-h このヘルプメッセージを表示して終了 .UNINDENT .INDENT 0.0 .TP .B \-\-jacket, \-j タイトル、タグ、著者、シリーズ、コメントなど、すべての書誌を含む「本のジャケット」ページを、本の最初に挿入します。以前のジャケットがあれば、置き換えられます。 .UNINDENT .INDENT 0.0 .TP .B \-\-opf, \-o OPF ファイルへのパス。本の書誌は OPF ファイルの内容で更新されます。 .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-jacket 以前挿入した「本のジャケット」ページを削除します。 .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-soft\-hyphens 本の中のすべてのテキストからソフトハイフンを削除します。 .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-unused\-css, \-u 使用されていないCSSルールをスタイルシートと