Debian Codegraph @

man-pages/is/man1/ebook-polish.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "EBOOK-POLISH" "1" "september 18, 2026" "9.15.0" "calibre"
32 .SH NAME
33 ebook-polish \- ebook-polish
34 .INDENT 0.0
35 .INDENT 3.5
36 .sp
37 .EX
38 ebook\-polish [rofar] input_file [úttaksskrá]
39 .EE
40 .UNINDENT
41 .UNINDENT
42 .sp
43 Polishing books is all about putting the shine of perfection onto
44 your carefully crafted e\-books.
45 .sp
46 Polishing tries to minimize the changes to the internal code of your e\-book.
47 Unlike conversion, it does not flatten CSS, rename files, change font
48 sizes, adjust margins, etc. Every action performs only the minimum set of
49 changes needed for the desired effect.
50 .sp
51 You should use this tool as the last step in your e\-book creation process.
52 .sp
53 Note that polishing only works on files in the AZW3 eða EPUB eða KEPUB formats.
54 .sp
55 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
56 .SH [VALKOSTIR]
57 .INDENT 0.0
58 .TP
59 .B \-\-add\-soft\-hyphens, \-H
60 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.
61 .UNINDENT
62 .INDENT 0.0
63 .TP
64 .B \-\-compress\-images, \-i
65 Losslessly compress images in the book, to reduce the filesize, without affecting image quality.
66 .UNINDENT
67 .INDENT 0.0
68 .TP
69 .B \-\-cover, \-c
70 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.
71 .UNINDENT
72 .INDENT 0.0
73 .TP
74 .B \-\-download\-external\-resources, \-d
75 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.
76 .UNINDENT
77 .INDENT 0.0
78 .TP
79 .B \-\-embed\-fonts, \-e
80 Ívefja allar stafagerðir sem þessi skrá notar og ekki eru nú þegar ívafðar. Þessi aðgerð leitar að umbeðnum stafagerðum og ef þær finnast, verða þær ívafðar í skránna. Vinsamlegast tryggðu að þú hafir réttu leyfin til að ívefja þær stafagerðir sem notaðar eru í skránni.
81 .UNINDENT
82 .INDENT 0.0
83 .TP
84 .B \-\-help, \-h
85 sýna þessi hjálparskilaboð og hætta
86 .UNINDENT
87 .INDENT 0.0
88 .TP
89 .B \-\-jacket, \-j
90 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.
91 .UNINDENT
92 .INDENT 0.0
93 .TP
94 .B \-\-opf, \-o
95 Path to an OPF file. The metadata in the book is updated from the OPF file.
96 .UNINDENT
97 .INDENT 0.0
98 .TP
99 .B \-\-remove\-jacket
100 Fjarlægja áður innsetta bókarkápusíðu.
101 .UNINDENT
102 .INDENT 0.0
103 .TP
104 .B \-\-remove\-soft\-hyphens
105 Remove soft hyphens from all text in the book.
106 .UNINDENT
107 .INDENT 0.0
108 .TP
109 .B \-\-remove\-unused\-css, \-u
110 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\fB\(aq\fPt match any actual content. These extra rules can slow down readers that need to parse them all.
111 .UNINDENT
112 .INDENT 0.0
113 .TP
114 .B \-\-smarten\-punctuation, \-p
115 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.
116 .UNINDENT
117 .INDENT 0.0
118 .TP
119 .B \-\-subset\-fonts, \-f
120 Ef stafagerð er sett í undirmengi þá minnkar stafagerðin og inniheldur aðeins þá stafi úr þeirri stafagerð sem notaðir eru í bókinni. Þetta minnkar verulega stærð stafagerðaskráa (algengt að stærðin helmingist). Sem dæmi, ef bókin notar tiltekna stafagerð í titla, þá mun undirmengisaðgerðin minnka stafagerðina svo að hún inniheldur einungis þá stafi sem notaðir voru í titlum bókarinnar. Eða ef bókin hefur ívafið feit\- og skáletrun stafagerðar, en feit\- og skáletrun er hlutfallslega sjaldgæf, eða alveg fjarverandi, þá geta feit\- og skáletruðu stafagerðirnar verið minnkaðar niður í örfáa stafi eða verið algerlega fjarlægðar. Gallinn við að setja stafagerð í undirmengi er að ef þú ákveður síðar að bæta texta við bókina, þá er mögulegt að viðbætti textinn sé ekki innifalinn í stafagerðarundirmenginu.
121 .UNINDENT
122 .INDENT 0.0
123 .TP
124 .B \-\-upgrade\-book, \-U
125 Upgrade the internal structures of the book, if possible. For instance, upgrades EPUB 2 books to EPUB 3 books.
126 .UNINDENT
127 .INDENT 0.0
128 .TP
129 .B \-\-verbose
130 Produce more verbose output, useful for debugging.
131 .UNINDENT
132 .INDENT 0.0
133 .TP
134 .B \-\-version
135 sýna útgáfunúmer forrits og hætta
136 .UNINDENT
137 .SH Author
138 Kovid Goyal
139 .SH Copyright
140 Kovid Goyal
141 .\" End of generated man page.