Debian Codegraph @

translations/manual/zh_HK/edit.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 # Helen Kwok <[email protected]>, 2016
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: calibre\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2026-02-17 16:44+0000\n"
12 "PO-Revision-Date: 2016-02-29 11:58+0000\n"
13 "Last-Translator: Helen Kwok <[email protected]>, 2016\n"
14 "Language-Team: Chinese (Hong Kong) (http://app.transifex.com/calibre/calibre/language/zh_HK/)\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Language: zh_HK\n"
19 "Plural-Forms: nplurals=1; plural=0;\n"
20
21 #: ../../../__w/calibre/calibre/manual/edit.rst:4
22 msgid "Editing e-books"
23 msgstr "編輯電子書"
24
25 #: ../../../__w/calibre/calibre/manual/edit.rst:6
26 msgid ""
27 "calibre has an integrated e-book editor that can be used to edit books in "
28 "the EPUB, KEPUB (Kobo) and AZW3 (Kindle) formats. The editor shows you the "
29 "HTML and CSS that is used internally inside the book files, with a live "
30 "preview that updates as you make changes. It also contains various automated"
31 " tools to perform common cleanup and fixing tasks."
32 msgstr ""
33
34 #: ../../../__w/calibre/calibre/manual/edit.rst:12
35 msgid ""
36 "You can use this editor by right clicking on any book in calibre and "
37 "selecting :guilabel:`Edit book`."
38 msgstr "你可以通过在calibre里右键单击任意一本书--选择“编辑书籍”来进入编辑器"
39
40 #: ../../../__w/calibre/calibre/manual/edit.rst:15
41 #: ../../../__w/calibre/calibre/manual/edit.rst:230
42 msgid "The Edit book tool"
43 msgstr ""
44
45 #: ../../../__w/calibre/calibre/manual/edit.rst:23
46 msgid "Contents"
47 msgstr "目錄"
48
49 #: ../../../__w/calibre/calibre/manual/edit.rst:26
50 msgid "Basic workflow"
51 msgstr "基本的工作流程"
52
53 #: ../../../__w/calibre/calibre/manual/edit.rst:29
54 msgid ""
55 "A video tour of the calibre E-book editor is available :website:`here "
56 "<demo#tutorials>`."
57 msgstr ""
58
59 #: ../../../__w/calibre/calibre/manual/edit.rst:31
60 msgid ""
61 "When you first open a book with the Edit book tool, you will be presented "
62 "with a list of files on the left. These are the individual HTML files, "
63 "stylesheets, images, etc. that make up the content of the book. Simply "
64 "double click on a file to start editing it. Note that if you want to do "
65 "anything more sophisticated than making a few small tweaks, you will need to"
66 " know `HTML Tutorial <https://www.w3schools.com/Html/default.asp>`_ and `CSS"
67 " Tutorial <https://www.w3schools.com/css/default.asp>`_."
68 msgstr ""
69
70 #: ../../../__w/calibre/calibre/manual/edit.rst:39
71 msgid ""
72 "As you make changes to the HTML or CSS in the editor, the changes will be "
73 "previewed, live, in the preview panel to the right. When you are happy with "
74 "how the changes you have made look, click the :guilabel:`Save` button or use"
75 " :guilabel:`File->Save` to save your changes into the e-book."
76 msgstr "当您在编辑器中更改HTML或CSS时,更改将在右侧的预览面板中实时预览。如果您对所做更改的外观感到满意,请单击:guilabel:`保存`按钮或使用:guilabel:`文件->保存`将更改保存到电子书中。"
77
78 #: ../../../__w/calibre/calibre/manual/edit.rst:44
79 msgid ""
80 "One useful feature is :guilabel:`Checkpoints`. Before you embark on some "
81 "ambitious set of edits, you can create a checkpoint. The checkpoint will "
82 "preserve the current state of your book, then if in the future you decide "
83 "you don't like the changes you have made, you can go back to the state when "
84 "you created the checkpoint. To create a checkpoint, use "
85 ":guilabel:`Edit->Create checkpoint`. Checkpoints will also be automatically "
86 "created for you whenever you run any automated tool like global search and "
87 "replace. The checkpointing functionality is in addition to the normal "
88 "undo/redo mechanism when editing individual files. Checkpoints are needed "
89 "for when changes are spread over multiple files in the book."
90 msgstr ""
91
92 #: ../../../__w/calibre/calibre/manual/edit.rst:55
93 msgid ""
94 "That is the basic work flow for editing books -- Open a file, make changes, "
95 "preview and save. The rest of this manual will discuss the various tools and"
96 " features present to allow you to perform specific tasks efficiently."
97 msgstr "这是编辑图书的基本工作流程--打开文件、进行更改、预览和保存。本手册的其余部分将讨论现有的各种工具和功能,使您能够高效地执行特定任务。"
98
99 #: ../../../__w/calibre/calibre/manual/edit.rst:60
100 msgid "The File browser"
101 msgstr "文件浏览器"
102
103 #: ../../../__w/calibre/calibre/manual/edit.rst:62
104 msgid "The File browser showing files in the book"
105 msgstr ""
106
107 #: ../../../__w/calibre/calibre/manual/edit.rst:66
108 msgid ""
109 "The :guilabel:`File browser` gives you an overview of the various files "
110 "inside the book you are editing. The files are arranged by category, with "
111 "text (HTML) files at the top, followed by stylesheet (CSS) files, images and"
112 " so on. Simply double click on a file to start editing it. Editing is "
113 "supported for HTML, CSS and image files. The order of text files is the same"
114 " order that they would be displayed in, if you were reading the book. All "
115 "other files are arranged alphabetically."
116 msgstr "guilabel:`文件浏览器`为您提供正在编辑的书本内各种文件的概览。文件按类别排列,文本(HTML)文件位于顶部,后面是样式表(CSS)文件、图像等。只需双击文件即可开始编辑。HTML、CSS和图像文件支持编辑。如果您正在阅读图书,则文本文件的顺序与它们的显示顺序相同。所有其他文件都按字母顺序排列。"
117
118 #: ../../../__w/calibre/calibre/manual/edit.rst:74
119 msgid ""
120 "By hovering your mouse over an entry, you can see its size, and also, at the"
121 " bottom of the screen, the full path to the file inside the book. Note that "
122 "files inside e-books are compressed, so the size of the final book is not "
123 "the sum of the individual file sizes."
124 msgstr "通过将鼠标悬停在条目上,您可以看到它的大小,还可以在屏幕底部看到书中文件的完整路径。请注意,电子书中的文件是压缩的,因此最终图书的大小不是单个文件大小的总和。"
125
126 #: ../../../__w/calibre/calibre/manual/edit.rst:79
127 msgid ""
128 "Many files have special meaning, in the book. These will typically have an "
129 "icon next to their names, indicating the special meaning. For example, in "
130 "the picture to the left, you can see that the files "
131 ":guilabel:`cover_image.jpg` and :guilabel:`titlepage.xhtml` have the icon of"
132 " a cover next to them, this indicates they are the book cover image and "
133 "titlepage. Similarly, the :guilabel:`content.opf` file has a metadata icon "
134 "next to it, indicating the book metadata is present in it and the "
135 ":guilabel:`toc.ncx` file has a T icon next to it, indicating it is the Table"
136 " of Contents."
137 msgstr "在这本书中,许多文件都有特殊的意义。它们的名称旁边通常会有一个图标,表示特殊含义。例如,在左边的图片中,您可以看到文件:guilabel:`cover_image.jpg`和:guilabel:`title lepage.xhtml`旁边有封面图标,这表示它们是图书封面图片和标题页。同样,:guilabel:`content.opf`文件旁边有一个元数据图标,表示其中存在图书元数据,而:guilabel:`toc.ncx`文件旁边有一个T图标,表示它是目录。"
138
139 #: ../../../__w/calibre/calibre/manual/edit.rst:88
140 msgid ""
141 "You can perform many actions on individual files, by right clicking them."
142 msgstr "通过右键单击单个文件,可以对它们执行许多操作。"
143
144 #: ../../../__w/calibre/calibre/manual/edit.rst:91
145 msgid "Renaming files"
146 msgstr "文件改名中"
147
148 #: ../../../__w/calibre/calibre/manual/edit.rst:93
149 msgid ""
150 "You can rename an individual file by right clicking it and selecting "
151 ":guilabel:`Rename`. Renaming a file automatically updates all links and "
152 "references to it throughout the book. So all you have to do is provide the "
153 "new name, calibre will take care of the rest."
154 msgstr "您可以通过右键单击单个文件并选择:guilabel:`Rename`来重命名该文件。重命名文件会自动更新整本书中对该文件的所有链接和引用。所以你要做的就是提供新的名字,其他的都会由Calibre来处理。"
155
156 #: ../../../__w/calibre/calibre/manual/edit.rst:98
157 msgid ""
158 "You can also bulk rename many files at once. This is useful if you want the "
159 "files to have some simple name pattern. For example you might want to rename"
160 " all the HTML files to have names Chapter-1.html, Chapter-2.html and so on. "
161 "Select the files you want bulk renamed by holding down the :kbd:`Shift` or "
162 ":kbd:`Ctrl` key and clicking the files. Then right click and select "
163 ":guilabel:`Bulk rename`. Enter a prefix and what number you would like the "
164 "automatic numbering to start at, click OK and you are done. The bulk rename "
165 "dialog also lets you rename files by the order they appear in the book "
166 "instead of the order you selected them in, useful, for instance to rename "
167 "all images by the order they appear."
168 msgstr ""
169
170 #: ../../../__w/calibre/calibre/manual/edit.rst:109
171 msgid ""
172 "Finally, you can bulk change the file extension for all selected files. "
173 "Select multiple files, as above, and right click and choose "
174 ":guilabel:`Change the file extension for the selected files`."
175 msgstr "最后,您可以批量更改所有选定文件的文件扩展名。如上选择多个文件,右键选择:guilabel:`更改所选文件的文件扩展名`。"
176
177 #: ../../../__w/calibre/calibre/manual/edit.rst:114
178 msgid "Merging files"
179 msgstr "合并文件"
180
181 #: ../../../__w/calibre/calibre/manual/edit.rst:116
182 msgid ""
183 "Sometimes, you may want to merge two HTML files or two CSS files together. "
184 "It can sometimes be useful to have everything in a single file. Be wary, "
185 "though, putting a lot of content into a single file will cause performance "
186 "problems when viewing the book in a typical e-book reader."
187 msgstr "有时,您可能希望将两个HTML文件或两个CSS文件合并在一起。有时将所有内容都放在一个文件中会很有用。不过要小心,在典型的电子书阅读器中查看图书时,将大量内容放入单个文件会导致性能问题。"
188
189 #: ../../../__w/calibre/calibre/manual/edit.rst:121
190 msgid ""
191 "To merge multiple files together, select them by holding the :kbd:`Ctrl` key"
192 " and clicking on them (make sure you only select files of one type, either "
193 "all HTML files or all CSS files and so on). Then right click and select "
194 "merge. That's all, calibre will merge the files, automatically taking care "
195 "of migrating all links and references to the merged files. Note that merging"
196 " files can sometimes cause text styling to change, since the individual "
197 "files could have used different stylesheets."
198 msgstr ""
199
200 #: ../../../__w/calibre/calibre/manual/edit.rst:129
201 msgid ""
202 "You can also select text files and then drag and drop the text files onto "
203 "another text file to merge the dropped text files into the target text file."
204 msgstr ""
205
206 #: ../../../__w/calibre/calibre/manual/edit.rst:133
207 msgid "Changing text file order"
208 msgstr "更改文本文件顺序"
209
210 #: ../../../__w/calibre/calibre/manual/edit.rst:135
211 msgid ""
212 "You can re-arrange the order in which text (HTML) files are opened when "
213 "reading the book by simply dragging and dropping them in the :guilabel:`File"
214 " browser` or clicking on the file to move and then pressing the "
215 ":kbd:`Ctrl+Shift` modifiers with the :kbd:`Up`, :kbd:`Down`, :kbd:`Home` or "
216 ":kbd:`End` keys. For the technically inclined, this is called re-ordering "
217 "the book spine."
218 msgstr ""
219
220 #: ../../../__w/calibre/calibre/manual/edit.rst:141
221 msgid ""
222 "Note that you have to drop the items *between* other items, not on top of "
223 "them, this can be a little fiddly until you get used to it. Dropping on top "
224 "of another file will cause the files to be merged."
225 msgstr ""
226
227 #: ../../../__w/calibre/calibre/manual/edit.rst:146
228 msgid "Marking the cover"
229 msgstr "正在標記封面"
230
231 #: ../../../__w/calibre/calibre/manual/edit.rst:148
232 msgid ""
233 "E-books typically have a cover image. This image is indicated in the "
234 ":guilabel:`File browser` by the icon of a brown book next to the image name."
235 " If you want to designate some other image as the cover, you can do so by "
236 "right clicking on the file and choosing :guilabel:`Mark as cover`."
237 msgstr "电子书通常都有封面图片。此图像在:guilabel:`文件浏览器`中由图像名称旁边的棕色书图标表示。如果要指定其他图像作为封面,可以通过右键单击该文件并选择:guilabel:`标记为封面‘来实现。"
238
239 #: ../../../__w/calibre/calibre/manual/edit.rst:153
240 msgid ""
241 "In addition, EPUB files have the concept of a *titlepage*. A title page is a"
242 " HTML file that acts as the title page/cover for the book. You can mark an "
243 "HTML file as the titlepage when editing EPUBs by right-clicking. Be careful "
244 "that the file you mark contains only the cover information. If it contains "
245 "other content, such as the first chapter, then that content will be lost if "
246 "the user ever converts the EPUB file in calibre to another format. This is "
247 "because when converting, calibre assumes that the marked title page contains"
248 " only the cover and no other content."
249 msgstr ""
250
251 #: ../../../__w/calibre/calibre/manual/edit.rst:163
252 msgid "Deleting files"
253 msgstr "移除文件中"
254
255 #: ../../../__w/calibre/calibre/manual/edit.rst:165
256 msgid ""
257 "You can delete files by either right clicking on them or by selecting them "
258 "and pressing the Delete key. Deleting a file removes all references to the "
259 "file from the OPF file, saving you that chore. However, references in other "
260 "places are not removed, you can use the Check Book tool to easily find and "
261 "remove/replace them."
262 msgstr "您可以通过右键单击文件或选择文件并按Delete键来删除文件。删除文件会从OPF文件中删除对该文件的所有引用,从而省去了这项工作。但是,其他位置的参照不会被删除,您可以使用Check Book工具轻松地查找和删除/替换它们。"
263
264 #: ../../../__w/calibre/calibre/manual/edit.rst:172
265 msgid "Exporting files"
266 msgstr "匯出文件中"
267
268 #: ../../../__w/calibre/calibre/manual/edit.rst:174
269 msgid ""
270 "You can export a file from inside the book to somewhere else on your "
271 "computer. This is useful if you want to work on the file in isolation, with "
272 "specialised tools. To do this, simply right click on the file and choose "
273 ":guilabel:`Export`."
274 msgstr "您可以将文件从书内导出到计算机上的其他位置。如果您希望使用专门的工具单独处理文件,这将非常有用。要执行此操作,只需右键单击该文件并选择:guilabel:`导出`。"
275
276 #: ../../../__w/calibre/calibre/manual/edit.rst:179
277 msgid ""
278 "Once you are done working on the exported file, you can re-import it into "
279 "the book, by right clicking on the file again and choosing "
280 ":guilabel:`Replace with file...` which will allow you to replace the file in"
281 " the book with the previously exported file."
282 msgstr "处理完导出的文件后,您可以将其重新导入到书中,方法是再次右键单击该文件,然后选择:guilabel:`替换为文件...‘,这将允许您将书籍中的文件替换为以前导出的文件。"
283
284 #: ../../../__w/calibre/calibre/manual/edit.rst:184
285 msgid ""
286 "You can also copy files between multiple editor instances. Select the files "
287 "you want to copy in the :guilabel:`File browser`, then right click and "
288 "choose, :guilabel:`Copy selected files to another editor instance`. Then, in"
289 " the other editor instance, right click in the :guilabel:`File browser` and "
290 "choose :guilabel:`Paste file from other editor instance`."
291 msgstr "您还可以在多个编辑器实例之间复制文件。在:guilabel:`文件浏览器`中选择要复制的文件,然后右键单击并选择、:guilabel:`将所选文件复制到另一个编辑器实例`。然后,在另一个编辑器实例中,右键单击:guilabel:`文件浏览器`并选择:guilabel:`从其他编辑器实例粘贴文件`。"
292
293 #: ../../../__w/calibre/calibre/manual/edit.rst:191
294 msgid "Adding new images/fonts/etc. or creating new blank files"
295 msgstr "增加新的图片/字体等或者创建新空文件"
296
297 #: ../../../__w/calibre/calibre/manual/edit.rst:193
298 msgid ""
299 "You can add a new image, font, stylesheet, etc. from your computer into the "
300 "book by clicking :guilabel:`File->New file`. This lets you either import a "
301 "file by clicking the :guilabel:`Import resource file` button or create a new"
302 " blank HTML file or stylesheet by simply entering the file name into the box"
303 " for the new file."
304 msgstr "您可以通过单击:guilabel:`文件->新建文件`将计算机中的新图像、字体、样式表等添加到书本中。这允许您通过单击:guilabel:`导入资源文件`按钮导入文件,或者只需在新文件的框中输入文件名即可创建新的空白HTML文件或样式表。"
305
306 #: ../../../__w/calibre/calibre/manual/edit.rst:198
307 msgid ""
308 "You can also import multiple files into the book at once using File->Import "
309 "files into book."
310 msgstr "您还可以使用文件->将文件导入书本,一次将多个文件导入书本。"
311
312 #: ../../../__w/calibre/calibre/manual/edit.rst:202
313 msgid "Replacing files"
314 msgstr "替代文件"
315
316 #: ../../../__w/calibre/calibre/manual/edit.rst:204
317 msgid ""
318 "You can easily replace existing files in the book, by right clicking on the "
319 "file and choosing replace. This will automatically update all links and "
320 "references, in case the replacement file has a different name than the file "
321 "being replaced."
322 msgstr "通过右键单击文件并选择替换,您可以轻松地替换图书中的现有文件。这将自动更新所有链接和引用,以防替换文件的名称与要替换的文件不同。"
323
324 #: ../../../__w/calibre/calibre/manual/edit.rst:210
325 msgid "Linking stylesheets to HTML files efficiently"
326 msgstr "有效地将样式表链接到HTML文件"
327
328 #: ../../../__w/calibre/calibre/manual/edit.rst:212
329 msgid ""
330 "As a convenience, you can select multiple HTML files in the File browser, "
331 "right click and choose Link stylesheets to have calibre automatically insert"
332 " the <link> tags for those stylesheets into all the selected HTML files."
333 msgstr "为了方便起见,您可以在文件浏览器中选择多个HTML文件,右键单击并选择链接样式表,以便Calibre自动将这些样式表的 <link> 标记插入到所有选定的HTML文件中。"
334
335 #: ../../../__w/calibre/calibre/manual/edit.rst:222
336 msgid "Search & replace"
337 msgstr "搜索并替换"
338
339 #: ../../../__w/calibre/calibre/manual/edit.rst:224
340 msgid ""
341 "Edit book has a very powerful search and replace interface that allows you "
342 "to search and replace text in the current file, across all files and even in"
343 " a marked region of the current file. You can search using a normal search "
344 "or using regular expressions. To learn how to use regular expressions for "
345 "advanced searching, see :ref:`regexptutorial`."
346 msgstr "编辑书籍有一个非常强大的搜索和替换界面,允许您搜索和替换当前文件中的文本,跨所有文件,甚至在当前文件的标记区域中搜索和替换文本。您可以使用普通搜索或使用正则表达式进行搜索。要了解如何使用正则表达式进行高级搜索,请参阅:ref:`regexptutorial`。"
347
348 #: ../../../__w/calibre/calibre/manual/edit.rst:234
349 msgid ""
350 "Start the search and replace via the :guilabel:`Search->Find/replace` menu "
351 "entry (you must be editing an HTML or CSS file)."
352 msgstr "通过:guilabel:`搜索->查找/替换`菜单项开始搜索和替换(您必须编辑HTML或CSS文件)。"
353
354 #: ../../../__w/calibre/calibre/manual/edit.rst:237
355 msgid ""
356 "Type the text you want to find into the Find box and its replacement into "
357 "the Replace box. You can the click the appropriate buttons to Find the next "
358 "match, replace the current match and replace all matches."
359 msgstr "在“查找”框中键入要查找的文本,并在“替换”框中替换它。您可以单击相应的按钮查找下一个匹配项、替换当前匹配项和替换所有匹配项。"
360
361 #: ../../../__w/calibre/calibre/manual/edit.rst:241
362 msgid ""
363 "Using the drop downs at the bottom of the box, you can have the search "
364 "operate over the current file, all text files, all style files or all files."
365 " You can also choose the search mode to be a normal (string) search or a "
366 "regular expression search."
367 msgstr "使用框底部的下拉列表,您可以对当前文件、所有文本文件、所有样式文件或所有文件进行搜索。您还可以将搜索模式选择为普通(字符串)搜索或正则表达式搜索。"
368
369 #: ../../../__w/calibre/calibre/manual/edit.rst:246
370 msgid ""
371 "You can count all the matches for a search expression via "
372 ":guilabel:`Search->Count all`. The count will run over whatever "
373 "files/regions you have selected in the dropdown box."
374 msgstr "您可以通过:guilabel:`搜索->全部计数`统计搜索表达式的所有匹配项。计数将遍历您在下拉框中选择的任何文件/区域。"
375
376 #: ../../../__w/calibre/calibre/manual/edit.rst:250
377 msgid ""
378 "You can also go to a specific line in the currently open editor via "
379 ":guilabel:`Search->Go to line`."
380 msgstr ""
381
382 #: ../../../__w/calibre/calibre/manual/edit.rst:254
383 msgid ""
384 "Remember, to harness the full power of search and replace, you will need to "
385 "use regular expressions. See :ref:`regexptutorial`."
386 msgstr ""
387
388 #: ../../../__w/calibre/calibre/manual/edit.rst:258
389 msgid "Saved searches"
390 msgstr "已儲存的搜尋"
391
392 #: ../../../__w/calibre/calibre/manual/edit.rst:260
393 msgid ""
394 "You can save frequently used search/replace expressions (including function "
395 "mode expressions) and reuse them multiple times. To save a search simply "
396 "right click in the Find box and select :guilabel:`Save current search`."
397 msgstr ""
398
399 #: ../../../__w/calibre/calibre/manual/edit.rst:264
400 msgid ""
401 "You can bring up the saved searches via :guilabel:`Search->Saved searches`. "
402 "This will present you with a list of search and replace expressions that you"
403 " can apply. You can even select multiple entries in the list by holding down"
404 " the :kbd:`Ctrl` key while clicking so as to run multiple search and replace"
405 " expressions in a single operation."
406 msgstr ""
407
408 #: ../../../__w/calibre/calibre/manual/edit.rst:271
409 msgid "Function mode"
410 msgstr "功能模式"
411
412 #: ../../../__w/calibre/calibre/manual/edit.rst:273
413 msgid ""
414 "Function mode allows you to write arbitrarily powerful Python functions that"
415 " are run on every Find/replace. You can do pretty much any text manipulation"
416 " you like in function mode. For more information, see :doc:`function_mode`."
417 msgstr ""
418
419 #: ../../../__w/calibre/calibre/manual/edit.rst:278
420 msgid "Search ignoring HTML tags"
421 msgstr ""
422
423 #: ../../../__w/calibre/calibre/manual/edit.rst:280
424 msgid ""
425 "There is also a dedicated tool for searching for text, ignoring any HTML "
426 "tags in between. For example, if the book has the HTML ``Emphasis on a "
427 "<i>word</i>.`` you can search for ``on a word`` and it will be found even "
428 "though there is an ``<i>`` tag in the middle. Use this tool via the "
429 ":guilabel:`Search->Search ignoring HTML markup` menu item."
430 msgstr ""
431
432 #: ../../../__w/calibre/calibre/manual/edit.rst:287
433 msgid "Automated tools"
434 msgstr "自动化工具"
435
436 #: ../../../__w/calibre/calibre/manual/edit.rst:289
437 msgid ""
438 "Edit book has various tools to help with common tasks. These are accessed "
439 "via the :guilabel:`Tools` menu."
440 msgstr ""
441
442 #: ../../../__w/calibre/calibre/manual/edit.rst:293
443 msgid "Editing the Table of Contents"
444 msgstr ""
445
446 #: ../../../__w/calibre/calibre/manual/edit.rst:295
447 msgid ""
448 "There is a dedicated tool to ease editing of the Table of Contents. Launch "
449 "it with :guilabel:`Tools->Table of Contents->Edit Table of Contents`."
450 msgstr ""
451
452 #: ../../../__w/calibre/calibre/manual/edit.rst:298
453 msgid "The Edit Table of Contents tool"
454 msgstr ""
455
456 #: ../../../__w/calibre/calibre/manual/edit.rst:302
457 msgid ""
458 "The Edit Table of Contents tool shows you the current Table of Contents (if "
459 "any) on the left. Simply double click on any entry to change its text. You "
460 "can also re-arrange entries by drag and drop or by using the buttons to the "
461 "right."
462 msgstr ""
463
464 #: ../../../__w/calibre/calibre/manual/edit.rst:306
465 msgid ""
466 "For books that do not have a pre-existing Table of Contents, the tool gives "
467 "you various options to auto-generate a Table of Contents from the text. You "
468 "can generate from the headings in the document, from links, from individual "
469 "files and so on."
470 msgstr ""
471
472 #: ../../../__w/calibre/calibre/manual/edit.rst:311
473 msgid ""
474 "You can edit individual entries by clicking on them and then clicking the "
475 ":guilabel:`Change the location this entry points to` button. This will open "
476 "up a mini-preview of the book, simply move the mouse cursor over the book "
477 "view panel, and click where you want the entry to point to. A thick green "
478 "line will show you the location. Click OK once you are happy with the "
479 "location."
480 msgstr ""
481
482 #: ../../../__w/calibre/calibre/manual/edit.rst:317
483 msgid ""
484 "The Edit Table of Contents tool, how to change the location an entry points "
485 "to"
486 msgstr ""
487
488 #: ../../../__w/calibre/calibre/manual/edit.rst:322
489 msgid "Checking the book"
490 msgstr ""
491
492 #: ../../../__w/calibre/calibre/manual/edit.rst:324
493 msgid ""
494 "The :guilabel:`Check book` tool searches your book for problems that could "
495 "prevent it working as intended on actual reader devices. Activate it via "
496 ":guilabel:`Tools->Check book`."
497 msgstr ""
498
499 #: ../../../__w/calibre/calibre/manual/edit.rst:328
500 msgid "The Check book tool"
501 msgstr ""
502
503 #: ../../../__w/calibre/calibre/manual/edit.rst:332
504 msgid ""
505 "Any problems found are reported in a nice, easy to use list. Clicking any "
506 "entry in the list shows you some help about that error as well as giving you"
507 " the option to auto-fix that error, if the error can be fixed automatically."
508 " You can also double click the error to open the location of the error in an"
509 " editor, so you can fix it yourself."
510 msgstr ""
511
512 #: ../../../__w/calibre/calibre/manual/edit.rst:339
513 msgid "Some of the checks performed are:"
514 msgstr ""
515
516 #: ../../../__w/calibre/calibre/manual/edit.rst:341
517 msgid ""
518 "Malformed HTML markup. Any HTML markup that does not parse as well-formed "
519 "XML is reported. Correcting it will ensure that your markup works as "
520 "intended in all contexts. calibre can also auto-fix these errors, but auto-"
521 "fixing can sometimes have unexpected effects, so use with care. As always, a"
522 " checkpoint is created before auto-fixing so you can easily revert all "
523 "changes. Auto-fixing works by parsing the markup using the HTML5 algorithm, "
524 "which is highly fault tolerant and then converting to well formed XML."
525 msgstr ""
526
527 #: ../../../__w/calibre/calibre/manual/edit.rst:350
528 msgid ""
529 "Malformed or unknown CSS styles. Any CSS that is not valid or that has "
530 "properties not defined in the CSS 2.1 standard (plus a few from CSS 3) are "
531 "reported. CSS is checked in all stylesheets, inline style attributes and "
532 "<style> tags in HTML files."
533 msgstr ""
534
535 #: ../../../__w/calibre/calibre/manual/edit.rst:355
536 msgid ""
537 "Broken links. Links that point to files inside the book that are missing are"
538 " reported."
539 msgstr ""
540
541 #: ../../../__w/calibre/calibre/manual/edit.rst:358
542 msgid ""
543 "Unreferenced files. Files in the book that are not referenced by any other "
544 "file or are not in the spine are reported."
545 msgstr ""
546
547 #: ../../../__w/calibre/calibre/manual/edit.rst:361
548 msgid ""
549 "Various common problems in OPF files such as duplicate spine or manifest "
550 "items, broken idrefs or meta cover tags, missing required sections and so "
551 "on."
552 msgstr ""
553
554 #: ../../../__w/calibre/calibre/manual/edit.rst:365
555 msgid ""
556 "Various compatibility checks for known problems that can cause the book to "
557 "malfunction on reader devices."
558 msgstr ""
559
560 #: ../../../__w/calibre/calibre/manual/edit.rst:369
561 msgid "Adding a cover"
562 msgstr ""
563
564 #: ../../../__w/calibre/calibre/manual/edit.rst:371
565 msgid ""
566 "You can easily add a cover to the book via :guilabel:`Tools->Add cover`. "
567 "This allows you to either choose an existing image in the book as the cover "
568 "or import a new image into the book and make it the cover. When editing EPUB"
569 " files, the HTML wrapper for the cover is automatically generated. If an "
570 "existing cover in the book is found, it is replaced. The tool also "
571 "automatically takes care of correctly marking the cover files as covers in "
572 "the OPF."
573 msgstr ""
574
575 #: ../../../__w/calibre/calibre/manual/edit.rst:380
576 msgid "Embedding referenced fonts"
577 msgstr "正在內嵌已列入參考的字型"
578
579 #: ../../../__w/calibre/calibre/manual/edit.rst:382
580 msgid ""
581 "Accessed via :guilabel:`Tools->Embed reference fonts`, this tool finds all "
582 "fonts referenced in the book and if they are not already embedded, searches "
583 "your computer for them and embeds them into the book, if found. Please make "
584 "sure that you have the necessary copyrights for embedding commercially "
585 "licensed fonts, before doing this."
586 msgstr ""
587
588 #: ../../../__w/calibre/calibre/manual/edit.rst:389
589 msgid "Subsetting embedded fonts"
590 msgstr "正在將內嵌字體子集化"
591
592 #: ../../../__w/calibre/calibre/manual/edit.rst:391
593 msgid ""
594 "Accessed via :guilabel:`Tools->Subset embedded fonts`, this tool reduces all"
595 " the fonts in the book to only contain glyphs for the text actually present "
596 "in the book. This commonly reduces the size of the font files by ~ 50%. "
597 "However, be aware that once the fonts are subset, if you add new text whose "
598 "characters are not previously present in the subset font, the font will not "
599 "work for the new text. So do this only as the last step in your workflow."
600 msgstr ""
601
602 #: ../../../__w/calibre/calibre/manual/edit.rst:399
603 msgid "Smartening punctuation"
604 msgstr "智慧型標點符號"
605
606 #: ../../../__w/calibre/calibre/manual/edit.rst:401
607 msgid ""
608 "Convert plain text dashes, ellipsis, quotes, multiple hyphens, etc. into "
609 "their typographically correct equivalents. Note that the algorithm can "
610 "sometimes generate incorrect results, especially when single quotes at the "
611 "start of contractions are involved. Accessed via :guilabel:`Tools->Smarten "
612 "punctuation`."
613 msgstr ""
614
615 #: ../../../__w/calibre/calibre/manual/edit.rst:408
616 msgid "Transforming CSS properties"
617 msgstr ""
618
619 #: ../../../__w/calibre/calibre/manual/edit.rst:410
620 msgid ""
621 "Create rules to transform the styling of the book. For example, create a "
622 "rule to convert all red text to green or to double the font size of all text"
623 " in the book or make text of a certain font family italic, etc."
624 msgstr ""
625
626 #: ../../../__w/calibre/calibre/manual/edit.rst:414
627 msgid ""
628 "Creating the rules is simple, the rules follow a natural language format, "
629 "that looks like:"
630 msgstr ""
631
632 #: ../../../__w/calibre/calibre/manual/edit.rst:417
633 msgid "If the property *color* is *red* *change* it to *green*"
634 msgstr ""
635
636 #: ../../../__w/calibre/calibre/manual/edit.rst:418
637 msgid "If the property *font-size* is *any value* *multiply* the value by *2*"
638 msgstr ""
639
640 #: ../../../__w/calibre/calibre/manual/edit.rst:420
641 msgid "Accessed via :guilabel:`Tools->Transform styles`."
642 msgstr ""
643
644 #: ../../../__w/calibre/calibre/manual/edit.rst:423
645 msgid "Removing unused CSS rules"
646 msgstr "移除沒使用到的 CSS 規則"
647
648 #: ../../../__w/calibre/calibre/manual/edit.rst:425
649 msgid ""
650 "Remove all unused CSS rules from stylesheets and <style> tags. Some books "
651 "created from production templates can have a large number of extra CSS rules"
652 " that don't match any actual content. These extra rules can slow down "
653 "readers that need to process them all. Accessed via :guilabel:`Tools->Remove"
654 " unused CSS`."
655 msgstr ""
656
657 #: ../../../__w/calibre/calibre/manual/edit.rst:432
658 msgid "Fixing HTML"
659 msgstr ""
660
661 #: ../../../__w/calibre/calibre/manual/edit.rst:434
662 msgid ""
663 "This tool simply converts HTML that cannot be parsed as XML into well-formed"
664 " XML. It is very common in e-books to have non-well-formed XML, so this tool"
665 " simply automates the process of fixing such HTML. The tool works by parsing"
666 " the HTML using the HTML5 algorithm (the algorithm used in all modern "
667 "browsers) and then converting the result into XML. Be aware that auto-fixing"
668 " can sometimes have counter-intuitive results. If you prefer, you can use "
669 "the Check Book tool discussed above to find and manually correct problems in"
670 " the HTML. Accessed via :guilabel:`Tools->Fix HTML`."
671 msgstr ""
672
673 #: ../../../__w/calibre/calibre/manual/edit.rst:444
674 msgid "Beautifying files"
675 msgstr "美化文件"
676
677 #: ../../../__w/calibre/calibre/manual/edit.rst:446
678 msgid ""
679 "This tool is used to auto-format all HTML and CSS files so that they \"look "
680 "pretty\". The code is auto-indented so that it lines up nicely, blank lines "
681 "are inserted where appropriate and so on. Note that beautifying also auto-"
682 "fixes broken HTML/CSS. Therefore, if you don't want any auto-fixing to be "
683 "performed, first use the Check Book tool to correct all problems and only "
684 "then run beautify. Accessed via :guilabel:`Tools->Beautify all files`."
685 msgstr ""
686
687 #: ../../../__w/calibre/calibre/manual/edit.rst:454
688 msgid ""
689 "In HTML any text can have significant whitespace, via the CSS white-space "
690 "directive. Therefore, beautification could potentially change the rendering "
691 "of the HTML. To avoid this as far as possible, the beautify algorithm only "
692 "beautifies block level tags that contain other block level tags. So, for "
693 "example, text inside a <p> tag will not have its whitespace changed. But a "
694 "<body> tag that contains only other <p> and <div> tags will be beautified. "
695 "This can sometimes mean that a particular file will not be affected by "
696 "beautify as it has no suitable block level tags. In such cases you can try "
697 "different beautification tools, that are less careful, for example: `HTML "
698 "Tidy <https://infohound.net/tidy/>`_."
699 msgstr ""
700
701 #: ../../../__w/calibre/calibre/manual/edit.rst:467
702 msgid "Inserting an inline Table of Contents"
703 msgstr ""
704
705 #: ../../../__w/calibre/calibre/manual/edit.rst:469
706 msgid ""
707 "Normally in e-books, the Table of Contents is separate from the main text "
708 "and is typically accessed via a special Table of Contents button/menu in the"
709 " e-book reading device. You can also have calibre automatically generate an "
710 "*inline* Table of Contents that becomes part of the text of the book. It is "
711 "generated based on the currently defined Table of Contents."
712 msgstr ""
713
714 #: ../../../__w/calibre/calibre/manual/edit.rst:475
715 msgid ""
716 "If you use this tool multiple times, each invocation will cause the "
717 "previously created inline Table of Contents to be replaced. The tool can be "
718 "accessed via :guilabel:`Tools->Table of Contents->Insert inline Table of "
719 "Contents`."
720 msgstr ""
721
722 #: ../../../__w/calibre/calibre/manual/edit.rst:480
723 msgid "Setting Semantics"
724 msgstr ""
725
726 #: ../../../__w/calibre/calibre/manual/edit.rst:482
727 msgid ""
728 "This tool is used to set *semantics* in EPUB files. Semantics are simply, "
729 "links in the OPF file that identify certain locations in the book as having "
730 "special meaning. You can use them to identify the foreword, dedication, "
731 "cover, table of contents, etc. Simply choose the type of semantic "
732 "information you want to specify and then select the location in the book the"
733 " link should point to. This tool can be accessed via :guilabel:`Tools->Set "
734 "semantics`."
735 msgstr ""
736
737 #: ../../../__w/calibre/calibre/manual/edit.rst:490
738 msgid "Filtering style information"
739 msgstr ""
740
741 #: ../../../__w/calibre/calibre/manual/edit.rst:492
742 msgid ""
743 "This tool can be used to easily remove specified CSS style properties from "
744 "the entire book. You can tell it what properties you want removed, for "
745 "example, ``color, background-color, line-height`` and it will remove them "
746 "from everywhere they occur --- stylesheets, ``<style>`` tags and inline "
747 "``style`` attributes. After removing the style information, a summary of all"
748 " the changes made is displayed so you can see exactly what was changed. The "
749 "tool can be accessed via :guilabel:`Tools->Filter style information`."
750 msgstr ""
751
752 #: ../../../__w/calibre/calibre/manual/edit.rst:502
753 msgid "Upgrading the book's internals"
754 msgstr ""
755
756 #: ../../../__w/calibre/calibre/manual/edit.rst:504
757 msgid ""
758 "This tool can be used to upgrade the book's internals, if possible. For "
759 "instance it will upgrade EPUB 2 books to EPUB 3 books. The tool can be "
760 "accessed via :guilabel:`Upgrade book internals`."
761 msgstr ""
762
763 #: ../../../__w/calibre/calibre/manual/edit.rst:511
764 msgid "Checkpoints"
765 msgstr "檢查點"
766
767 #: ../../../__w/calibre/calibre/manual/edit.rst:513
768 msgid ""
769 ":guilabel:`Checkpoints` are a way to mark the current state of the book as "
770 "\"special\". You can then go on to do whatever changes you want to the book "
771 "and if you don't like the results, return to the checkpointed state. "
772 "Checkpoints are automatically created every time you run any of the "
773 "automated tools described in the previous section."
774 msgstr ""
775
776 #: ../../../__w/calibre/calibre/manual/edit.rst:519
777 msgid ""
778 "You can create a checkpoint via :guilabel:`Edit->Create checkpoint`. And go "
779 "back to a previous checkpoint with :guilabel:`Edit->Revert to ...`"
780 msgstr ""
781
782 #: ../../../__w/calibre/calibre/manual/edit.rst:522
783 msgid ""
784 "The check pointing functionality is in addition to the normal Undo/redo "
785 "mechanism when editing individual files. Checkpoints are needed for when "
786 "changes are spread over multiple files in the book or when you wish to be "
787 "able to revert a large group of related changes as a whole."
788 msgstr ""
789
790 #: ../../../__w/calibre/calibre/manual/edit.rst:527
791 msgid ""
792 "You can see a list of available checkpoints via "
793 ":guilabel:`View->Checkpoints`. You can compare the current state of the book"
794 " to a specified checkpoint using the :ref:`diff` tool -- by selecting the "
795 "checkpoint of interest and clicking the :guilabel:`Compare` button. The "
796 ":guilabel:`Revert to` button restores the book to the selected checkpoint, "
797 "undoing all changes since that checkpoint was created."
798 msgstr ""
799
800 #: ../../../__w/calibre/calibre/manual/edit.rst:535
801 msgid "The Live preview panel"
802 msgstr ""
803
804 #: ../../../__w/calibre/calibre/manual/edit.rst:537
805 msgid "The Live preview panel showing a rendering of the current file"
806 msgstr ""
807
808 #: ../../../__w/calibre/calibre/manual/edit.rst:541
809 msgid ""
810 "The live preview panel shows you the changes you are making live (with a "
811 "second or two of delay). As you edit HTML or CSS files, the preview panel is"
812 " updated automatically to reflect your changes. As you move the cursor "
813 "around in the editor, the preview panel will track its location, showing you"
814 " the corresponding location in the book. Clicking in the preview panel, will"
815 " cause the cursor in the editor to be positioned over the element you "
816 "clicked. If you click a link pointing to another file in the book, that file"
817 " will be opened in the edit and the preview panel, automatically."
818 msgstr ""
819
820 #: ../../../__w/calibre/calibre/manual/edit.rst:550
821 msgid ""
822 "You can turn off the automatic syncing of position and live preview of "
823 "changes -- by buttons under the preview panel. The live update of the "
824 "preview panel only happens when you are not actively typing in the editor, "
825 "so as not to be distracting or slow you down, waiting for the preview to "
826 "render."
827 msgstr ""
828
829 #: ../../../__w/calibre/calibre/manual/edit.rst:555
830 msgid ""
831 "The preview panel shows you how the text will look when viewed. However, the"
832 " preview panel is not a substitute for actually testing your book on an "
833 "actual reader device. It is both more, and less capable than an actual "
834 "reader. It will tolerate errors and sloppy markup much better than most "
835 "reader devices. It will also not show you page margins, page breaks and "
836 "embedded fonts that use font name aliasing. Use the preview panel while you "
837 "are working on the book, but once you are done, review it in an actual "
838 "reader device or software emulator."
839 msgstr ""
840
841 #: ../../../__w/calibre/calibre/manual/edit.rst:564
842 msgid ""
843 "The preview panel does not support embedded fonts if the name of the font "
844 "inside the font file does not match the name in the CSS @font-face rule. You"
845 " can use the Check Book tool to quickly find and fix any such problem fonts."
846 msgstr ""
847
848 #: ../../../__w/calibre/calibre/manual/edit.rst:570
849 msgid "Splitting HTML files"
850 msgstr "分割HTML文件"
851
852 #: ../../../__w/calibre/calibre/manual/edit.rst:574
853 msgid ""
854 "One, perhaps non-obvious, use of the preview panel is to split long HTML "
855 "files. While viewing the file you want to split, click the :guilabel:`Split "
856 "mode` button under the preview panel |spmb|. Then simply move your mouse to "
857 "the place where you want to split the file and click. A thick green line "
858 "will show you exactly where the split will happen as you move your mouse. "
859 "Once you have found the location you want, simply click and the split will "
860 "be performed."
861 msgstr ""
862
863 #: ../../../__w/calibre/calibre/manual/edit.rst:572
864 msgid "spmb"
865 msgstr ""
866
867 #: ../../../__w/calibre/calibre/manual/edit.rst:581
868 msgid ""
869 "Splitting the file will automatically update all links and references that "
870 "pointed into the bottom half of the file and will open the newly split file "
871 "in an editor."
872 msgstr ""
873
874 #: ../../../__w/calibre/calibre/manual/edit.rst:585
875 msgid ""
876 "You can also split a single HTML file at multiple locations automatically, "
877 "by right clicking inside the file in the editor and choosing "
878 ":guilabel:`Split at multiple locations`. This will allow you to easily split"
879 " a large file at all heading tags or all tags having a certain class and so "
880 "on."
881 msgstr ""
882
883 #: ../../../__w/calibre/calibre/manual/edit.rst:595
884 msgid "The Live CSS panel"
885 msgstr ""
886
887 #: ../../../__w/calibre/calibre/manual/edit.rst:597
888 msgid "The Live CSS panel showing the styles for the current element"
889 msgstr ""
890
891 #: ../../../__w/calibre/calibre/manual/edit.rst:602
892 msgid ""
893 "The :guilabel:`Live CSS` panel shows you all the style rules that apply to "
894 "the tag you are currently editing. The name of tag, along with its line "
895 "number in the editor are displayed, followed by a list of matching style "
896 "rules."
897 msgstr ""
898
899 #: ../../../__w/calibre/calibre/manual/edit.rst:606
900 msgid ""
901 "It is a great way to quickly see which style rules apply to any tag. The "
902 "view also has clickable links (in blue), which take you directly to the "
903 "location where the style was defined, in case you wish to make any changes "
904 "to the style rules. Style rules that apply directly to the tag, as well as "
905 "rules that are inherited from parent tags are shown."
906 msgstr ""
907
908 #: ../../../__w/calibre/calibre/manual/edit.rst:612
909 msgid ""
910 "The panel also shows you what the finally calculated styles for the tag are."
911 " Properties in the list that are superseded by higher priority rules are "
912 "shown with a line through them."
913 msgstr ""
914
915 #: ../../../__w/calibre/calibre/manual/edit.rst:616
916 msgid "You can enable the Live CSS panel via :guilabel:`View->Live CSS`."
917 msgstr ""
918
919 #: ../../../__w/calibre/calibre/manual/edit.rst:623
920 msgid "Miscellaneous tools"
921 msgstr ""
922
923 #: ../../../__w/calibre/calibre/manual/edit.rst:625
924 msgid "There are a few more tools that can be useful while you edit the book."
925 msgstr ""
926
927 #: ../../../__w/calibre/calibre/manual/edit.rst:628
928 msgid "The Table of Contents view"
929 msgstr ""
930
931 #: ../../../__w/calibre/calibre/manual/edit.rst:630
932 msgid ""
933 "The Table of Contents view shows you the current table of contents in the "
934 "book. Double clicking on any entry opens the place that entry points to in "
935 "an editor. You can right click to edit the Table of Contents, refresh the "
936 "view or expand/collapse all items. Access this view via "
937 ":guilabel:`View->Table of Contents`."
938 msgstr ""
939
940 #: ../../../__w/calibre/calibre/manual/edit.rst:637
941 msgid "Checking the spelling of words in the book"
942 msgstr ""
943
944 #: ../../../__w/calibre/calibre/manual/edit.rst:639
945 msgid "You can run a spelling checker via :guilabel:`Tools->Check spelling`."
946 msgstr ""
947
948 #: ../../../__w/calibre/calibre/manual/edit.rst:641
949 msgid "The Check spelling tool"
950 msgstr ""
951
952 #: ../../../__w/calibre/calibre/manual/edit.rst:646
953 msgid ""
954 "Words are shown with the number of times they occur in the book and the "
955 "language the word belongs to. Language information is taken from the books "
956 "metadata and from ``lang`` attributes in the HTML files. This allows the "
957 "spell checker to work well even with books that contain text in multiple "
958 "languages. For example, in the following HTML extract, the word color will "
959 "be checked using American English and the word colour using British "
960 "English::"
961 msgstr ""
962
963 #: ../../../__w/calibre/calibre/manual/edit.rst:656
964 msgid ""
965 "You can double click a word to highlight the next occurrence of that word in"
966 " the editor. This is useful if you wish to manually edit the word, or see "
967 "what context it is in."
968 msgstr ""
969
970 #: ../../../__w/calibre/calibre/manual/edit.rst:660
971 msgid ""
972 "To change a word, simply double click one of the suggested alternative "
973 "spellings on the right, or type in your own corrected spelling and click the"
974 " :guilabel:`Change selected word to` button. This will replace all "
975 "occurrences of the word in the book. You can also right click on a word in "
976 "the main word list to change the word conveniently from the right click "
977 "menu."
978 msgstr ""
979
980 #: ../../../__w/calibre/calibre/manual/edit.rst:666
981 msgid ""
982 "You can have the spelling checker ignore a word for the current session by "
983 "clicking the :guilabel:`Ignore` button. You can also add a word to the user "
984 "dictionary by clicking the :guilabel:`Add to dictionary` button. The "
985 "spelling checker supports multiple user dictionaries, so you can select the "
986 "dictionary you want the word added to."
987 msgstr ""
988
989 #: ../../../__w/calibre/calibre/manual/edit.rst:672
990 msgid ""
991 "You can also have the spelling checker display all the words in your book, "
992 "not just the incorrectly spelled ones. This is useful to see what words are "
993 "most common in your book and to run a simple search and replace on "
994 "individual words."
995 msgstr ""
996
997 #: ../../../__w/calibre/calibre/manual/edit.rst:677
998 msgid ""
999 "If you make any changes to the book by editing files while the spell check "
1000 "tool is open, you should click the :guilabel:`Refresh` button in the Spell "
1001 "check tool. If you do not do this and continue to use the Spell check tool, "
1002 "you could lose the changes you have made in the editor."
1003 msgstr ""
1004
1005 #: ../../../__w/calibre/calibre/manual/edit.rst:683
1006 msgid ""
1007 "To exclude an individual file from being spell checked when running the "
1008 "spell check tool, you can use the :guilabel:`Exclude files` button or add "
1009 "the following comment just under the opening tag in the file::"
1010 msgstr ""
1011
1012 #: ../../../__w/calibre/calibre/manual/edit.rst:691
1013 msgid "Adding new dictionaries"
1014 msgstr ""
1015
1016 #: ../../../__w/calibre/calibre/manual/edit.rst:693
1017 msgid ""
1018 "The spelling checker comes with builtin dictionaries for the English and "
1019 "Spanish languages. You can install your own dictionaries via "
1020 ":guilabel:`Preferences->Editor->Manage spelling dictionaries`. The spell "
1021 "checker can use dictionaries from the LibreOffice program (in the .oxt "
1022 "format). You can download these dictionaries from `The LibreOffice "
1023 "Extensions repository <https://extensions.libreoffice.org/?Tags%5B%5D=50>`_."
1024 msgstr ""
1025
1026 #: ../../../__w/calibre/calibre/manual/edit.rst:702
1027 msgid "Inserting special characters"
1028 msgstr "插入特殊字符"
1029
1030 #: ../../../__w/calibre/calibre/manual/edit.rst:704
1031 msgid ""
1032 "You can insert characters that are difficult to type by using the "
1033 ":guilabel:`Edit->Insert special character` tool. This shows you all Unicode "
1034 "characters, simply click on the character you want to type. If you hold "
1035 ":kbd:`Ctrl` while clicking, the window will close itself after inserting the"
1036 " selected character. This tool can be used to insert special characters into"
1037 " the main text or into any other area of the user interface, such as the "
1038 "Search and replace tool."
1039 msgstr ""
1040
1041 #: ../../../__w/calibre/calibre/manual/edit.rst:712
1042 msgid ""
1043 "Because there are a lot of characters, you can define your own "
1044 ":guilabel:`Favorite` characters, that will be shown first. Simply right "
1045 "click on a character to mark it as favorite. You can also right click on a "
1046 "character in favorites to remove it from favorites. Finally, you can re-"
1047 "arrange the order of characters in favorites by clicking the :guilabel:`Re-"
1048 "arrange favorites` button and then drag and dropping the characters in "
1049 "favorites around."
1050 msgstr ""
1051
1052 #: ../../../__w/calibre/calibre/manual/edit.rst:719
1053 msgid ""
1054 "You can also directly type in special characters using the keyboard. To do "
1055 "this, you type the Unicode code for the character (in hexadecimal) and then "
1056 "press the :kbd:`Alt+X` key which will convert the previously typed code into"
1057 " the corresponding character. For example, to type ÿ you would type ff and "
1058 "then :kbd:`Alt+X`. To type a non-breaking space you would use a0 and then "
1059 ":kbd:`Alt+X`, to type the horizontal ellipsis you would use 2026 and "
1060 ":kbd:`Alt+X` and so on."
1061 msgstr ""
1062
1063 #: ../../../__w/calibre/calibre/manual/edit.rst:727
1064 msgid ""
1065 "Finally, you can type in special characters by using HTML named entities. "
1066 "For example, typing &nbsp; will be replaced by a non breaking space when you"
1067 " type the semi-colon. The replacement happens only when typing the semi-"
1068 "colon."
1069 msgstr ""
1070
1071 #: ../../../__w/calibre/calibre/manual/edit.rst:732
1072 msgid "The code inspector view"
1073 msgstr ""
1074
1075 #: ../../../__w/calibre/calibre/manual/edit.rst:734
1076 msgid ""
1077 "This view shows you the HTML coding and CSS that applies to the current "
1078 "element of interest. You open it by right clicking a location in the preview"
1079 " panel and choosing :guilabel:`Inspect`. It allows you to see the HTML "
1080 "coding for that element and more importantly, the CSS styles that apply to "
1081 "it. You can even dynamically edit the styles and see what effect your "
1082 "changes have instantly. Note that editing the styles does not actually make "
1083 "changes to the book contents, it only allows for quick experimentation. The "
1084 "ability to live edit inside the Inspector is under development."
1085 msgstr ""
1086
1087 #: ../../../__w/calibre/calibre/manual/edit.rst:744
1088 msgid "Checking external links"
1089 msgstr ""
1090
1091 #: ../../../__w/calibre/calibre/manual/edit.rst:746
1092 msgid ""
1093 "You can use this tool to check all links in your book that point to external"
1094 " websites. The tool will try to visit every externally linked website, and "
1095 "if the visit fails, it will report all broken links in a convenient format "
1096 "for you to fix."
1097 msgstr ""
1098
1099 #: ../../../__w/calibre/calibre/manual/edit.rst:753
1100 msgid "Downloading external resources"
1101 msgstr ""
1102
1103 #: ../../../__w/calibre/calibre/manual/edit.rst:755
1104 msgid ""
1105 "You can use this tool to automatically download any images/stylesheets/etc. "
1106 "in the book that are not bundled with the book (i.e. they have URLs pointing"
1107 " to a location on the internet). The tool will find all such resources and "
1108 "automatically download them, add them to the book and replace all references"
1109 " to them to use the downloaded files."
1110 msgstr ""
1111
1112 #: ../../../__w/calibre/calibre/manual/edit.rst:763
1113 msgid "Arranging files into folders by type"
1114 msgstr ""
1115
1116 #: ../../../__w/calibre/calibre/manual/edit.rst:765
1117 msgid ""
1118 "Often when editing EPUB files that you get from somewhere, you will find "
1119 "that the files inside the EPUB are arranged haphazardly, in different sub-"
1120 "folders. This tool allows you to automatically move all files into sub-"
1121 "folders based on their types. Access it via :guilabel:`Tools->Arrange into "
1122 "folders`. Note that this tool only changes how the files are arranged inside"
1123 " the EPUB, it does not change how they are displayed in the File browser."
1124 msgstr ""
1125
1126 #: ../../../__w/calibre/calibre/manual/edit.rst:773
1127 msgid "Importing files in other e-book formats as EPUB"
1128 msgstr ""
1129
1130 #: ../../../__w/calibre/calibre/manual/edit.rst:775
1131 msgid ""
1132 "The editor includes the ability to import files in some other e-book formats"
1133 " directly as a new EPUB, without going through a full conversion. This is "
1134 "particularly useful to directly create EPUB files from your own hand-edited "
1135 "HTML files. You can do this via :guilabel:`File->Import an HTML or DOCX file"
1136 " as a new book`."
1137 msgstr ""
1138
1139 #: ../../../__w/calibre/calibre/manual/edit.rst:788
1140 msgid "The Reports tool"
1141 msgstr ""
1142
1143 #: ../../../__w/calibre/calibre/manual/edit.rst:790
1144 msgid ""
1145 "The editor includes a nice *Reports* tool (via :guilabel:`Tools->Reports`) "
1146 "that shows summaries of the files, images, links, words, characters and "
1147 "styles used in the book. Every line in the report is hot-linked. Double "
1148 "clicking a line jumps to the place in the book where that item is used or "
1149 "defined (as appropriate). For example, in the :guilabel:`Links` view, you "
1150 "can double click entries in the :guilabel:`Source` column to jump to where "
1151 "the link is defined and entries in the :guilabel:`Target` column to jump to "
1152 "where the link points."
1153 msgstr ""
1154
1155 #: ../../../__w/calibre/calibre/manual/edit.rst:798
1156 msgid "The Reports tool with information and statistics about the book"
1157 msgstr ""
1158
1159 #: ../../../__w/calibre/calibre/manual/edit.rst:805
1160 msgid "Special features in the code editor"
1161 msgstr ""
1162
1163 #: ../../../__w/calibre/calibre/manual/edit.rst:807
1164 msgid ""
1165 "The calibre HTML editor is very powerful. It has many features that make "
1166 "editing of HTML (and CSS) easier."
1167 msgstr ""
1168
1169 #: ../../../__w/calibre/calibre/manual/edit.rst:811
1170 msgid "Syntax highlighting"
1171 msgstr "语法高亮"
1172
1173 #: ../../../__w/calibre/calibre/manual/edit.rst:813
1174 msgid ""
1175 "The HTML editor has very sophisticated syntax highlighting. Features "
1176 "include:"
1177 msgstr ""
1178
1179 #: ../../../__w/calibre/calibre/manual/edit.rst:815
1180 msgid "The text inside bold, italic and heading tags is made bold/italic"
1181 msgstr ""
1182
1183 #: ../../../__w/calibre/calibre/manual/edit.rst:816
1184 msgid ""
1185 "As you move your cursor through the HTML, the matching HTML tags are "
1186 "highlighted, and you can jump to the opening or closing tag with the "
1187 "keyboard shortcuts :kbd:`Ctrl+{` and :kbd:`Ctrl+}`. Similarly, you can "
1188 "select the contents of a tag with :kbd:`Ctrl+Alt+T` or :kbd:`Ctrl+Shift+T`."
1189 msgstr ""
1190
1191 #: ../../../__w/calibre/calibre/manual/edit.rst:821
1192 msgid "Invalid HTML is highlighted with a red underline"
1193 msgstr "已用紅線間底無效的HTML"
1194
1195 #: ../../../__w/calibre/calibre/manual/edit.rst:822
1196 msgid ""
1197 "Spelling errors in the text inside HTML tags and attributes such as title "
1198 "are highlighted. The spell checking is language aware, based on the value of"
1199 " the ``lang`` attribute of the current tag and the overall book language."
1200 msgstr ""
1201
1202 #: ../../../__w/calibre/calibre/manual/edit.rst:825
1203 msgid "CSS embedded inside ``<style>`` tags is highlighted"
1204 msgstr ""
1205
1206 #: ../../../__w/calibre/calibre/manual/edit.rst:826
1207 msgid ""
1208 "Special characters that can be hard to distinguish such as non-breaking "
1209 "spaces, different types of hyphens, etc. are highlighted."
1210 msgstr ""
1211
1212 #: ../../../__w/calibre/calibre/manual/edit.rst:828
1213 msgid ""
1214 "Links to other files in ``<a>`` tags, ``<img>`` and ``<link>`` tags all have"
1215 " the filenames highlighted. If the filename they point to does not exist, "
1216 "the filename is marked with a red underline."
1217 msgstr ""
1218
1219 #: ../../../__w/calibre/calibre/manual/edit.rst:833
1220 msgid "Context sensitive help"
1221 msgstr "上下文帮助"
1222
1223 #: ../../../__w/calibre/calibre/manual/edit.rst:835
1224 msgid ""
1225 "You can right click on an HTML tag name or a CSS property name to get help "
1226 "for that tag or property."
1227 msgstr ""
1228
1229 #: ../../../__w/calibre/calibre/manual/edit.rst:837
1230 msgid ""
1231 "You can also hold down the :kbd:`Ctrl` key and click on any filename inside "
1232 "a link tag to open that file in the editor automatically. Similarly, "
1233 ":kbd:`Ctrl` clicking a class name will take you to the first style rule that"
1234 " matches the tag and class."
1235 msgstr ""
1236
1237 #: ../../../__w/calibre/calibre/manual/edit.rst:841
1238 msgid ""
1239 "Right clicking a class name in an HTML file will allow you to rename the "
1240 "class, changing all occurrences of the class throughout the book and all its"
1241 " stylesheets."
1242 msgstr ""
1243
1244 #: ../../../__w/calibre/calibre/manual/edit.rst:848
1245 msgid "Auto-complete"
1246 msgstr "自動完成"
1247
1248 #: ../../../__w/calibre/calibre/manual/edit.rst:850
1249 msgid ""
1250 "When editing an e-book, one of the most tedious tasks is creating links to "
1251 "other files inside the book, or to CSS stylesheets, or images. You have to "
1252 "figure out the correct filename and relative path to the file. The editor "
1253 "has auto-complete to make that easier."
1254 msgstr ""
1255
1256 #: ../../../__w/calibre/calibre/manual/edit.rst:855
1257 msgid ""
1258 "As you type a filename, the editor automatically pops up suggestions. Simply"
1259 " use the :kbd:`Tab` key to select the correct file name. The editor even "
1260 "offers suggestions for links pointing to an anchor inside another HTML file."
1261 " After you type the ``#`` character, the editor will show you a list of all "
1262 "anchors in the target file, with a small snippet of text to help you choose "
1263 "the right anchor."
1264 msgstr ""
1265
1266 #: ../../../__w/calibre/calibre/manual/edit.rst:861
1267 msgid ""
1268 "Note that unlike most other completion systems, the editor's completion "
1269 "system uses subsequence matching. This means that you can type just two or "
1270 "three letters from anywhere in the filename to complete the filename. For "
1271 "example, say you want the filename ``../images/arrow1.png``, you can simply "
1272 "type ``ia1`` and press :kbd:`Tab` to complete the filename. When searching "
1273 "for matches, the completion system prioritizes letters that are at the start"
1274 " of a word, or immediately after a path separator. Once you get used to this"
1275 " system, you will find it saves you a lot of time and effort."
1276 msgstr ""
1277
1278 #: ../../../__w/calibre/calibre/manual/edit.rst:871
1279 msgid "Snippets"
1280 msgstr "片段"
1281
1282 #: ../../../__w/calibre/calibre/manual/edit.rst:873
1283 msgid ""
1284 "The calibre E-book editor supports *snippets*. A snippet is a piece of text "
1285 "that is either re-used often or contains a lot of redundant text. The editor"
1286 " allows you to insert a snippet with only a few key strokes. The snippets "
1287 "are very powerful, with many features, such as placeholders you can jump "
1288 "between, automatic mirroring of repeated text and so on. For more "
1289 "information, see :doc:`snippets`."
1290 msgstr ""