Debian Codegraph @

man-pages/nb/man1/ebook-convert.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-CONVERT" "1" "september 18, 2026" "9.15.0" "calibre"
32 .SH NAME
33 ebook-convert \- ebook-convert
34 .INDENT 0.0
35 .INDENT 3.5
36 .sp
37 .EX
38 ebook\-convert input_file output_file [options]
39 .EE
40 .UNINDENT
41 .UNINDENT
42 .sp
43 Convert an e\-book from one format to another.
44 .sp
45 input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command.
46 .sp
47 The output e\-book format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived from the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a folder and an \(dqopen e\-book\(dq (OEB) consisting of HTML files is written to that folder. These files are the files that would normally have been passed to the output plugin.
48 .sp
49 After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the \-h option.
50 .sp
51 For full documentation of the conversion system see
52 E\-book conversion \%<#\:conversion>
53 .sp
54 Whenever you pass arguments to \fBebook\-convert\fP that have spaces in them, enclose the arguments in quotation marks. For example: \(dq/some path/with spaces\(dq
55 .sp
56 The options and default values for the options change depending on both the
57 input and output formats, so you should always check with:
58 .INDENT 0.0
59 .INDENT 3.5
60 .sp
61 .EX
62 ebook\-convert myfile.input_format myfile.output_format \-h
63 .EE
64 .UNINDENT
65 .UNINDENT
66 .sp
67 Below are the options that are common to all conversion, followed by the
68 options specific to every input and output format.
69 .INDENT 0.0
70 .IP \(bu 2
71 VALG FOR INNDATA
72 .IP \(bu 2
73 VALG FOR UTDATA
74 .IP \(bu 2
75 UTSEENDE OG FØLELSE
76 .IP \(bu 2
77 HEURISTIC PROCESSING
78 .IP \(bu 2
79 SØK OG ERSTATT
80 .IP \(bu 2
81 STRUCTURE DETECTION
82 .IP \(bu 2
83 INNHOLDSFORTEGNELSE
84 .IP \(bu 2
85 METADATA
86 .IP \(bu 2
87 FEILSØK
88 .UNINDENT
89 .INDENT 0.0
90 .TP
91 .B \-\-help, \-h
92 show this help message and exit
93 .UNINDENT
94 .INDENT 0.0
95 .TP
96 .B \-\-input\-profile
97 Spesifiser inndataprofilen. Inndataprofilen gir konverteringssystemet informasjon om hvordan tolke den varierende informasjonen i inndatadokumentet. For eksempel oppløsningens avhengighet (for eksempel lengde i piksler). Valgmulighetene er: cybookg3, cybook_opus, default, hanlinv3, hanlinv5, illiad, irexdr1000, irexdr800, kindle, msreader, mobipocket, nook, sony, sony300, sony900
98 .UNINDENT
99 .INDENT 0.0
100 .TP
101 .B \-\-list\-recipes
102 List builtin recipe names. You can create an e\-book from a builtin recipe like this: ebook\-convert \fB\(dq\fPRecipe Name.recipe\fB\(dq\fP output.epub
103 .UNINDENT
104 .INDENT 0.0
105 .TP
106 .B \-\-output\-profile
107 Specify the output profile. The output profile tells the conversion system how to optimize the created document for the specified device. In some cases, an output profile can be used to optimize the output for a particular device, but this is rarely necessary. Choices are:cybookg3, cybook_opus, default, generic_eink, generic_eink_hd, generic_eink_large, hanlinv3, hanlinv5, illiad, ipad, ipad3, irexdr1000, irexdr800, jetbook5, kindle, kindle_dx, kindle_fire, kindle_oasis, kindle_pw, kindle_pw3, kindle_scribe, kindle_voyage, kobo, tablet, msreader, mobipocket, nook, nook_color, nook_hd_plus, pocketbook_inkpad3, pocketbook_lux, pocketbook_hd, pocketbook_900, pocketbook_pro_912, galaxy, sony, sony300, sony900, sony\-landscape, sonyt3
108 .UNINDENT
109 .INDENT 0.0
110 .TP
111 .B \-\-version
112 show program\fB\(aq\fPs version number and exit
113 .UNINDENT
114 .SH VALG FOR INNDATA
115 .sp
116 Valgmuligheter for å kontrollere prosesseringen av inndata mobi filen
117 .INDENT 0.0
118 .TP
119 .B \-\-input\-encoding
120 Spesifiser tegnsettkoden til dokumentet. Om valgt, vil dette valget overskrive enhver koding laget av dokumentet selv. Det er spesielt nyttig for dokumenter som ikke angir et kodesett eller som viser feilmeldinger.
121 .UNINDENT
122 .SH VALG FOR UTDATA
123 .sp
124 Valgmuligheter for å kontrollere prosesseringen av utdata epub
125 .INDENT 0.0
126 .TP
127 .B \-\-dont\-split\-on\-page\-breaks
128 Turn off splitting at page breaks. Normally, input files are automatically split at every page break into two files. This gives an output e\-book that can be parsed faster and with less resources. However, splitting is slow and if your source file contains a very large number of page breaks, you should turn off splitting on page breaks.
129 .UNINDENT
130 .INDENT 0.0
131 .TP
132 .B \-\-epub\-flatten
133 Dette valget behøves kun dersom du ønkser å benytte EPUB med FBReaderj. Det vil redusere filsystemet i EPUB ved at det setter alle filer til toppnivå.
134 .UNINDENT
135 .INDENT 0.0
136 .TP
137 .B \-\-epub\-inline\-toc
138 Insert an inline Table of Contents that will appear as part of the main book content.
139 .UNINDENT
140 .INDENT 0.0
141 .TP
142 .B \-\-epub\-max\-image\-size
143 The maximum image size (width x height). A value of profile means use the screen size from the output profile. A value of none means no maximum size is specified. For example, a value of 100x200 will cause all images to be resized so that their width is no more than 100 pixels and their height is no more than 200 pixels. Note that this only affects the size of the actual image files themselves. Any given image may be rendered at a different size depending on the styling applied to it in the document.
144 .UNINDENT
145 .INDENT 0.0
146 .TP
147 .B \-\-epub\-toc\-at\-end
148 Put the inserted inline Table of Contents at the end of the book instead of the start.
149 .UNINDENT
150 .INDENT 0.0
151 .TP
152 .B \-\-epub\-version
153 The version of the EPUB file to generate. EPUB 2 is the most widely compatible, only use EPUB 3 if you know you actually need it.
154 .UNINDENT
155 .INDENT 0.0
156 .TP
157 .B \-\-extract\-to
158 Extract the contents of the generated book to the specified folder. The contents of the folder are first deleted, so be careful.
159 .UNINDENT
160 .INDENT 0.0
161 .TP
162 .B \-\-flow\-size
163 Split all HTML files larger than this size (in KB). This is necessary as most EPUB readers cannot handle large file sizes. The default of 260KB is the size required for Adobe Digital Editions. Set to 0 to disable size based splitting.
164 .UNINDENT
165 .INDENT 0.0
166 .TP
167 .B \-\-no\-default\-epub\-cover
168 Normalt, dersom inndatafilen ikke har noe omslag, og du ikke ønsker å spesifisere ett, så vil et standard omslag bli generert med tittel, forfatter osv. Dette valget slår av genereringen av dette omslaget.
169 .UNINDENT
170 .INDENT 0.0
171 .TP
172 .B \-\-no\-svg\-cover
173 Bruk ikke SVG til bokomslaget. Dette valget dersom din EPUB skal benyttes på en enhet som ikke støtter SVG, som iPhone eller JetBook Lite. Uten dette valget vil slike enheter vise omslaget som en tom side.
174 .UNINDENT
175 .INDENT 0.0
176 .TP
177 .B \-\-preserve\-cover\-aspect\-ratio
178 Når SVG omslag benyttes, vil dette valget gjøre at omslaget skaleres til å benytte hele skjermområdet, men fortsatt beholde dets aspektområde (høyde og bredde). Dette betyr at det kan oppstå hvite avgrensninger på sidene, toppen og bunnen av et bilde, men bildet vil ikke bli forskjøvet. Uten dette valget kan bildet bli noe forskjøvet, men ingen avgrensninger vil oppstå.
179 .UNINDENT
180 .INDENT 0.0
181 .TP
182 .B \-\-pretty\-print
183 Om spesifisert, vil Utdata programtillegget forsøke å lage data som er så lesbart som mulig. Det er mulig at dette ikke har effekt for enkelte av programtilleggene.
184 .UNINDENT
185 .INDENT 0.0
186 .TP
187 .B \-\-toc\-title
188 Title for any generated inline table of contents.
189 .UNINDENT
190 .SH UTSEENDE OG FØLELSE
191 .sp
192 Valgmuligheter for å kontrollere utseendeinnstillinger for utdata
193 .INDENT 0.0
194 .TP
195 .B \-\-asciiize
196 Transliterate Unicode characters to an ASCII representation. Use with care because this will replace Unicode characters with ASCII. For instance it will replace \fB\(dq\fPPelé\fB\(dq\fP with \fB\(dq\fPPele\fB\(dq\fP\&. Also, note that in cases where there are multiple representations of a character (characters shared by Chinese and Japanese for instance) the representation based on the current calibre interface language will be used.
197 .UNINDENT
198 .INDENT 0.0
199 .TP
200 .B \-\-base\-font\-size
201 The base font size in pts. All font sizes in the produced book will be rescaled based on this size. By choosing a larger size you can make the fonts in the output bigger and vice versa. By default, when the value is zero, the base font size is chosen based on the output profile you chose.
202 .UNINDENT
203 .INDENT 0.0
204 .TP
205 .B \-\-change\-justification
206 Forandre tekstjustering. en verdi for \fB\(dq\fPvenstre\fB\(dq\fP endrer all justert tekst i kilden til venstrejustert tekst (f.eks. ujustert). En verdi for \fB\(dq\fPjuster\fB\(dq\fP endrer all ujustert tekst til justert. en verdi for \fB\(dq\fPoriginal\fB\(dq\fP (standard) forandrer ikke justeringen i kildefilen. Legg merke til at kun noen utdataformater støtter justeringer.
207 .UNINDENT
208 .INDENT 0.0
209 .TP
210 .B \-\-disable\-font\-rescaling
211 Slå av all omskalering av fontstørrelser.
212 .UNINDENT
213 .INDENT 0.0
214 .TP
215 .B \-\-embed\-all\-fonts
216 Embed every font that is referenced in the input document but not already embedded. This will search your system for the fonts, and if found, they will be embedded. Embedding will only work if the format you are converting to supports embedded fonts, such as EPUB, AZW3, DOCX or PDF. Please ensure that you have the proper license for embedding the fonts used in this document.
217 .UNINDENT
218 .INDENT 0.0
219 .TP
220 .B \-\-embed\-font\-family
221 Embed the specified font family into the book. This specifies the \fB\(dq\fPbase\fB\(dq\fP font used for the book. If the input document specifies its own fonts, they may override this base font. You can use the filter style information option to remove fonts from the input document. Note that font embedding only works with some output formats, principally EPUB, AZW3 and DOCX.
222 .UNINDENT
223 .INDENT 0.0
224 .TP
225 .B \-\-expand\-css
226 By default, calibre will use the shorthand form for various CSS properties such as margin, padding, border, etc. This option will cause it to use the full expanded form instead. Note that CSS is always expanded when generating EPUB files with the output profile set to one of the Nook profiles as the Nook cannot handle shorthand CSS.
227 .UNINDENT
228 .INDENT 0.0
229 .TP
230 .B \-\-extra\-css
231 Enten stien til CSS stilsett eller rå CSS. Denne CSSen vil bli avhengig av stilsettreglene fra kildefilen, slik at den kan bli brukt til å tilsidesette disse reglene.
232 .UNINDENT
233 .INDENT 0.0
234 .TP
235 .B \-\-filter\-css
236 A comma separated list of CSS properties that will be removed from all CSS style rules. This is useful if the presence of some style information prevents it from being overridden on your device. For example: font\-family,color,margin\-left,margin\-right
237 .UNINDENT
238 .INDENT 0.0
239 .TP
240 .B \-\-font\-size\-mapping
241 Kartlegging fra CSS fontnavn til fontstørrelser i poeng. Et eksempel på innstillinger er 12,12,14,16,18,20,22,24. Dette er kartleggingen for størrelsene xx\-liten til xx\-stor, med den siste størrelsen som store fonter. Font\-omskaleringsalgoritmene benytter disse størrelsene til å omskalere fontene på en hensiktsmessig måte. Standard er å benytte kartleggingen basert på utdataprofilen du benytter.
242 .UNINDENT
243 .INDENT 0.0
244 .TP
245 .B \-\-insert\-blank\-line
246 Sett inn en blank linje mellom avsnitt. Dette vil ikke fungere dersom kildefilen ikke benytter avsnitt (<p> eller <div> tagger).
247 .UNINDENT
248 .INDENT 0.0
249 .TP
250 .B \-\-insert\-blank\-line\-size
251 Set the height of the inserted blank lines (in em). The height of the lines between paragraphs will be twice the value set here.
252 .UNINDENT
253 .INDENT 0.0
254 .TP
255 .B \-\-keep\-ligatures
256 Preserve ligatures present in the input document. A ligature is a combined character of a pair of characters like ff, fi, fl et cetera. Most readers do not have support for ligatures in their default fonts, so they are unlikely to render correctly. By default, calibre will turn a ligature into the corresponding pair of normal characters. Note that ligatures here mean only unicode ligatures not ligatures created via CSS or font styles. This option will preserve them instead.
257 .UNINDENT
258 .INDENT 0.0
259 .TP
260 .B \-\-line\-height
261 Linjehøyde i poeng. Kontrollerer avstanden mellom påfølgende linjer med tekst. Dette gjelder kun elementer som ikke definerer sin egen linjehøyde. I de fleste tilfeller er valget med minimum linjehøyde det mest anvendelige. Som standard benyttes ikke manipulasjon av linjehøyde.
262 .UNINDENT
263 .INDENT 0.0
264 .TP
265 .B \-\-linearize\-tables
266 Noen dårlig utformede dokumenter benytter tabeller til å styre formgivingen av teksten i en side. Når man konverterer disse dokumentene, vil disse dokumentene ofte ha tekst som strekker seg utover bokkantene, samt andre artefakter. Dette valget vil utvinne innholdet fra tabellene og presentere det på en lineær måte.
267 .UNINDENT
268 .INDENT 0.0
269 .TP
270 .B \-\-margin\-bottom
271 Set the bottom margin in pts. Default is 5.0. Setting this to less than zero will cause no margin to be set (the margin setting in the original document will be preserved). Note: Page oriented formats such as PDF and DOCX have their own margin settings that take precedence.
272 .UNINDENT
273 .INDENT 0.0
274 .TP
275 .B \-\-margin\-left
276 Set the left margin in pts. Default is 5.0. Setting this to less than zero will cause no margin to be set (the margin setting in the original document will be preserved). Note: Page oriented formats such as PDF and DOCX have their own margin settings that take precedence.
277 .UNINDENT
278 .INDENT 0.0
279 .TP
280 .B \-\-margin\-right
281 Set the right margin in pts. Default is 5.0. Setting this to less than zero will cause no margin to be set (the margin setting in the original document will be preserved). Note: Page oriented formats such as PDF and DOCX have their own margin settings that take precedence.
282 .UNINDENT
283 .INDENT 0.0
284 .TP
285 .B \-\-margin\-top
286 Set the top margin in pts. Default is 5.0. Setting this to less than zero will cause no margin to be set (the margin setting in the original document will be preserved). Note: Page oriented formats such as PDF and DOCX have their own margin settings that take precedence.
287 .UNINDENT
288 .INDENT 0.0
289 .TP
290 .B \-\-minimum\-line\-height
291 Den minste linjehøyden som prosenttall av elementets kalkulerte tegnstørrelse. calibre vil sikre at hvert element har en linjehøyde med minst denne innstillingen, uansett hva inndata\-dokumentet spesifiserer. Sett null for å slå av. Standard er 120%. Benytt denne innstillingen i innstillingene til den direkte linjehøydens spesifikasjon, om du ikke vet hva du gjør. For eksempel så kan du få dobbel linjeavstand ved å sette innstillingen til 240.
292 .UNINDENT
293 .INDENT 0.0
294 .TP
295 .B \-\-remove\-paragraph\-spacing
296 Fjern avstand mellom avsnitt. Setter også en kommando for avsnitt på 1,5. Avstandsfjerning vil ikke fungere dersom kildefilen ikke benytter avsnitt (<p> eller <div> emndeord).
297 .UNINDENT
298 .INDENT 0.0
299 .TP
300 .B \-\-remove\-paragraph\-spacing\-indent\-size
301 When calibre removes blank lines between paragraphs, it automatically sets a paragraph indent, to ensure that paragraphs can be easily distinguished. This option controls the width of that indent (in em). If you set this value negative, then the indent specified in the input document is used, that is, calibre does not change the indentation.
302 .UNINDENT
303 .INDENT 0.0
304 .TP
305 .B \-\-smarten\-punctuation
306 Convert plain quotes, dashes and ellipsis to their typographically correct equivalents. For details, see: \%<https://\:daringfireball\:.net/\:projects/\:smartypants>\&.
307 .UNINDENT
308 .INDENT 0.0
309 .TP
310 .B \-\-subset\-embedded\-fonts
311 Subset all embedded fonts. Every embedded font is reduced to contain only the glyphs used in this document. This decreases the size of the font files. Useful if you are embedding a particularly large font with lots of unused glyphs.
312 .UNINDENT
313 .INDENT 0.0
314 .TP
315 .B \-\-transform\-css\-rules
316 Path to a file containing rules to transform the CSS styles in this book. The easiest way to create such a file is to use the wizard for creating rules in the calibre GUI. Access it in the \fB\(dq\fPLook & feel\->Transform styles\fB\(dq\fP section of the conversion dialog. Once you create the rules, you can use the \fB\(dq\fPExport\fB\(dq\fP button to save them to a file.
317 .UNINDENT
318 .INDENT 0.0
319 .TP
320 .B \-\-transform\-html\-rules
321 Path to a file containing rules to transform the HTML in this book. The easiest way to create such a file is to use the wizard for creating rules in the calibre GUI. Access it in the \fB\(dq\fPLook & feel\->Transform HTML\fB\(dq\fP section of the conversion dialog. Once you create the rules, you can use the \fB\(dq\fPExport\fB\(dq\fP button to save them to a file.
322 .UNINDENT
323 .INDENT 0.0
324 .TP
325 .B \-\-unsmarten\-punctuation
326 Convert fancy quotes, dashes and ellipsis to their plain equivalents.
327 .UNINDENT
328 .SH HEURISTIC PROCESSING
329 .sp
330 Modify the document text and structure using common patterns. Disabled by default. Use \-\-enable\-heuristics to enable. Individual actions can be disabled with the \-\-disable\-* options.
331 .INDENT 0.0
332 .TP
333 .B \-\-disable\-dehyphenate
334 Analyser ord med bindestrek i dokumentet. Dokumentet selv benyttes som ordbok for å avgjøre om en bindestrek skal beholdes eller fjernes.
335 .UNINDENT
336 .INDENT 0.0
337 .TP
338 .B \-\-disable\-delete\-blank\-paragraphs
339 Fjern tomme avsnitt fra dokumentet når de finnes mellom annenhvert avsnitt
340 .UNINDENT
341 .INDENT 0.0
342 .TP
343 .B \-\-disable\-fix\-indents
344 Gjør om innrykk laget fra flere sidebrytinger til CSS\-innrykk.
345 .UNINDENT
346 .INDENT 0.0
347 .TP
348 .B \-\-disable\-format\-scene\-breaks
349 Left aligned scene break markers are center aligned. Replace soft scene breaks that use multiple blank lines with horizontal rules.
350 .UNINDENT
351 .INDENT 0.0
352 .TP
353 .B \-\-disable\-italicize\-common\-cases
354 Søk etter vanlige ord og mønstre som noterer seg skråskrift og gjør dem om til skråskrift.
355 .UNINDENT
356 .INDENT 0.0
357 .TP
358 .B \-\-disable\-markup\-chapter\-headings
359 Finn uformaterte kapitteloverskrifter og undertekst til overskrifter. Forandre dem til h2 og h3 nøkkelord. Denne innstillingen vil ikke lage en TOC, men kan benyttes i sammenheng med strukturdeteksjon for å lage en.
360 .UNINDENT
361 .INDENT 0.0
362 .TP
363 .B \-\-disable\-renumber\-headings
364 Ser etter hendelser av etterfølgende <h1> eller <h2> tagger. Taggene blir omnummerert for å hindre splittelse av kapitteloverskriftenes senter.
365 .UNINDENT
366 .INDENT 0.0
367 .TP
368 .B \-\-disable\-unwrap\-lines
369 Pakk opp linjer som bruker interpunksjon og andre formateringsspor.
370 .UNINDENT
371 .INDENT 0.0
372 .TP
373 .B \-\-enable\-heuristics
374 Slå på heuristisk oppgavekjøring. Dette valget må legges inn før noen heuristiske oppgaver kan kjøres.
375 .UNINDENT
376 .INDENT 0.0
377 .TP
378 .B \-\-html\-unwrap\-factor
379 Skala brukt for å bestemme lengden som en linje skal pakkes opp. Gyldige verdier er et desimal mellom 0 og 1. Standard er 0.4, like under medianlinjens lengde. Dersom bare noen få linjer i dokumentet behøves pakkes opp, bør denne verdien reduseres.
380 .UNINDENT
381 .INDENT 0.0
382 .TP
383 .B \-\-replace\-scene\-breaks
384 Replace scene breaks with the specified text. By default, the text from the input document is used.
385 .UNINDENT
386 .SH SØK OG ERSTATT
387 .sp
388 Modifiser dokumentets tekst og struktur ved å benytte egendefinerte mønstre.
389 .INDENT 0.0
390 .TP
391 .B \-\-search\-replace
392 Path to a file containing search and replace regular expressions. The file must contain alternating lines of regular expression followed by replacement pattern (which can be an empty line). The regular expression must be in the Python regex syntax and the file must be UTF\-8 encoded.
393 .UNINDENT
394 .INDENT 0.0
395 .TP
396 .B \-\-sr1\-replace
397 Erstatning for å erstatte tekst funnet med srl\-søk.
398 .UNINDENT
399 .INDENT 0.0
400 .TP
401 .B \-\-sr1\-search
402 Søker etter mønster (ordinære uttrykk) som skal erstattes med srl\-replace.
403 .UNINDENT
404 .INDENT 0.0
405 .TP
406 .B \-\-sr2\-replace
407 Erstatning for å erstatte tekst funnet med sr2\-søk.
408 .UNINDENT
409 .INDENT 0.0
410 .TP
411 .B \-\-sr2\-search
412 Søk etter mønster (regulære uttrykk) som skal erstattes med sr2\-replace.
413 .UNINDENT
414 .INDENT 0.0
415 .TP
416 .B \-\-sr3\-replace
417 Erstatning for å erstatte tekst funnet med sr3\-søk.
418 .UNINDENT
419 .INDENT 0.0
420 .TP
421 .B \-\-sr3\-search
422 Søk etter mønster (regulært uttrykk) som skal erstattes med sr3\-erstatning.
423 .UNINDENT
424 .SH STRUCTURE DETECTION
425 .sp
426 Kontrollerer auto detektering av dokument strukturen.
427 .INDENT 0.0
428 .TP
429 .B \-\-add\-alt\-text\-to\-img
430 When an <img> tag has no alt attribute, check the associated image file for metadata that specifies alternate text, and use it to fill in the alt attribute. The alt attribute improves accessibility by providing text descriptions for users who cannot see or fully interpret visual content.
431 .UNINDENT
432 .INDENT 0.0
433 .TP
434 .B \-\-chapter
435 An XPath expression to detect chapter titles. The default is to consider <h1> or <h2> tags that contain the words \fB\(dq\fPchapter\fB\(dq\fP, \fB\(dq\fPbook\fB\(dq\fP, \fB\(dq\fPsection\fB\(dq\fP, \fB\(dq\fPprologue\fB\(dq\fP, \fB\(dq\fPepilogue\fB\(dq\fP or \fB\(dq\fPpart\fB\(dq\fP as chapter titles as well as any tags that have class=\fB\(dq\fPchapter\fB\(dq\fP\&. The expression used must evaluate to a list of elements. To disable chapter detection, use the expression \fB\(dq\fP/\fB\(dq\fP\&. See the XPath Tutorial in the calibre User Manual for further help on using this feature.
436 .UNINDENT
437 .INDENT 0.0
438 .TP
439 .B \-\-chapter\-mark
440 Spesifiser hvordan å markere detekterte kapitler. Verdien \fB\(dq\fPpagebreak\fB\(dq\fP vil sette inn sideavslutning før kapitler. Verdien \fB\(dq\fPrule\fB\(dq\fP vil sette inn en linje før kapitler. Verdien \fB\(dq\fPnone\fB\(dq\fP vil ikke medføre kapittel markering og verdien \fB\(dq\fPboth\fB\(dq\fP vil bruke både sideavslutning og linjer for å markere kapitler.
441 .UNINDENT
442 .INDENT 0.0
443 .TP
444 .B \-\-disable\-remove\-fake\-margins
445 Some documents specify page margins by specifying a left and right margin on each individual paragraph. calibre will try to detect and remove these margins. Sometimes, this can cause the removal of margins that should not have been removed. In this case you can disable the removal.
446 .UNINDENT
447 .INDENT 0.0
448 .TP
449 .B \-\-insert\-metadata
450 Insert the book metadata at the start of the book. This is useful if your e\-book reader does not support displaying/searching metadata directly.
451 .UNINDENT
452 .INDENT 0.0
453 .TP
454 .B \-\-page\-breaks\-before
455 An XPath expression. Page breaks are inserted before the specified elements. To disable use the expression: /
456 .UNINDENT
457 .INDENT 0.0
458 .TP
459 .B \-\-prefer\-metadata\-cover
460 Bruk omslagsbilde fra kildefilen fremfor spesifisert omslagsbilde.
461 .UNINDENT
462 .INDENT 0.0
463 .TP
464 .B \-\-remove\-first\-image
465 Remove the first image from the input e\-book. Useful if the input document has a cover image that is not identified as a cover. In this case, if you set a cover in calibre, the output document will end up with two cover images if you do not specify this option.
466 .UNINDENT
467 .INDENT 0.0
468 .TP
469 .B \-\-start\-reading\-at
470 An XPath expression to detect the location in the document at which to start reading. Some e\-book reading programs (most prominently the Kindle) use this location as the position at which to open the book. See the XPath tutorial in the calibre User Manual for further help using this feature.
471 .UNINDENT
472 .SH INNHOLDSFORTEGNELSE
473 .sp
474 Kontroller automatisk generering av innholdsliste. Som standardvalg, dersom kildefilen har en innholdsliste, vil denne bli benyttet som preferanse til den automatiske genererte versjonen.
475 .INDENT 0.0
476 .TP
477 .B \-\-duplicate\-links\-in\-toc
478 When creating a TOC from links in the input document, allow duplicate entries, i.e. allow more than one entry with the same text, provided that they point to a different location.
479 .UNINDENT
480 .INDENT 0.0
481 .TP
482 .B \-\-level1\-toc
483 XPath expression that specifies all tags that should be added to the Table of Contents at level one. If this is specified, it takes precedence over other forms of auto\-detection. See the XPath Tutorial in the calibre User Manual for examples.
484 .UNINDENT
485 .INDENT 0.0
486 .TP
487 .B \-\-level2\-toc
488 XPath expression that specifies all tags that should be added to the Table of Contents at level two. Each entry is added under the previous level one entry. See the XPath Tutorial in the calibre User Manual for examples.
489 .UNINDENT
490 .INDENT 0.0
491 .TP
492 .B \-\-level3\-toc
493 XPath expression that specifies all tags that should be added to the Table of Contents at level three. Each entry is added under the previous level two entry. See the XPath Tutorial in the calibre User Manual for examples.
494 .UNINDENT
495 .INDENT 0.0
496 .TP
497 .B \-\-max\-toc\-links
498 Høyeste antall lenker som legges til TOC. Sett 0 for å slå av. Standard er: 50. Lenker legges kun til TOC dersom færre enn terskelantallet for kapitler har blitt oppdaget.
499 .UNINDENT
500 .INDENT 0.0
501 .TP
502 .B \-\-no\-chapters\-in\-toc
503 Ikke legg til automatisk oppdagede kapitler til innholdsregisteret.
504 .UNINDENT
505 .INDENT 0.0
506 .TP
507 .B \-\-toc\-filter
508 Fjern oppføringer fra innholdsfortegnelsen hvis titler samsvarer med de spesifiserte vanlige uttrykkene. Samsvarende oppføringer og alle deres under\-uttrykk er fjernet.
509 .UNINDENT
510 .INDENT 0.0
511 .TP
512 .B \-\-toc\-threshold
513 Om færre enn dette antallet kapitler blir oppdaget, legges lenker til innholdsfortegnelsen. Standard: 6
514 .UNINDENT
515 .INDENT 0.0
516 .TP
517 .B \-\-use\-auto\-toc
518 Normalt, om kildefilen allerede har en innholdsliste, benyttes den som preferanse til den auto\-genererte listen. Med dette valget blir den auto\-genererte alltid benyttet.
519 .UNINDENT
520 .SH METADATA
521 .sp
522 Valgmuligheter for å legge inn metadata i utdatafilen
523 .INDENT 0.0
524 .TP
525 .B \-\-author\-sort
526 Streng som skal benyttes når man sorterer etter forfatter.
527 .UNINDENT
528 .INDENT 0.0
529 .TP
530 .B \-\-authors
531 Sett inn forfatter. Om flere forfattere skal benyttes, må disse separeres med et\-tegnet \- &
532 .UNINDENT
533 .INDENT 0.0
534 .TP
535 .B \-\-book\-producer
536 Legg inn bokprodusent.
537 .UNINDENT
538 .INDENT 0.0
539 .TP
540 .B \-\-comments
541 Set the e\-book description.
542 .UNINDENT
543 .INDENT 0.0
544 .TP
545 .B \-\-cover
546 Legg inn forsidebilde til den spesifiserte filen eller URL adressen
547 .UNINDENT
548 .INDENT 0.0
549 .TP
550 .B \-\-isbn
551 Legg inn ISBN for boken.
552 .UNINDENT
553 .INDENT 0.0
554 .TP
555 .B \-\-language
556 Velg språk
557 .UNINDENT
558 .INDENT 0.0
559 .TP
560 .B \-\-pubdate
561 Set the publication date (assumed to be in the local timezone, unless the timezone is explicitly specified)
562 .UNINDENT
563 .INDENT 0.0
564 .TP
565 .B \-\-publisher
566 Set the e\-book publisher.
567 .UNINDENT
568 .INDENT 0.0
569 .TP
570 .B \-\-rating
571 Legg inn bedømmelse. Må være et nummer mellom 1 og 5.
572 .UNINDENT
573 .INDENT 0.0
574 .TP
575 .B \-\-read\-metadata\-from\-opf, \-\-from\-opf, \-m
576 Les metadata fra den spesifiserte OPF filen. Metadata lest fra denne filen vil overskrive alle metadata i kildefilen.
577 .UNINDENT
578 .INDENT 0.0
579 .TP
580 .B \-\-series
581 Set the series this e\-book belongs to.
582 .UNINDENT
583 .INDENT 0.0
584 .TP
585 .B \-\-series\-index
586 Legg inn indeksen til boken i denne serien.
587 .UNINDENT
588 .INDENT 0.0
589 .TP
590 .B \-\-tags
591 Legg inn emneord for boken. Benytt en kommaseparert listing.
592 .UNINDENT
593 .INDENT 0.0
594 .TP
595 .B \-\-timestamp
596 Set the book timestamp (no longer used anywhere)
597 .UNINDENT
598 .INDENT 0.0
599 .TP
600 .B \-\-title
601 Bestem tittelen.
602 .UNINDENT
603 .INDENT 0.0
604 .TP
605 .B \-\-title\-sort
606 Tittelversjonen som skal benyttes til sortering.
607 .UNINDENT
608 .SH FEILSØK
609 .sp
610 Valgmuligheter for hjelp med feilsøk av konverteringen
611 .INDENT 0.0
612 .TP
613 .B \-\-debug\-pipeline, \-d
614 Save the output from different stages of the conversion pipeline to the specified folder. Useful if you are unsure at which stage of the conversion process a bug is occurring.
615 .UNINDENT
616 .INDENT 0.0
617 .TP
618 .B \-\-verbose, \-v
619 Level of verbosity. Specify multiple times for greater verbosity. Specifying it twice will result in full verbosity, once medium verbosity and zero times least verbosity.
620 .UNINDENT
621 .SH Author
622 Kovid Goyal
623 .SH Copyright
624 Kovid Goyal
625 .\" End of generated man page.