.\" 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" "tháng 8 23, 2024" "7.17.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 books is all about putting the shine of perfection onto your carefully crafted e\-books. .sp Polishing tries to minimize the changes to the internal code of your e\-book. Unlike conversion, it does not flatten CSS, rename files, change font sizes, adjust margins, etc. Every action performs only the minimum set of changes needed for the desired effect. .sp You should use this tool as the last step in your e\-book creation process. .sp Note that polishing only works on files in the AZW3 or EPUB formats. .sp Whenever you pass arguments to \fBebook\-polish\fP that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq .SH [CÁC TÙY CHỌN] .INDENT 0.0 .TP .B \-\-add\-soft\-hyphens, \-H Add soft hyphens to all words in the book. This allows the book to be rendered better when the text is justified, in readers that do not support hyphenation. .UNINDENT .INDENT 0.0 .TP .B \-\-compress\-images, \-i Losslessly compress images in the book, to reduce the filesize, without affecting image quality. .UNINDENT .INDENT 0.0 .TP .B \-\-cover, \-c Path to a cover image. Changes the cover specified in the e\-book. If no cover is present, or the cover is not properly identified, inserts a new cover. .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 Embed all fonts that are referenced in the document and are not already embedded. This will scan your computer for the fonts, and if they are found, they will be embedded into the document. Please ensure that you have the proper license for embedding the fonts used in this document. .UNINDENT .INDENT 0.0 .TP .B \-\-help, \-h show this help message and exit .UNINDENT .INDENT 0.0 .TP .B \-\-jacket, \-j Insert a \fB\(dq\fPbook jacket\fB\(dq\fP page at the start of the book that contains all the book metadata such as title, tags, authors, series, comments, etc. Any previous book jacket will be replaced. .UNINDENT .INDENT 0.0 .TP .B \-\-opf, \-o Path to an OPF file. The metadata in the book is updated from the OPF file. .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-jacket Remove a previous inserted book jacket page. .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-soft\-hyphens Remove soft hyphens from all text in the book. .UNINDENT .INDENT 0.0 .TP .B \-\-remove\-unused\-css, \-u Remove all unused CSS rules from stylesheets and