Debian Codegraph @

translations/manual/hr/conversion.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) Kovid Goyal
3 # This file is distributed under the same license as the calibre package.
4 #
5 # Translators:
6 # Dee Tokmadzic, 2014
7 # Dee Tokmadzic, 2014
8 # Iva Tatic <[email protected]>, 2016
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: calibre\n"
12 "Report-Msgid-Bugs-To: \n"
13 "POT-Creation-Date: 2022-02-17 05:40+0000\n"
14 "PO-Revision-Date: 2022-02-09 03:23+0000\n"
15 "Last-Translator: Kovid Goyal <[email protected]>\n"
16 "Language-Team: Croatian (http://www.transifex.com/calibre/calibre/language/hr/)\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Language: hr\n"
21 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
22
23 #: ../../__w/calibre/calibre/manual/conversion.rst:4
24 msgid "E-book conversion"
25 msgstr ""
26
27 #: ../../__w/calibre/calibre/manual/conversion.rst:6
28 msgid ""
29 "calibre has a conversion system that is designed to be very easy to use. "
30 "Normally, you just add a book to calibre, click convert and calibre will try"
31 " hard to generate output that is as close as possible to the input. However,"
32 " calibre accepts a very large number of input formats, not all of which are "
33 "as suitable as others for conversion to e-books. In the case of such input "
34 "formats, or if you just want greater control over the conversion system, "
35 "calibre has a lot of options to fine tune the conversion process. Note "
36 "however that calibre's conversion system is not a substitute for a full "
37 "blown e-book editor. To edit e-books, I recommend first converting them to "
38 "EPUB or AZW3 using calibre and then using the :guilabel:`Edit book` feature "
39 "to get them into perfect shape. You can then use the edited e-book as input "
40 "for conversion into other formats in calibre."
41 msgstr ""
42
43 #: ../../__w/calibre/calibre/manual/conversion.rst:18
44 msgid ""
45 "This document will refer mainly to the conversion settings as found in the "
46 "conversion dialog, pictured below. All these settings are also available via"
47 " command line interface to conversion, documented at "
48 ":doc:`generated/en/ebook-convert`. In calibre, you can obtain help on any "
49 "individual setting by holding your mouse over it, a tooltip will appear "
50 "describing the setting."
51 msgstr ""
52
53 #: ../../__w/calibre/calibre/manual/conversion.rstNone
54 msgid "E-book conversion dialog"
55 msgstr ""
56
57 #: ../../__w/calibre/calibre/manual/conversion.rst:31
58 #: ../../__w/calibre/calibre/manual/conversion.rst:95
59 msgid "Contents"
60 msgstr "Sadrzaj"
61
62 #: ../../__w/calibre/calibre/manual/conversion.rst:36
63 msgid "Introduction"
64 msgstr ""
65
66 #: ../../__w/calibre/calibre/manual/conversion.rst:38
67 #: ../../__w/calibre/calibre/manual/conversion.rst:38
68 msgid "Debug icon"
69 msgstr ""
70
71 #: ../../__w/calibre/calibre/manual/conversion.rst:42
72 msgid ""
73 "The first thing to understand about the conversion system is that it is "
74 "designed as a pipeline. Schematically, it looks like this:"
75 msgstr ""
76
77 #: ../../__w/calibre/calibre/manual/conversion.rstNone
78 msgid "The conversion pipeline"
79 msgstr ""
80
81 #: ../../__w/calibre/calibre/manual/conversion.rst:49
82 msgid ""
83 "The input format is first converted to XHTML by the appropriate *Input "
84 "plugin*. This HTML is then *transformed*. In the last step, the processed "
85 "XHTML is converted to the specified output format by the appropriate *Output"
86 " plugin*. The results of the conversion can vary greatly, based on the input"
87 " format. Some formats convert much better than others. A list of the best "
88 "source formats for conversion is available :ref:`here <best-source-"
89 "formats>`."
90 msgstr ""
91
92 #: ../../__w/calibre/calibre/manual/conversion.rst:56
93 msgid ""
94 "The transforms that act on the XHTML output are where all the work happens. "
95 "There are various transforms, for example, to insert book metadata as a page"
96 " at the start of the book, to detect chapter headings and automatically "
97 "create a Table of Contents, to proportionally adjust font sizes, et cetera. "
98 "It is important to remember that all the transforms act on the XHTML output "
99 "by the *Input plugin*, not on the input file itself. So, for example, if you"
100 " ask calibre to convert an RTF file to EPUB, it will first be converted to "
101 "XHTML internally, the various transforms will be applied to the XHTML and "
102 "then the *Output plugin* will create the EPUB file, automatically generating"
103 " all metadata, Table of Contents, et cetera."
104 msgstr ""
105
106 #: ../../__w/calibre/calibre/manual/conversion.rst:65
107 msgid ""
108 "You can see this process in action by using the debug option |dbgi|. Just "
109 "specify the path to a folder for the debug output. During conversion, "
110 "calibre will place the XHTML generated by the various stages of the "
111 "conversion pipeline in different sub-folders. The four sub-folders are:"
112 msgstr ""
113
114 #: ../../__w/calibre/calibre/manual/conversion.rst:70
115 msgid "Stages of the conversion pipeline"
116 msgstr ""
117
118 #: ../../__w/calibre/calibre/manual/conversion.rst:73
119 msgid "Folder"
120 msgstr ""
121
122 #: ../../__w/calibre/calibre/manual/conversion.rst:73
123 msgid "Description"
124 msgstr ""
125
126 #: ../../__w/calibre/calibre/manual/conversion.rst:75
127 msgid "input"
128 msgstr "unos"
129
130 #: ../../__w/calibre/calibre/manual/conversion.rst:75
131 msgid ""
132 "This contains the HTML output by the Input plugin. Use this to debug the "
133 "Input plugin."
134 msgstr ""
135
136 #: ../../__w/calibre/calibre/manual/conversion.rst:76
137 msgid "parsed"
138 msgstr ""
139
140 #: ../../__w/calibre/calibre/manual/conversion.rst:76
141 msgid ""
142 "The result of pre-processing and converting to XHTML the output from the "
143 "Input plugin. Use to debug structure detection."
144 msgstr ""
145
146 #: ../../__w/calibre/calibre/manual/conversion.rst:77
147 msgid "structure"
148 msgstr ""
149
150 #: ../../__w/calibre/calibre/manual/conversion.rst:77
151 msgid ""
152 "Post structure detection, but before CSS flattening and font size "
153 "conversion. Use to debug font size conversion and CSS transforms."
154 msgstr ""
155
156 #: ../../__w/calibre/calibre/manual/conversion.rst:78
157 msgid "processed"
158 msgstr ""
159
160 #: ../../__w/calibre/calibre/manual/conversion.rst:78
161 msgid ""
162 "Just before the e-book is passed to the Output plugin. Use to debug the "
163 "Output plugin."
164 msgstr ""
165
166 #: ../../__w/calibre/calibre/manual/conversion.rst:81
167 msgid ""
168 "If you want to edit the input document a little before having calibre "
169 "convert it, the best thing to do is edit the files in the :file:`input` sub-"
170 "folder, then zip it up, and use the ZIP file as the input format for "
171 "subsequent conversions. To do this use the :guilabel:`Edit meta information`"
172 " dialog to add the ZIP file as a format for the book and then, in the top "
173 "left corner of the conversion dialog, select ZIP as the input format."
174 msgstr ""
175
176 #: ../../__w/calibre/calibre/manual/conversion.rst:87
177 msgid ""
178 "This document will deal mainly with the various transforms that operate on "
179 "the intermediate XHTML and how to control them. At the end are some tips "
180 "specific to each input/output format."
181 msgstr ""
182
183 #: ../../__w/calibre/calibre/manual/conversion.rst:91
184 msgid "Look & feel"
185 msgstr "Izgled"
186
187 #: ../../__w/calibre/calibre/manual/conversion.rst:97
188 msgid ""
189 "This group of options controls various aspects of the look and feel of the "
190 "converted e-book."
191 msgstr ""
192
193 #: ../../__w/calibre/calibre/manual/conversion.rst:102
194 msgid "Fonts"
195 msgstr ""
196
197 #: ../../__w/calibre/calibre/manual/conversion.rst:104
198 msgid ""
199 "One of the nicest features of the e-reading experience is the ability to "
200 "easily adjust font sizes to suit individual needs and lighting conditions. "
201 "calibre has sophisticated algorithms to ensure that all the books it outputs"
202 " have a consistent font sizes, no matter what font sizes are specified in "
203 "the input document."
204 msgstr ""
205
206 #: ../../__w/calibre/calibre/manual/conversion.rst:109
207 msgid ""
208 "The base font size of a document is the most common font size in that "
209 "document, i.e., the size of the bulk of text in that document. When you "
210 "specify a :guilabel:`Base font size`, calibre automatically rescales all "
211 "font sizes in the document proportionately, so that the most common font "
212 "size becomes the specified base font size and other font sizes are rescaled "
213 "appropriately. By choosing a larger base font size, you can make the fonts "
214 "in the document larger and vice versa. When you set the base font size, for "
215 "best results, you should also set the font size key."
216 msgstr ""
217
218 #: ../../__w/calibre/calibre/manual/conversion.rst:117
219 msgid ""
220 "Normally, calibre will automatically choose a base font size appropriate to "
221 "the output profile you have chosen (see :ref:`page-setup`). However, you can"
222 " override this here in case the default is not suitable for you."
223 msgstr ""
224
225 #: ../../__w/calibre/calibre/manual/conversion.rst:121
226 msgid ""
227 "The :guilabel:`Font size key` option lets you control how non-base font "
228 "sizes are rescaled. The font rescaling algorithm works using a font size "
229 "key, which is simply a comma-separated list of font sizes. The font size key"
230 " tells calibre how many \"steps\" bigger or smaller a given font size should"
231 " be compared to the base font size. The idea is that there should be a "
232 "limited number of font sizes in a document. For example, one size for the "
233 "body text, a couple of sizes for different levels of headings and a couple "
234 "of sizes for super/sub scripts and footnotes. The font size key allows "
235 "calibre to compartmentalize the font sizes in the input documents into "
236 "separate \"bins\" corresponding to the different logical font sizes."
237 msgstr ""
238
239 #: ../../__w/calibre/calibre/manual/conversion.rst:130
240 msgid ""
241 "Let's illustrate with an example. Suppose the source document we are "
242 "converting was produced by someone with excellent eyesight and has a base "
243 "font size of 8pt. That means the bulk of the text in the document is sized "
244 "at 8pts, while headings are somewhat larger (say 10 and 12pt) and footnotes "
245 "somewhat smaller at 6pt. Now if we use the following settings::"
246 msgstr ""
247
248 #: ../../__w/calibre/calibre/manual/conversion.rst:139
249 msgid ""
250 "The output document will have a base font size of 12pt, headings of 14 and "
251 "16pt and footnotes of 8pt. Now suppose we want to make the largest heading "
252 "size stand out more and make the footnotes a little larger as well. To "
253 "achieve this, the font key should be changed to::"
254 msgstr ""
255
256 #: ../../__w/calibre/calibre/manual/conversion.rst:145
257 msgid ""
258 "The largest headings will now become 18pt, while the footnotes will become "
259 "9pt. You can play with these settings to try and figure out what would be "
260 "optimum for you by using the font rescaling wizard, which can be accessed by"
261 " clicking the little button next to the :guilabel:`Font size key` setting."
262 msgstr ""
263
264 #: ../../__w/calibre/calibre/manual/conversion.rst:150
265 msgid ""
266 "All the font size rescaling in the conversion can also be disabled here, if "
267 "you would like to preserve the font sizes in the input document."
268 msgstr ""
269
270 #: ../../__w/calibre/calibre/manual/conversion.rst:153
271 msgid ""
272 "A related setting is :guilabel:`Line height`. Line height controls the "
273 "vertical height of lines. By default, (a line height of 0), no manipulation "
274 "of line heights is performed. If you specify a non-default value, line "
275 "heights will be set in all locations that don't specify their own line "
276 "heights. However, this is something of a blunt weapon and should be used "
277 "sparingly. If you want to adjust the line heights for some section of the "
278 "input, it's better to use the :ref:`Extra CSS <extra-css>`."
279 msgstr ""
280
281 #: ../../__w/calibre/calibre/manual/conversion.rst:160
282 msgid ""
283 "In this section you can also tell calibre to embed any referenced fonts into"
284 " the book. This will allow the fonts to work on reader devices even if they "
285 "are not available on the device."
286 msgstr ""
287
288 #: ../../__w/calibre/calibre/manual/conversion.rst:165
289 msgid "Text"
290 msgstr ""
291
292 #: ../../__w/calibre/calibre/manual/conversion.rst:167
293 msgid ""
294 "Text can be either justified or not. Justified text has extra spaces between"
295 " words to give a smooth right margin. Some people prefer justified text, "
296 "others do not. Normally, calibre will preserve the justification in the "
297 "original document. If you want to override it you can use the "
298 ":guilabel:`Text justification` option in this section."
299 msgstr ""
300
301 #: ../../__w/calibre/calibre/manual/conversion.rst:173
302 msgid ""
303 "You can also tell calibre to :guilabel:`Smarten punctuation` which will "
304 "replace plain quotes, dashes and ellipses with their typographically correct"
305 " alternatives. Note that this algorithm is not perfect so it is worth "
306 "reviewing the results. The reverse, namely, :guilabel:`Unsmarted "
307 "punctuation` is also available."
308 msgstr ""
309
310 #: ../../__w/calibre/calibre/manual/conversion.rst:178
311 msgid ""
312 "Finally, there is :guilabel:`Input character encoding`. Older documents "
313 "sometimes don't specify their character encoding. When converted, this can "
314 "result in non-English characters or special characters like smart quotes "
315 "being corrupted. calibre tries to auto-detect the character encoding of the"
316 " source document, but it does not always succeed. You can force it to assume"
317 " a particular character encoding by using this setting. `cp1252` is a "
318 "common encoding for documents produced using Windows software. You should "
319 "also read :ref:`char-encoding-faq` for more on encoding issues."
320 msgstr ""
321
322 #: ../../__w/calibre/calibre/manual/conversion.rst:188
323 msgid "Layout"
324 msgstr "Izgled"
325
326 #: ../../__w/calibre/calibre/manual/conversion.rst:190
327 msgid ""
328 "Normally, paragraphs in XHTML are rendered with a blank line between them "
329 "and no leading text indent. calibre has a couple of options to control this."
330 " :guilabel:`Remove spacing between paragraphs` forcefully ensure that all "
331 "paragraphs have no inter paragraph spacing. It also sets the text indent to "
332 "1.5em (can be changed) to mark the start of every paragraph. "
333 ":guilabel:`Insert blank line` does the opposite, guaranteeing that there is "
334 "exactly one blank line between each pair of paragraphs. Both these options "
335 "are very comprehensive, removing spacing, or inserting it for *all* "
336 "paragraphs (technically <p> and <div> tags). This is so that you can just "
337 "set the option and be sure that it performs as advertised, irrespective of "
338 "how messy the input file is. The one exception is when the input file uses "
339 "hard line breaks to implement inter-paragraph spacing."
340 msgstr ""
341
342 #: ../../__w/calibre/calibre/manual/conversion.rst:201
343 msgid ""
344 "If you want to remove the spacing between all paragraphs, except a select "
345 "few, don't use these options. Instead add the following CSS code to "
346 ":ref:`Extra CSS <extra-css>`::"
347 msgstr ""
348
349 #: ../../__w/calibre/calibre/manual/conversion.rst:207
350 msgid ""
351 "Then, in your source document, mark the paragraphs that need spacing with "
352 "`class=\"spacious\"`. If your input document is not in HTML, use the Debug "
353 "option, described in the Introduction to get HTML (use the :file:`input` "
354 "sub-folder)."
355 msgstr ""
356
357 #: ../../__w/calibre/calibre/manual/conversion.rst:211
358 msgid ""
359 "Another useful options is :guilabel:`Linearize tables`. Some badly designed"
360 " documents use tables to control the layout of text on the page. When "
361 "converted these documents often have text that runs off the page and other "
362 "artifacts. This option will extract the content from the tables and present "
363 "it in a linear fashion. Note that this option linearizes *all* tables, so "
364 "only use it if you are sure the input document does not use tables for "
365 "legitimate purposes, like presenting tabular information."
366 msgstr ""
367
368 #: ../../__w/calibre/calibre/manual/conversion.rst:220
369 msgid "Styling"
370 msgstr ""
371
372 #: ../../__w/calibre/calibre/manual/conversion.rst:224
373 msgid ""
374 "The :guilabel:`Extra CSS` option allows you to specify arbitrary CSS that "
375 "will be applied to all HTML files in the input. This CSS is applied with "
376 "very high priority and so should override most CSS present in the **input "
377 "document** itself. You can use this setting to fine tune the "
378 "presentation/layout of your document. For example, if you want all "
379 "paragraphs of class `endnote` to be right aligned, just add::"
380 msgstr ""
381
382 #: ../../__w/calibre/calibre/manual/conversion.rst:233
383 msgid "or if you want to change the indentation of all paragraphs::"
384 msgstr ""
385
386 #: ../../__w/calibre/calibre/manual/conversion.rst:237
387 msgid ""
388 ":guilabel:`Extra CSS` is a very powerful option, but you do need an "
389 "understanding of how CSS works to use it to its full potential. You can use "
390 "the debug pipeline option described above to see what CSS is present in your"
391 " input document."
392 msgstr ""
393
394 #: ../../__w/calibre/calibre/manual/conversion.rst:241
395 msgid ""
396 "A simpler option is to use :guilabel:`Filter style information`. This allows"
397 " you to remove all CSS properties of the specified types from the document. "
398 "For example, you can use it to remove all colors or fonts."
399 msgstr ""
400
401 #: ../../__w/calibre/calibre/manual/conversion.rst:246
402 msgid "Transform styles"
403 msgstr ""
404
405 #: ../../__w/calibre/calibre/manual/conversion.rst:248
406 msgid ""
407 "This is the most powerful styling related facility. You can use it to define"
408 " rules that change styles based on various conditions. For example you can "
409 "use it to change all green colors to blue, or remove all bold styling from "
410 "the text or color all headings a certain color, etc."
411 msgstr ""
412
413 #: ../../__w/calibre/calibre/manual/conversion.rst:254
414 msgid "Transform HTML"
415 msgstr ""
416
417 #: ../../__w/calibre/calibre/manual/conversion.rst:256
418 msgid ""
419 "Similar to transform styles, but allows you to make changes to the HTML "
420 "content of the book. You can replace one tag with another, add classes or "
421 "other attributes to tags based on their content, etc."
422 msgstr ""
423
424 #: ../../__w/calibre/calibre/manual/conversion.rst:265
425 msgid "Page setup"
426 msgstr ""
427
428 #: ../../__w/calibre/calibre/manual/conversion.rst:267
429 msgid ""
430 "The :guilabel:`Page setup` options are for controlling screen layout, like "
431 "margins and screen sizes. There are options to setup page margins, which "
432 "will be used by the output plugin, if the selected output format supports "
433 "page margins. In addition, you should choose an Input profile and an output "
434 "profile. Both sets of profiles basically deal with how to interpret "
435 "measurements in the input/output documents, screen sizes and default font "
436 "rescaling keys."
437 msgstr ""
438
439 #: ../../__w/calibre/calibre/manual/conversion.rst:274
440 msgid ""
441 "If you know that the file you are converting was intended to be used on a "
442 "particular device/software platform, choose the corresponding input profile,"
443 " otherwise just choose the default input profile. If you know the files you "
444 "are producing are meant for a particular device type, choose the "
445 "corresponding output profile. Otherwise, choose one of the Generic output "
446 "profiles. If you are converting to MOBI or AZW3 then you will almost always "
447 "want to choose one of the Kindle output profiles. Otherwise, your best bet "
448 "for modern E-book reading devices is to choose the :guilabel:`Generic e-ink "
449 "HD` output profile."
450 msgstr ""
451
452 #: ../../__w/calibre/calibre/manual/conversion.rst:283
453 msgid ""
454 "The output profile also controls the screen size. This will cause, for "
455 "example, images to be auto-resized to be fit to the screen in some output "
456 "formats. So choose a profile of a device that has a screen size similar to "
457 "your device."
458 msgstr ""
459
460 #: ../../__w/calibre/calibre/manual/conversion.rst:291
461 msgid "Heuristic processing"
462 msgstr ""
463
464 #: ../../__w/calibre/calibre/manual/conversion.rst:293
465 msgid ""
466 "Heuristic processing provides a variety of functions which can be used to "
467 "try and detect and correct common problems in poorly formatted input "
468 "documents. Use these functions if your input document suffers from poor "
469 "formatting. Because these functions rely on common patterns, be aware that "
470 "in some cases an option may lead to worse results, so use with care. As an "
471 "example, several of these options will remove all non-breaking-space "
472 "entities, or may include false positive matches relating to the function."
473 msgstr ""
474
475 #: ../../__w/calibre/calibre/manual/conversion.rst:301
476 msgid ":guilabel:`Enable heuristic processing`"
477 msgstr ""
478
479 #: ../../__w/calibre/calibre/manual/conversion.rst:300
480 msgid ""
481 "This option activates calibre's :guilabel:`Heuristic processing` stage of "
482 "the conversion pipeline. This must be enabled in order for various sub-"
483 "functions to be applied"
484 msgstr ""
485
486 #: ../../__w/calibre/calibre/manual/conversion.rst:307
487 msgid ":guilabel:`Unwrap lines`"
488 msgstr ""
489
490 #: ../../__w/calibre/calibre/manual/conversion.rst:304
491 msgid ""
492 "Enabling this option will cause calibre to attempt to detect and correct "
493 "hard line breaks that exist within a document using punctuation clues and "
494 "line length. calibre will first attempt to detect whether hard line breaks "
495 "exist, if they do not appear to exist calibre will not attempt to unwrap "
496 "lines. The line-unwrap factor can be reduced if you want to 'force' calibre "
497 "to unwrap lines."
498 msgstr ""
499
500 #: ../../__w/calibre/calibre/manual/conversion.rst:313
501 msgid ":guilabel:`Line-unwrap factor`"
502 msgstr ""
503
504 #: ../../__w/calibre/calibre/manual/conversion.rst:310
505 msgid ""
506 "This option controls the algorithm calibre uses to remove hard line breaks. "
507 "For example, if the value of this option is 0.4, that means calibre will "
508 "remove hard line breaks from the end of lines whose lengths are less than "
509 "the length of 40% of all lines in the document. If your document only has a "
510 "few line breaks which need correction, then this value should be reduced to "
511 "somewhere between 0.1 and 0.2."
512 msgstr ""
513
514 #: ../../__w/calibre/calibre/manual/conversion.rst:328
515 msgid ""
516 ":guilabel:`Detect and markup unformatted chapter headings and sub headings`"
517 msgstr ""
518
519 #: ../../__w/calibre/calibre/manual/conversion.rst:316
520 msgid ""
521 "If your document does not have chapter headings and titles formatted "
522 "differently from the rest of the text, calibre can use this option to "
523 "attempt to detect them and surround them with heading tags. <h2> tags are "
524 "used for chapter headings; <h3> tags are used for any titles that are "
525 "detected."
526 msgstr ""
527
528 #: ../../__w/calibre/calibre/manual/conversion.rst:320
529 msgid ""
530 "This function will not create a TOC, but in many cases it will cause "
531 "calibre's default chapter detection settings to correctly detect chapters "
532 "and build a TOC. Adjust the XPath under Structure detection if a TOC is not"
533 " automatically created. If there are no other headings used in the document"
534 " then setting \"//h:h2\" under Structure detection would be the easiest way "
535 "to create a TOC for the document."
536 msgstr ""
537
538 #: ../../__w/calibre/calibre/manual/conversion.rst:325
539 msgid ""
540 "The inserted headings are not formatted, to apply formatting use the "
541 ":guilabel:`Extra CSS` option under the Look and Feel conversion settings. "
542 "For example, to center heading tags, use the following::"
543 msgstr ""
544
545 #: ../../__w/calibre/calibre/manual/conversion.rst:333
546 msgid ":guilabel:`Renumber sequences of <h1> or <h2> tags`"
547 msgstr ""
548
549 #: ../../__w/calibre/calibre/manual/conversion.rst:331
550 msgid ""
551 "Some publishers format chapter headings using multiple <h1> or <h2> tags "
552 "sequentially. calibre's default conversion settings will cause such titles "
553 "to be split into two pieces. This option will re-number the heading tags to"
554 " prevent splitting."
555 msgstr ""
556
557 #: ../../__w/calibre/calibre/manual/conversion.rst:344
558 msgid ":guilabel:`Delete blank lines between paragraphs`"
559 msgstr ""
560
561 #: ../../__w/calibre/calibre/manual/conversion.rst:336
562 msgid ""
563 "This option will cause calibre to analyze blank lines included within the "
564 "document. If every paragraph is interleaved with a blank line, then calibre"
565 " will remove all those blank paragraphs. Sequences of multiple blank lines "
566 "will be considered scene breaks and retained as a single paragraph. This "
567 "option differs from the :guilabel:`Remove paragraph spacing` option under "
568 ":guilabel:`Look and Feel` in that it actually modifies the HTML content, "
569 "while the other option modifies the document styles. This option can also "
570 "remove paragraphs which were inserted using calibre's :guilabel:`Insert "
571 "blank line` option."
572 msgstr ""
573
574 #: ../../__w/calibre/calibre/manual/conversion.rst:349
575 msgid ":guilabel:`Ensure scene breaks are consistently formatted`"
576 msgstr ""
577
578 #: ../../__w/calibre/calibre/manual/conversion.rst:347
579 msgid ""
580 "With this option calibre will attempt to detect common scene-break markers "
581 "and ensure that they are center aligned. 'Soft' scene break markers, i.e. "
582 "scene breaks only defined by extra white space, are styled to ensure that "
583 "they will not be displayed in conjunction with page breaks."
584 msgstr ""
585
586 #: ../../__w/calibre/calibre/manual/conversion.rst:365
587 msgid ":guilabel:`Replace scene breaks`"
588 msgstr ""
589
590 #: ../../__w/calibre/calibre/manual/conversion.rst:352
591 msgid ""
592 "If this option is configured then calibre will replace scene break markers "
593 "it finds with the replacement text specified by the user. Please note that "
594 "some ornamental characters may not be supported across all reading devices."
595 msgstr ""
596
597 #: ../../__w/calibre/calibre/manual/conversion.rst:355
598 msgid ""
599 "In general you should avoid using HTML tags, calibre will discard any tags "
600 "and use pre-defined markup. <hr /> tags, i.e. horizontal rules, and <img> "
601 "tags are exceptions. Horizontal rules can optionally be specified with "
602 "styles, if you choose to add your own style be sure to include the 'width' "
603 "setting, otherwise the style information will be discarded. Image tags can "
604 "used, but calibre does not provide the ability to add the image during "
605 "conversion, this must be done after the fact using the 'Edit book' feature."
606 msgstr ""
607
608 #: ../../__w/calibre/calibre/manual/conversion.rst:362
609 msgid ""
610 "Example image tag (place the image within an 'Images' folder inside the EPUB"
611 " after conversion):"
612 msgstr ""
613
614 #: ../../__w/calibre/calibre/manual/conversion.rst:362
615 msgid "<img style=\"width:10%\" src=\"../Images/scenebreak.png\" />"
616 msgstr ""
617
618 #: ../../__w/calibre/calibre/manual/conversion.rst:365
619 msgid "Example horizontal rule with styles:"
620 msgstr ""
621
622 #: ../../__w/calibre/calibre/manual/conversion.rst:365
623 msgid ""
624 "<hr style=\"width:20%;padding-top: 1px;border-top: 2px ridge black;border-"
625 "bottom: 2px groove black;\"/>"
626 msgstr ""
627
628 #: ../../__w/calibre/calibre/manual/conversion.rst:373
629 msgid ":guilabel:`Remove unnecessary hyphens`"
630 msgstr ""
631
632 #: ../../__w/calibre/calibre/manual/conversion.rst:368
633 msgid ""
634 "calibre will analyze all hyphenated content in the document when this option"
635 " is enabled. The document itself is used as a dictionary for analysis. "
636 "This allows calibre to accurately remove hyphens for any words in the "
637 "document in any language, along with made-up and obscure scientific words. "
638 "The primary drawback is words appearing only a single time in the document "
639 "will not be changed. Analysis happens in two passes, the first pass "
640 "analyzes line endings. Lines are only unwrapped if the word exists with or "
641 "without a hyphen in the document. The second pass analyzes all hyphenated "
642 "words throughout the document, hyphens are removed if the word exists "
643 "elsewhere in the document without a match."
644 msgstr ""
645
646 #: ../../__w/calibre/calibre/manual/conversion.rst:377
647 msgid ":guilabel:`Italicize common words and patterns`"
648 msgstr ""
649
650 #: ../../__w/calibre/calibre/manual/conversion.rst:376
651 msgid ""
652 "When enabled, calibre will look for common words and patterns that denote "
653 "italics and italicize them. Examples are common text conventions such as "
654 "~word~ or phrases that should generally be italicized, e.g. latin phrases "
655 "like 'etc.' or 'et cetera'."
656 msgstr ""
657
658 #: ../../__w/calibre/calibre/manual/conversion.rst:381
659 msgid ":guilabel:`Replace entity indents with CSS indents`"
660 msgstr ""
661
662 #: ../../__w/calibre/calibre/manual/conversion.rst:380
663 msgid ""
664 "Some documents use a convention of defining text indents using non-breaking "
665 "space entities. When this option is enabled calibre will attempt to detect "
666 "this sort of formatting and convert them to a 3% text indent using CSS."
667 msgstr ""
668
669 #: ../../__w/calibre/calibre/manual/conversion.rst:386
670 msgid "Search & replace"
671 msgstr ""
672
673 #: ../../__w/calibre/calibre/manual/conversion.rst:388
674 msgid ""
675 "These options are useful primarily for conversion of PDF documents or OCR "
676 "conversions, though they can also be used to fix many document specific "
677 "problems. As an example, some conversions can leaves behind page headers and"
678 " footers in the text. These options use regular expressions to try and "
679 "detect headers, footers, or other arbitrary text and remove or replace them."
680 " Remember that they operate on the intermediate XHTML produced by the "
681 "conversion pipeline. There is a wizard to help you customize the regular "
682 "expressions for your document. Click the magic wand beside the expression "
683 "box, and click the 'Test' button after composing your search expression. "
684 "Successful matches will be highlighted in Yellow."
685 msgstr ""
686
687 #: ../../__w/calibre/calibre/manual/conversion.rst:396
688 msgid ""
689 "The search works by using a Python regular expression. All matched text is "
690 "simply removed from the document or replaced using the replacement pattern. "
691 "The replacement pattern is optional, if left blank then text matching the "
692 "search pattern will be deleted from the document. You can learn more about "
693 "regular expressions and their syntax at :ref:`regexptutorial`."
694 msgstr ""
695
696 #: ../../__w/calibre/calibre/manual/conversion.rst:404
697 msgid "Structure detection"
698 msgstr ""
699
700 #: ../../__w/calibre/calibre/manual/conversion.rst:406
701 msgid ""
702 "Structure detection involves calibre trying its best to detect structural "
703 "elements in the input document, when they are not properly specified. For "
704 "example, chapters, page breaks, headers, footers, etc. As you can imagine, "
705 "this process varies widely from book to book. Fortunately, calibre has very "
706 "powerful options to control this. With power comes complexity, but if once "
707 "you take the time to learn the complexity, you will find it well worth the "
708 "effort."
709 msgstr ""
710
711 #: ../../__w/calibre/calibre/manual/conversion.rst:412
712 msgid "Chapters and page breaks"
713 msgstr ""
714
715 #: ../../__w/calibre/calibre/manual/conversion.rst:414
716 msgid ""
717 "calibre has two sets of options for :guilabel:`chapter detection` and "
718 ":guilabel:`inserting page breaks`. This can sometimes be slightly confusing,"
719 " as by default, calibre will insert page breaks before detected chapters as "
720 "well as the locations detected by the page breaks option. The reason for "
721 "this is that there are often location where page breaks should be inserted "
722 "that are not chapter boundaries. Also, detected chapters can be optionally "
723 "inserted into the auto generated Table of Contents."
724 msgstr ""
725
726 #: ../../__w/calibre/calibre/manual/conversion.rst:419
727 msgid ""
728 "calibre uses *XPath*, a powerful language to allow the user to specify "
729 "chapter boundaries/page breaks. XPath can seem a little daunting to use at "
730 "first, fortunately, there is a :ref:`XPath tutorial <xpath-tutorial>` in the"
731 " User Manual. Remember that Structure detection operates on the intermediate"
732 " XHTML produced by the conversion pipeline. Use the debug option described "
733 "in the :ref:`conversion-introduction` to figure out the appropriate settings"
734 " for your book. There is also a button for a XPath wizard to help with the "
735 "generation of simple XPath expressions."
736 msgstr ""
737
738 #: ../../__w/calibre/calibre/manual/conversion.rst:425
739 msgid ""
740 "By default, calibre uses the following expression for detecting chapters::"
741 msgstr ""
742
743 #: ../../__w/calibre/calibre/manual/conversion.rst:429
744 msgid ""
745 "This expression is rather complex, because it tries to handle a number of "
746 "common cases simultaneously. What it means is that calibre will assume "
747 "chapters start at either `<h1>` or `<h2>` tags that have any of the words "
748 "`(chapter, book, section or part)` in them or that have the "
749 "`class=\"chapter\"` attribute."
750 msgstr ""
751
752 #: ../../__w/calibre/calibre/manual/conversion.rst:433
753 msgid ""
754 "A related option is :guilabel:`Chapter mark`, which allows you to control "
755 "what calibre does when it detects a chapter. By default, it will insert a "
756 "page break before the chapter. You can have it insert a ruled line instead "
757 "of, or in addition to the page break. You can also have it do nothing."
758 msgstr ""
759
760 #: ../../__w/calibre/calibre/manual/conversion.rst:437
761 msgid "The default setting for detecting page breaks is::"
762 msgstr ""
763
764 #: ../../__w/calibre/calibre/manual/conversion.rst:441
765 msgid ""
766 "which means that calibre will insert page breaks before every `<h1>` and "
767 "`<h2>` tag by default."
768 msgstr ""
769
770 #: ../../__w/calibre/calibre/manual/conversion.rst:445
771 msgid ""
772 "The default expressions may change depending on the input format you are "
773 "converting."
774 msgstr ""
775
776 #: ../../__w/calibre/calibre/manual/conversion.rst:448
777 msgid "Miscellaneous"
778 msgstr "Razno"
779
780 #: ../../__w/calibre/calibre/manual/conversion.rst:450
781 msgid "There are a few more options in this section."
782 msgstr ""
783
784 #: ../../__w/calibre/calibre/manual/conversion.rst:456
785 msgid ":guilabel:`Insert metadata as page at start of book`"
786 msgstr ""
787
788 #: ../../__w/calibre/calibre/manual/conversion.rst:453
789 msgid ""
790 "One of the great things about calibre is that it allows you to maintain very"
791 " complete metadata about all of your books, for example, a rating, tags, "
792 "comments, etc. This option will create a single page with all this metadata "
793 "and insert it into the converted e-book, typically just after the cover. "
794 "Think of it as a way to create your own customised book jacket."
795 msgstr ""
796
797 #: ../../__w/calibre/calibre/manual/conversion.rst:463
798 msgid ":guilabel:`Remove first image`"
799 msgstr ""
800
801 #: ../../__w/calibre/calibre/manual/conversion.rst:459
802 msgid ""
803 "Sometimes, the source document you are converting includes the cover as part"
804 " of the book, instead of as a separate cover. If you also specify a cover in"
805 " calibre, then the converted book will have two covers. This option will "
806 "simply remove the first image from the source document, thereby ensuring "
807 "that the converted book has only one cover, the one specified in calibre."
808 msgstr ""
809
810 #: ../../__w/calibre/calibre/manual/conversion.rst:466
811 msgid "Table of Contents"
812 msgstr "Sadržaj"
813
814 #: ../../__w/calibre/calibre/manual/conversion.rst:468
815 msgid ""
816 "When the input document has a Table of Contents in its metadata, calibre "
817 "will just use that. However, a number of older formats either do not support"
818 " a metadata based Table of Contents, or individual documents do not have "
819 "one. In these cases, the options in this section can help you automatically "
820 "generate a Table of Contents in the converted e-book, based on the actual "
821 "content in the input document."
822 msgstr ""
823
824 #: ../../__w/calibre/calibre/manual/conversion.rst:473
825 msgid ""
826 "Using these options can be a little challenging to get exactly right. If you"
827 " prefer creating/editing the Table of Contents by hand, convert to the EPUB "
828 "or AZW3 formats and select the checkbox at the bottom of the Table of "
829 "Contents section of the conversion dialog that says :guilabel:`Manually "
830 "fine-tune the Table of Contents after conversion`. This will launch the ToC "
831 "Editor tool after the conversion. It allows you to create entries in the "
832 "Table of Contents by simply clicking the place in the book where you want "
833 "the entry to point. You can also use the ToC Editor by itself, without doing"
834 " a conversion. Go to :guilabel:`Preferences->Interface->Toolbars` and add "
835 "the :guilabel:`ToC Editor` to the main toolbar. Then just select the book "
836 "you want to edit and click the :guilabel:`ToC Editor` button."
837 msgstr ""
838
839 #: ../../__w/calibre/calibre/manual/conversion.rst:485
840 msgid ""
841 "The first option is :guilabel:`Force use of auto-generated Table of "
842 "Contents`. By checking this option you can have calibre override any Table "
843 "of Contents found in the metadata of the input document with the auto "
844 "generated one."
845 msgstr ""
846
847 #: ../../__w/calibre/calibre/manual/conversion.rst:489
848 msgid ""
849 "The default way that the creation of the auto generated Table of Contents "
850 "works is that, calibre will first try to add any detected chapters to the "
851 "generated table of contents. You can learn how to customize the detection of"
852 " chapters in the :ref:`structure-detection` section above. If you do not "
853 "want to include detected chapters in the generated table of contents, check "
854 "the :guilabel:`Do not add detected chapters` option."
855 msgstr ""
856
857 #: ../../__w/calibre/calibre/manual/conversion.rst:494
858 msgid ""
859 "If less than the :guilabel:`Chapter threshold` number of chapters were "
860 "detected, calibre will then add any hyperlinks it finds in the input "
861 "document to the Table of Contents. This often works well: many input "
862 "documents include a hyperlinked Table of Contents right at the start. The "
863 ":guilabel:`Number of links` option can be used to control this behavior. If "
864 "set to zero, no links are added. If set to a number greater than zero, at "
865 "most that number of links is added."
866 msgstr ""
867
868 #: ../../__w/calibre/calibre/manual/conversion.rst:500
869 msgid ""
870 "calibre will automatically filter duplicates from the generated Table of "
871 "Contents. However, if there are some additional undesirable entries, you can"
872 " filter them using the :guilabel:`TOC Filter` option. This is a regular "
873 "expression that will match the title of entries in the generated table of "
874 "contents. Whenever a match is found, it will be removed. For example, to "
875 "remove all entries titles \"Next\" or \"Previous\" use::"
876 msgstr ""
877
878 #: ../../__w/calibre/calibre/manual/conversion.rst:507
879 msgid ""
880 "The :guilabel:`Level 1,2,3 TOC` options allow you to create a sophisticated "
881 "multi-level Table of Contents. They are XPath expressions that match tags in"
882 " the intermediate XHTML produced by the conversion pipeline. See the "
883 ":ref:`conversion-introduction` for how to get access to this XHTML. Also "
884 "read the :ref:`xpath-tutorial`, to learn how to construct XPath expressions."
885 " Next to each option is a button that launches a wizard to help with the "
886 "creation of basic XPath expressions. The following simple example "
887 "illustrates how to use these options."
888 msgstr ""
889
890 #: ../../__w/calibre/calibre/manual/conversion.rst:513
891 msgid ""
892 "Suppose you have an input document that results in XHTML that look like "
893 "this:"
894 msgstr ""
895
896 #: ../../__w/calibre/calibre/manual/conversion.rst:535
897 msgid "Then, we set the options as::"
898 msgstr ""
899
900 #: ../../__w/calibre/calibre/manual/conversion.rst:540
901 msgid ""
902 "This will result in an automatically generated two level Table of Contents "
903 "that looks like::"
904 msgstr ""
905
906 #: ../../__w/calibre/calibre/manual/conversion.rst:551
907 msgid ""
908 "Not all output formats support a multi level Table of Contents. You should "
909 "first try with EPUB output. If that works, then try your format of choice."
910 msgstr ""
911
912 #: ../../__w/calibre/calibre/manual/conversion.rst:555
913 msgid "Using images as chapter titles when converting HTML input documents"
914 msgstr ""
915
916 #: ../../__w/calibre/calibre/manual/conversion.rst:557
917 msgid ""
918 "Suppose you want to use an image as your chapter title, but still want "
919 "calibre to be able to automatically generate a Table of Contents for you "
920 "from the chapter titles. Use the following HTML markup to achieve this:"
921 msgstr ""
922
923 #: ../../__w/calibre/calibre/manual/conversion.rst:571
924 msgid ""
925 "Set the :guilabel:`Level 1 TOC` setting to ``//h:h2``. Then, for chapter "
926 "two, calibre will take the title from the value of the ``title`` attribute "
927 "on the ``<h2>`` tag, since the tag has no text."
928 msgstr ""
929
930 #: ../../__w/calibre/calibre/manual/conversion.rst:574
931 msgid ""
932 "Using tag attributes to supply the text for entries in the Table of Contents"
933 msgstr ""
934
935 #: ../../__w/calibre/calibre/manual/conversion.rst:576
936 msgid ""
937 "If you have particularly long chapter titles and want shortened versions in "
938 "the Table of Contents, you can use the title attribute to achieve this, for "
939 "example:"
940 msgstr ""
941
942 #: ../../__w/calibre/calibre/manual/conversion.rst:591
943 msgid ""
944 "Set the :guilabel:`Level 1 TOC` setting to ``//h:h2/@title``. Then calibre "
945 "will take the title from the value of the ``title`` attribute on the "
946 "``<h2>`` tags, instead of using the text inside the tag. Note the trailing "
947 "``/@title`` on the XPath expression, you can use this form to tell calibre "
948 "to get the text from any attribute you like."
949 msgstr ""
950
951 #: ../../__w/calibre/calibre/manual/conversion.rst:598
952 msgid "How options are set/saved for conversion"
953 msgstr ""
954
955 #: ../../__w/calibre/calibre/manual/conversion.rst:600
956 msgid ""
957 "There are two places where conversion options can be set in calibre. The "
958 "first is in Preferences->Conversion. These settings are the defaults for the"
959 " conversion options. Whenever you try to convert a new book, the settings "
960 "set here will be used by default."
961 msgstr ""
962
963 #: ../../__w/calibre/calibre/manual/conversion.rst:605
964 msgid ""
965 "You can also change settings in the conversion dialog for each book "
966 "conversion. When you convert a book, calibre remembers the settings you used"
967 " for that book, so that if you convert it again, the saved settings for the "
968 "individual book will take precedence over the defaults set in "
969 ":guilabel:`Preferences`. You can restore the individual settings to defaults"
970 " by using the :guilabel:`Restore defaults` button in the individual book "
971 "conversion dialog. You can remove the saved settings for a group of books by"
972 " selecting all the books and then clicking the :guilabel:`Edit metadata` "
973 "button to bring up the bulk metadata edit dialog, near the bottom of the "
974 "dialog is an option to remove stored conversion settings."
975 msgstr ""
976
977 #: ../../__w/calibre/calibre/manual/conversion.rst:616
978 msgid ""
979 "When you bulk convert a set of books, settings are taken in the following "
980 "order (last one wins):"
981 msgstr ""
982
983 #: ../../__w/calibre/calibre/manual/conversion.rst:618
984 msgid "From the defaults set in Preferences->Conversion"
985 msgstr ""
986
987 #: ../../__w/calibre/calibre/manual/conversion.rst:620
988 msgid ""
989 "From the saved conversion settings for each book being converted (if any). "
990 "This can be turned off by the option in the top left corner of the Bulk "
991 "conversion dialog."
992 msgstr ""
993
994 #: ../../__w/calibre/calibre/manual/conversion.rst:624
995 msgid "From the settings set in the Bulk conversion dialog"
996 msgstr ""
997
998 #: ../../__w/calibre/calibre/manual/conversion.rst:626
999 msgid ""
1000 "Note that the final settings for each book in a Bulk conversion will be "
1001 "saved and re-used if the book is converted again. Since the highest priority"
1002 " in Bulk Conversion is given to the settings in the Bulk conversion dialog, "
1003 "these will override any book specific settings. So you should only bulk "
1004 "convert books together that need similar settings. The exceptions are "
1005 "metadata and input format specific settings. Since the Bulk conversion "
1006 "dialog does not have settings for these two categories, they will be taken "
1007 "from book specific settings (if any) or the defaults."
1008 msgstr ""
1009
1010 #: ../../__w/calibre/calibre/manual/conversion.rst:637
1011 msgid ""
1012 "You can see the actual settings used during any conversion by clicking the "
1013 "rotating icon in the lower right corner and then double clicking the "
1014 "individual conversion job. This will bring up a conversion log that will "
1015 "contain the actual settings used, near the top."
1016 msgstr ""
1017
1018 #: ../../__w/calibre/calibre/manual/conversion.rst:642
1019 msgid "Format specific tips"
1020 msgstr ""
1021
1022 #: ../../__w/calibre/calibre/manual/conversion.rst:644
1023 msgid ""
1024 "Here you will find tips specific to the conversion of particular formats. "
1025 "Options specific to particular format, whether input or output are available"
1026 " in the conversion dialog under their own section, for example `TXT input` "
1027 "or `EPUB output`."
1028 msgstr ""
1029
1030 #: ../../__w/calibre/calibre/manual/conversion.rst:649
1031 msgid "Convert Microsoft Word documents"
1032 msgstr ""
1033
1034 #: ../../__w/calibre/calibre/manual/conversion.rst:651
1035 msgid ""
1036 "calibre can automatically convert ``.docx`` files created by Microsoft Word "
1037 "2007 and newer. Just add the file to calibre and click convert."
1038 msgstr ""
1039
1040 #: ../../__w/calibre/calibre/manual/conversion.rst:655
1041 msgid ""
1042 "There is a :download_file:`demo .docx file <demos/demo.docx>` that "
1043 "demonstrates the capabilities of the calibre conversion engine. Just "
1044 "download it and convert it to EPUB or AZW3 to see what calibre can do."
1045 msgstr ""
1046
1047 #: ../../__w/calibre/calibre/manual/conversion.rst:659
1048 msgid ""
1049 "calibre will automatically generate a Table of Contents based on headings if"
1050 " you mark your headings with the ``Heading 1``, ``Heading 2``, etc. styles "
1051 "in Microsoft Word. Open the output e-book in the calibre E-book viewer and "
1052 "click the :guilabel:`Table of Contents` button to view the generated Table "
1053 "of Contents."
1054 msgstr ""
1055
1056 #: ../../__w/calibre/calibre/manual/conversion.rst:665
1057 msgid "Older .doc files"
1058 msgstr ""
1059
1060 #: ../../__w/calibre/calibre/manual/conversion.rst:667
1061 msgid ""
1062 "For older .doc files, you can save the document as HTML with Microsoft Word "
1063 "and then convert the resulting HTML file with calibre. When saving as HTML, "
1064 "be sure to use the \"Save as Web Page, Filtered\" option as this will "
1065 "produce clean HTML that will convert well. Note that Word produces really "
1066 "messy HTML, converting it can take a long time, so be patient. If you have a"
1067 " newer version of Word available, you can directly save it as .docx as well."
1068 msgstr ""
1069
1070 #: ../../__w/calibre/calibre/manual/conversion.rst:674
1071 msgid ""
1072 "Another alternative is to use the free LibreOffice. Open your .doc file in "
1073 "LibreOffice and save it as .docx, which can be directly converted in "
1074 "calibre."
1075 msgstr ""
1076
1077 #: ../../__w/calibre/calibre/manual/conversion.rst:678
1078 msgid "Convert TXT documents"
1079 msgstr ""
1080
1081 #: ../../__w/calibre/calibre/manual/conversion.rst:680
1082 msgid ""
1083 "TXT documents have no well defined way to specify formatting like bold, "
1084 "italics, etc, or document structure like paragraphs, headings, sections and "
1085 "so on, but there are a variety of conventions commonly used. By default "
1086 "calibre attempts automatic detection of the correct formatting and markup "
1087 "based on those conventions."
1088 msgstr ""
1089
1090 #: ../../__w/calibre/calibre/manual/conversion.rst:685
1091 msgid ""
1092 "TXT input supports a number of options to differentiate how paragraphs are "
1093 "detected."
1094 msgstr ""
1095
1096 #: ../../__w/calibre/calibre/manual/conversion.rst:689
1097 msgid ":guilabel:`Paragraph style: Auto`"
1098 msgstr ""
1099
1100 #: ../../__w/calibre/calibre/manual/conversion.rst:688
1101 msgid ""
1102 "Analyzes the text file and attempts to automatically determine how "
1103 "paragraphs are defined. This option will generally work fine, if you "
1104 "achieve undesirable results try one of the manual options."
1105 msgstr ""
1106
1107 #: ../../__w/calibre/calibre/manual/conversion.rst:697
1108 msgid ":guilabel:`Paragraph style: Block`"
1109 msgstr ""
1110
1111 #: ../../__w/calibre/calibre/manual/conversion.rst:692
1112 msgid "Assumes one or more blank lines are a paragraph boundary::"
1113 msgstr ""
1114
1115 #: ../../__w/calibre/calibre/manual/conversion.rst:704
1116 msgid ":guilabel:`Paragraph style: Single`"
1117 msgstr ""
1118
1119 #: ../../__w/calibre/calibre/manual/conversion.rst:700
1120 msgid "Assumes that every line is a paragraph::"
1121 msgstr ""
1122
1123 #: ../../__w/calibre/calibre/manual/conversion.rst:715
1124 msgid ":guilabel:`Paragraph style: Print`"
1125 msgstr ""
1126
1127 #: ../../__w/calibre/calibre/manual/conversion.rst:707
1128 msgid ""
1129 "Assumes that every paragraph starts with an indent (either a tab or 2+ "
1130 "spaces). Paragraphs end when the next line that starts with an indent is "
1131 "reached::"
1132 msgstr ""
1133
1134 #: ../../__w/calibre/calibre/manual/conversion.rst:719
1135 msgid ":guilabel:`Paragraph style: Unformatted`"
1136 msgstr ""
1137
1138 #: ../../__w/calibre/calibre/manual/conversion.rst:718
1139 msgid ""
1140 "Assumes that the document has no formatting, but does use hard line breaks."
1141 " Punctuation and median line length are used to attempt to re-create "
1142 "paragraphs."
1143 msgstr ""
1144
1145 #: ../../__w/calibre/calibre/manual/conversion.rst:723
1146 msgid ":guilabel:`Formatting style: Auto`"
1147 msgstr ""
1148
1149 #: ../../__w/calibre/calibre/manual/conversion.rst:722
1150 msgid ""
1151 "Attempts to detect the type of formatting markup being used. If no markup "
1152 "is used then heuristic formatting will be applied."
1153 msgstr ""
1154
1155 #: ../../__w/calibre/calibre/manual/conversion.rst:727
1156 msgid ":guilabel:`Formatting style: Heuristic`"
1157 msgstr ""
1158
1159 #: ../../__w/calibre/calibre/manual/conversion.rst:726
1160 msgid ""
1161 "Analyzes the document for common chapter headings, scene breaks, and "
1162 "italicized words and applies the appropriate HTML markup during conversion."
1163 msgstr ""
1164
1165 #: ../../__w/calibre/calibre/manual/conversion.rst:734
1166 msgid ":guilabel:`Formatting style: Markdown`"
1167 msgstr ""
1168
1169 #: ../../__w/calibre/calibre/manual/conversion.rst:730
1170 msgid ""
1171 "calibre also supports running TXT input though a transformation preprocessor"
1172 " known as Markdown. Markdown allows for basic formatting to be added to TXT "
1173 "documents, such as bold, italics, section headings, tables, lists, a Table "
1174 "of Contents, etc. Marking chapter headings with a leading # and setting the "
1175 "chapter XPath detection expression to \"//h:h1\" is the easiest way to have "
1176 "a proper table of contents generated from a TXT document. You can learn more"
1177 " about the Markdown syntax at `daringfireball "
1178 "<https://daringfireball.net/projects/markdown/syntax>`_."
1179 msgstr ""
1180
1181 #: ../../__w/calibre/calibre/manual/conversion.rst:737
1182 msgid ":guilabel:`Formatting style: None`"
1183 msgstr ""
1184
1185 #: ../../__w/calibre/calibre/manual/conversion.rst:737
1186 msgid ""
1187 "Applies no special formatting to the text, the document is converted to HTML"
1188 " with no other changes."
1189 msgstr ""
1190
1191 #: ../../__w/calibre/calibre/manual/conversion.rst:742
1192 msgid "Convert PDF documents"
1193 msgstr ""
1194
1195 #: ../../__w/calibre/calibre/manual/conversion.rst:744
1196 msgid ""
1197 "PDF documents are one of the worst formats to convert from. They are a fixed"
1198 " page size and text placement format. Meaning, it is very difficult to "
1199 "determine where one paragraph ends and another begins. calibre will try to "
1200 "unwrap paragraphs using a configurable, :guilabel:`Line un-wrapping factor`."
1201 " This is a scale used to determine the length at which a line should be "
1202 "unwrapped. Valid values are a decimal between 0 and 1. The default is 0.45, "
1203 "just under the median line length. Lower this value to include more text in "
1204 "the unwrapping. Increase to include less. You can adjust this value in the "
1205 "conversion settings under :guilabel:`PDF Input`."
1206 msgstr ""
1207
1208 #: ../../__w/calibre/calibre/manual/conversion.rst:751
1209 msgid ""
1210 "Also, they often have headers and footers as part of the document that will "
1211 "become included with the text. Use the :guilabel:`Search and replace` panel "
1212 "to remove headers and footers to mitigate this issue. If the headers and "
1213 "footers are not removed from the text it can throw off the paragraph "
1214 "unwrapping. To learn how to use the header and footer removal options, read "
1215 ":ref:`regexptutorial`."
1216 msgstr ""
1217
1218 #: ../../__w/calibre/calibre/manual/conversion.rst:756
1219 msgid "Some limitations of PDF input are:"
1220 msgstr ""
1221
1222 #: ../../__w/calibre/calibre/manual/conversion.rst:758
1223 msgid "Complex, multi-column, and image based documents are not supported."
1224 msgstr ""
1225
1226 #: ../../__w/calibre/calibre/manual/conversion.rst:759
1227 msgid ""
1228 "Extraction of vector images and tables from within the document is also not "
1229 "supported."
1230 msgstr ""
1231
1232 #: ../../__w/calibre/calibre/manual/conversion.rst:760
1233 msgid ""
1234 "Some PDFs use special glyphs to represent ll or ff or fi, etc. Conversion of"
1235 " these may or may not work depending on just how they are represented "
1236 "internally in the PDF."
1237 msgstr ""
1238
1239 #: ../../__w/calibre/calibre/manual/conversion.rst:761
1240 msgid "Links and Tables of Contents are not supported"
1241 msgstr ""
1242
1243 #: ../../__w/calibre/calibre/manual/conversion.rst:762
1244 msgid ""
1245 "PDFs that use embedded non-Unicode fonts to represent non-English characters"
1246 " will result in garbled output for those characters"
1247 msgstr ""
1248
1249 #: ../../__w/calibre/calibre/manual/conversion.rst:763
1250 msgid ""
1251 "Some PDFs are made up of photographs of the page with OCRed text behind "
1252 "them. In such cases calibre uses the OCRed text, which can be very different"
1253 " from what you see when you view the PDF file"
1254 msgstr ""
1255
1256 #: ../../__w/calibre/calibre/manual/conversion.rst:764
1257 msgid ""
1258 "PDFs that are used to display complex text, like right to left languages and"
1259 " math typesetting will not convert correctly"
1260 msgstr ""
1261
1262 #: ../../__w/calibre/calibre/manual/conversion.rst:766
1263 msgid ""
1264 "To re-iterate **PDF is a really, really bad** format to use as input. If you"
1265 " absolutely must use PDF, then be prepared for an output ranging anywhere "
1266 "from decent to unusable, depending on the input PDF."
1267 msgstr ""
1268
1269 #: ../../__w/calibre/calibre/manual/conversion.rst:770
1270 msgid "Comic book collections"
1271 msgstr ""
1272
1273 #: ../../__w/calibre/calibre/manual/conversion.rst:772
1274 msgid ""
1275 "A comic book collection is a .cbc file. A .cbc file is a ZIP file that "
1276 "contains other CBZ/CBR files. In addition the .cbc file must contain a "
1277 "simple text file called comics.txt, encoded in UTF-8. The comics.txt file "
1278 "must contain a list of the comics files inside the .cbc file, in the form "
1279 "filename:title, as shown below::"
1280 msgstr ""
1281
1282 #: ../../__w/calibre/calibre/manual/conversion.rst:780
1283 msgid "The .cbc file will then contain::"
1284 msgstr ""
1285
1286 #: ../../__w/calibre/calibre/manual/conversion.rst:787
1287 msgid ""
1288 "calibre will automatically convert this .cbc file into a e-book with a Table"
1289 " of Contents pointing to each entry in comics.txt."
1290 msgstr ""
1291
1292 #: ../../__w/calibre/calibre/manual/conversion.rst:791
1293 msgid "EPUB advanced formatting demo"
1294 msgstr ""
1295
1296 #: ../../__w/calibre/calibre/manual/conversion.rst:793
1297 msgid ""
1298 "Various advanced formatting for EPUB files is demonstrated in this "
1299 ":download_file:`demo file <demos/demo.epub>`. The file was created from hand"
1300 " coded HTML using calibre and is meant to be used as a template for your own"
1301 " EPUB creation efforts."
1302 msgstr ""
1303
1304 #: ../../__w/calibre/calibre/manual/conversion.rst:796
1305 msgid ""
1306 "The source HTML it was created from is available :download_file:`demo.zip "
1307 "<demos/demo.zip>`. The settings used to create the EPUB from the ZIP file "
1308 "are::"
1309 msgstr ""
1310
1311 #: ../../__w/calibre/calibre/manual/conversion.rst:801
1312 msgid ""
1313 "Note that because this file explores the potential of EPUB, most of the "
1314 "advanced formatting is not going to work on readers less capable than "
1315 "calibre's built-in EPUB viewer."
1316 msgstr ""
1317
1318 #: ../../__w/calibre/calibre/manual/conversion.rst:805
1319 msgid "Convert ODT documents"
1320 msgstr ""
1321
1322 #: ../../__w/calibre/calibre/manual/conversion.rst:807
1323 msgid ""
1324 "calibre can directly convert ODT (OpenDocument Text) files. You should use "
1325 "styles to format your document and minimize the use of direct formatting. "
1326 "When inserting images into your document you need to anchor them to the "
1327 "paragraph, images anchored to a page will all end up in the front of the "
1328 "conversion."
1329 msgstr ""
1330
1331 #: ../../__w/calibre/calibre/manual/conversion.rst:810
1332 msgid ""
1333 "To enable automatic detection of chapters, you need to mark them with the "
1334 "built-in styles called :guilabel:`Heading 1`, :guilabel:`Heading 2`, ..., "
1335 ":guilabel:`Heading 6` (:guilabel:`Heading 1` equates to the HTML tag "
1336 "``<h1>``, :guilabel:`Heading 2` to ``<h2>``, etc). When you convert in "
1337 "calibre you can enter which style you used into the :guilabel:`Detect "
1338 "chapters at` box. Example:"
1339 msgstr ""
1340
1341 #: ../../__w/calibre/calibre/manual/conversion.rst:816
1342 msgid ""
1343 "If you mark Chapters with style :guilabel:`Heading 2`, you have to set the "
1344 "'Detect chapters at' box to ``//h:h2``"
1345 msgstr ""
1346
1347 #: ../../__w/calibre/calibre/manual/conversion.rst:817
1348 msgid ""
1349 "For a nested TOC with Sections marked with :guilabel:`Heading 2` and the "
1350 "Chapters marked with :guilabel:`Heading 3` you need to enter "
1351 "``//h:h2|//h:h3``. On the Convert - TOC page set the :guilabel:`Level 1 TOC`"
1352 " box to ``//h:h2`` and the :guilabel:`Level 2 TOC` box to ``//h:h3``."
1353 msgstr ""
1354
1355 #: ../../__w/calibre/calibre/manual/conversion.rst:819
1356 msgid ""
1357 "Well-known document properties (Title, Keywords, Description, Creator) are "
1358 "recognized and calibre will use the first image (not to small, and with good"
1359 " aspect-ratio) as the cover image."
1360 msgstr ""
1361
1362 #: ../../__w/calibre/calibre/manual/conversion.rst:821
1363 msgid ""
1364 "There is also an advanced property conversion mode, which is activated by "
1365 "setting the custom property ``opf.metadata`` ('Yes or No' type) to Yes in "
1366 "your ODT document (File->Properties->Custom Properties). If this property is"
1367 " detected by calibre, the following custom properties are recognized "
1368 "(``opf.authors`` overrides document creator)::"
1369 msgstr ""
1370
1371 #: ../../__w/calibre/calibre/manual/conversion.rst:834
1372 msgid ""
1373 "In addition to this, you can specify the picture to use as the cover by "
1374 "naming it ``opf.cover`` (right click, Picture->Options->Name) in the ODT. If"
1375 " no picture with this name is found, the 'smart' method is used. As the "
1376 "cover detection might result in double covers in certain output formats, the"
1377 " process will remove the paragraph (only if the only content is the cover!) "
1378 "from the document. But this works only with the named picture!"
1379 msgstr ""
1380
1381 #: ../../__w/calibre/calibre/manual/conversion.rst:841
1382 msgid ""
1383 "To disable cover detection you can set the custom property ``opf.nocover`` "
1384 "('Yes or No' type) to Yes in advanced mode."
1385 msgstr ""
1386
1387 #: ../../__w/calibre/calibre/manual/conversion.rst:844
1388 msgid "Converting to PDF"
1389 msgstr ""
1390
1391 #: ../../__w/calibre/calibre/manual/conversion.rst:846
1392 msgid ""
1393 "The first, most important, setting to decide on when converting to PDF is "
1394 "the page size. By default, calibre uses a page size of \"U.S. Letter\". You "
1395 "can change this to another standard page size or a completely custom size in"
1396 " the :guilabel:`PDF Output` section of the conversion dialog. If you are "
1397 "generating a PDF to be used on a specific device, you can turn on the option"
1398 " to use the page size from the :guilabel:`output profile` instead. So if "
1399 "your output profile is set to Kindle, calibre will create a PDF with page "
1400 "size suitable for viewing on the small Kindle screen."
1401 msgstr ""
1402
1403 #: ../../__w/calibre/calibre/manual/conversion.rst:856
1404 msgid "Headers and Footers"
1405 msgstr ""
1406
1407 #: ../../__w/calibre/calibre/manual/conversion.rst:857
1408 msgid ""
1409 "You can insert arbitrary headers and footers on each page of the PDF by "
1410 "specifying header and footer templates. Templates are just snippets of HTML "
1411 "code that get rendered in the header and footer locations. For example, to "
1412 "display page numbers centered at the bottom of every page, in green, use the"
1413 " following footer template::"
1414 msgstr ""
1415
1416 #: ../../__w/calibre/calibre/manual/conversion.rst:865
1417 msgid ""
1418 "calibre will automatically replace :code:`_PAGENUM_` with the current page "
1419 "number. You can even put different content on even and odd pages, for "
1420 "example the following header template will show the title on odd pages and "
1421 "the author on even pages::"
1422 msgstr ""
1423
1424 #: ../../__w/calibre/calibre/manual/conversion.rst:874
1425 msgid ""
1426 "calibre will automatically replace :code:`_TITLE_` and :code:`_AUTHOR_` with"
1427 " the title and author of the document being converted. Setting "
1428 ":code:`justify-content` to :code:`flex-end` will cause the text to be right "
1429 "aligned."
1430 msgstr ""
1431
1432 #: ../../__w/calibre/calibre/manual/conversion.rst:879
1433 msgid ""
1434 "You can also display text at the left and right edges and change the font "
1435 "size, as demonstrated with this header template::"
1436 msgstr ""
1437
1438 #: ../../__w/calibre/calibre/manual/conversion.rst:887
1439 msgid ""
1440 "This will display the title at the left and the author at the right, in a "
1441 "font size smaller than the main text."
1442 msgstr ""
1443
1444 #: ../../__w/calibre/calibre/manual/conversion.rst:890
1445 msgid "You can also use the current section in templates, as shown below::"
1446 msgstr ""
1447
1448 #: ../../__w/calibre/calibre/manual/conversion.rst:894
1449 msgid ""
1450 ":code:`_SECTION_` is replaced by whatever the name of the current section "
1451 "is. These names are taken from the metadata Table of Contents in the "
1452 "document (the PDF Outline). If the document has no table of contents then it"
1453 " will be replaced by empty text. If a single PDF page has multiple sections,"
1454 " the first section on the page will be used. Similarly, there is a variable "
1455 "named :code:`_TOP_LEVEL_SECTION_` that can be used to get the name of the "
1456 "current top-level section."
1457 msgstr ""
1458
1459 #: ../../__w/calibre/calibre/manual/conversion.rst:901
1460 msgid ""
1461 "You can even use JavaScript inside the header and footer templates, for "
1462 "example, the following template will cause page numbers to start at 4 "
1463 "instead of 1::"
1464 msgstr ""
1465
1466 #: ../../__w/calibre/calibre/manual/conversion.rst:911
1467 msgid ""
1468 "In addition there are some more variables you can use in the headers and "
1469 "footers, documented below:"
1470 msgstr ""
1471
1472 #: ../../__w/calibre/calibre/manual/conversion.rst:914
1473 msgid ""
1474 "``_TOTAL_PAGES_`` - total number of pages in the PDF file, useful for "
1475 "implementing a progress counter, for example."
1476 msgstr ""
1477
1478 #: ../../__w/calibre/calibre/manual/conversion.rst:916
1479 msgid ""
1480 "``_TOP_LEVEL_SECTION_PAGES_`` - total number of pages in the current top "
1481 "level section"
1482 msgstr ""
1483
1484 #: ../../__w/calibre/calibre/manual/conversion.rst:918
1485 msgid ""
1486 "``_TOP_LEVEL_SECTION_PAGENUM_`` - the page number of the current page within"
1487 " the current top level section"
1488 msgstr ""
1489
1490 #: ../../__w/calibre/calibre/manual/conversion.rst:921
1491 msgid ""
1492 "When adding headers and footers make sure you set the page top and bottom "
1493 "margins to large enough values, under the :guilabel:`PDF Output` section of "
1494 "the conversion dialog."
1495 msgstr ""
1496
1497 #: ../../__w/calibre/calibre/manual/conversion.rst:926
1498 msgid "Printable Table of Contents"
1499 msgstr ""
1500
1501 #: ../../__w/calibre/calibre/manual/conversion.rst:928
1502 msgid ""
1503 "You can also insert a printable Table of Contents at the end of the PDF that"
1504 " lists the page numbers for every section. This is very useful if you intend"
1505 " to print out the PDF to paper. If you wish to use the PDF on an electronic "
1506 "device, then the PDF Outline provides this functionality and is generated by"
1507 " default."
1508 msgstr ""
1509
1510 #: ../../__w/calibre/calibre/manual/conversion.rst:933
1511 msgid ""
1512 "You can customize the look of the generated Table of contents by using the "
1513 "Extra CSS conversion setting under the Look & feel part of the conversion "
1514 "dialog. The default CSS used is listed below, simply copy it and make "
1515 "whatever changes you like."
1516 msgstr ""
1517
1518 #: ../../__w/calibre/calibre/manual/conversion.rst:953
1519 msgid "Custom page margins for individual HTML files"
1520 msgstr ""
1521
1522 #: ../../__w/calibre/calibre/manual/conversion.rst:955
1523 msgid ""
1524 "If you are converting an EPUB or AZW3 file with multiple individual HTML "
1525 "files inside it and you want to change the page margins for a particular "
1526 "HTML file you can add the following style block to the HTML file using the "
1527 "calibre E-book editor:"
1528 msgstr ""
1529
1530 #: ../../__w/calibre/calibre/manual/conversion.rst:972
1531 msgid ""
1532 "Then, in the PDF output section of the conversion dialog, turn on the option"
1533 " to :guilabel:`Use page margins from the document being converted`. Now all "
1534 "pages generated from this HTML file will have ``10pt`` margins."
1535 msgstr ""