Provided by: calibre_5.37.0+dfsg-1build1_all bug

NAME

       ebook-polish - ebook-polish

          ebook-polish [選項] 輸入檔案 [輸出檔案]

       打磨書籍就是在完善您精心製作的電子書的基礎上精益求精。

       打磨將嘗試盡量減少對您的電子書內部代碼的變化。與轉換不同,它不執行壓縮CSS、重新命名檔
       案、變更字型大小、調整邊距等操作。每個動作只執行效果所需的最小變化集。

       您應該在電子書創作過程中最後使用這個工具。

       注意,打磨只對AZW3 或 EPUB格式的檔案起作用。

       Whenever you pass arguments  to  ebook-polish  that  have  spaces  in  them,  enclose  the
       arguments in quotation marks. For example: "/some path/with spaces"

[選項]

       --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.

       --compress-images, -i
              Losslessly compress images in the book, to reduce the filesize,  without  affecting
              image quality.

       --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.

       --embed-fonts, -e
              文件中尚未嵌入所有引用的字體。此操作將會掃描您電腦中的字體, 如果找到這些字體,將嵌
              入這些字體到文件中。 請確保您有足夠的權限來使用內嵌字體的文件。

       --help, -h
              顯示說明訊息並退出

       --jacket, -j
              Insert  a  "book  jacket"  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.

       --opf, -o
              OPF 檔案路徑。書本中的詮釋資料是從 OPF 檔案更新。

       --remove-jacket
              移除先前插入的書本封面頁。

       --remove-soft-hyphens
              Remove soft hyphens from all text in the book.

       --remove-unused-css, -u
              Remove  all  unused CSS rules from stylesheets and <style> tags. Some books created
              from production templates can have a large number of extra  CSS  rules  that  don't
              match  any  actual  content.  These  extra rules can slow down readers that need to
              parse them all.

       --smarten-punctuation, -p
              Convert plain text dashes, ellipsis, quotes,  multiple  hyphens,  etc.  into  their
              typographically correct equivalents. Note that the algorithm can sometimes generate
              incorrect results, especially when single quotes at the start of  contractions  are
              involved.

       --subset-fonts, -f
              嵌入子集字體意味著可以減少內嵌字體的體積大小,因為只 使用書本中所需要調用的字元。這
              有助於大幅減少字體檔案的大 小(通常能減少近一半的體積)。  舉個例子,如果一本書為標
              題使用了特定的字體,子集字體 將只保留使用標題字元中使用的字體。或者是如果書本內嵌了
              字 體的粗體和斜體,但是卻很少使用粗體和斜體,那麼粗體和斜體  可能會被精簡為少量的字
              元,甚至是完全被移除。  子集字體唯一的缺點是,如果您想在以後為您的書本添加更 多的內
              容,新的內容可能無法使用原有的子集字體。

       --upgrade-book, -U
              Upgrade the internal structures of the book, if possible.  For  instance,  upgrades
              EPUB 2 books to EPUB 3 books.

       --verbose
              產生更詳細的輸出,以利除錯。

       --version
              顯示程式版本編號並退出

AUTHOR

       Kovid Goyal

COPYRIGHT

       Kovid Goyal