- Calibre Tag Battery Replacement
- Calibre Search Tags
- Calibre Remove Tags
- Calibre Tags
- Tag Calibre 5 Review
- Calibre Tags Delete
Calibre not only can download all the metadata for an e-book (things like title, author, publisher, ISBN, tags, cover or summary) but will also allow you to edit or create metadata in existing or new fields. That way you can track which books you’ve read and which ones you liked. TAG Heuer Men's WAZ211A.BA0875 Formula 1 Analog Display Swiss Automatic Silver Watch 3.7 out of 5 stars 24 Tag Heuer Aquaracer Carbon Collection Calibre 5 Men's Watch WBD218A.FC6445. The calibre tag browser is a versatile and powerful tool with some obvious and many obscure but extremely useful features. Today I will discuss some of these features. The figure on the left below shows the part of the main calibre window which is the “tag browser”. One of the more obscure features I willContinue reading “calibre’s tag.
Introduction¶
2 days ago Download Calibre font for PC/Mac for free, take a test-drive and see the entire character set. Moreover, you can embed it to your website with @font-face support. This image provides various versions that are available via tags. Latest tag usually provides the latest stable version. Others are considered under development and caution must be exercised when using them.
LazyLibrarian is a program to follow authors and grab metadata for all your digital reading needs.
Information¶
The current source repo is https://gitlab.com/LazyLibrarian/LazyLibrarian.git
Releases(Tags) are at https://gitlab.com/LazyLibrarian/LazyLibrarian/tags
Bug reports at https://gitlab.com/LazyLibrarian/LazyLibrarian/issues
And finally Reddit https://www.reddit.com/r/LazyLibrarian/
It uses a combination of GoodreadsLibrarything and optionally GoogleBooks as sources for author info and book info. License: GNU GPL v3
Capabilities¶
Right now it's capable of the following:
- Import an existing calibre library (optional)
- Find authors and add them to the database
- List all books of an author and mark ebooks or audiobooks as 'wanted'.
- LazyLibrarian will search for a nzb-file or a torrent or magnet link for that book
- If a nzb/torrent/magnet is found it will be sent to a download client or saved in a black hole where your download client can pick it up.
- Currently supported download clients for usenet are :
- sabnzbd (versions later than 0.7.x preferred)
- nzbget
- synology_downloadstation
- Currently supported download clients for torrent and magnets are:
- deluge
- transmission
- utorrent
- qbittorrent
- rtorrent
- synology_downloadstation
- When processing the downloaded books it will save a cover picture (if available) and save all metadata into metadata.opf next to the bookfile (calibre compatible format)
- The new theme for the site allows it to be accessed (and usable) from devices with a smaller screen (such as an iPad)
- AutoAdd feature for book management tools like Calibre which must have books in flattened directory structure, or use calibredb to import your books into an existing calibre library
- LazyLibrarian can also be used to search for and download magazines, and monitor for new issues
- Offers opds interface for ebook clients to browse and download books.
Screenshots¶
calibre has an integrated e-book editor that can be used to edit books in theEPUB and AZW3 (Kindle) formats. The editor shows you the HTML and CSS that isused internally inside the book files, with a live preview that updates as youmake changes. It also contains various automated tools to perform commoncleanup and fixing tasks.
You can use this editor by right clicking on any book in calibre and selectingEdit book.
Contents
Note
A video tour of the calibre E-book editor is available here.
When you first open a book with the Edit book tool, you will be presented witha list of files on the left. These are the individual HTML files, stylesheets,images, etc. that make up the content of the book. Simply double click on afile to start editing it. Note that if you want to do anything moresophisticated than making a few small tweaks, you will need to know HTMLTutorial and CSS Tutorial.
As you make changes to the HTML or CSS in the editor, the changes will bepreviewed, live, in the preview panel to the right. When you are happy with howthe changes you have made look, click the Save button or useFile → Save to save your changes into the e-book.
One useful feature is Checkpoints. Before you embark on someambitious set of edits, you can create a checkpoint. The checkpointwill preserve the current state of your book, then if in the future you decideyou don’t like the changes you have made to you can go back to the state whenyou created the checkpoint. To create a checkpoint, use Edit → Createcheckpoint. Checkpoints will also be automatically created for you whenever yourun any automated tool like global search and replace. The checkpointingfunctionality is in addition to the normal undo/redo mechanism when editingindividual files. Checkpoints are useful for when changes are spread overmultiple files in the book.
That is the basic work flow for editing books – Open a file, make changes,preview and save. The rest of this manual will discuss the various tools andfeatures present to allow you to perform specific tasks efficiently.
The File browser gives you an overview of the various files insidethe book you are editing. The files are arranged by category, with text (HTML)files at the top, followed by stylesheet (CSS) files, images and so on. Simplydouble click on a file to start editing it. Editing is supported for HTML, CSSand image files. The order of text files is the same order that they would bedisplayed in, if you were reading the book. All other files are arrangedalphabetically.
By hovering your mouse over an entry, you can see its size, and also, atthe bottom of the screen, the full path to the file inside the book. Note thatfiles inside e-books are compressed, so the size of the final book is not thesum of the individual file sizes.
Many files have special meaning, in the book. These will typically havean icon next to their names, indicating the special meaning. For example, inthe picture to the left, you can see that the files cover_image.jpgand titlepage.xhtml have the icon of a cover next to them, thisindicates they are the book cover image and titlepage. Similarly, thecontent.opf file has a metadata icon next to it, indicating thebook metadata is present in it and the toc.ncx file has a Ticon next to it, indicating it is the Table of Contents.
You can perform many actions on individual files, by right clicking them.
You can rename an individual file by right clicking it and selectingRename. Renaming a file automatically updates all links andreferences to it throughout the book. So all you have to do is provide the newname, calibre will take care of the rest.
You can also bulk rename many files at once. This is usefulif you want the files to have some simple name pattern. For example you mightwant to rename all the HTML files to have names Chapter-1.html, Chapter-2.htmland so on. Select the files you want bulk renamed by holding down the Shift orCtrl key and clicking the files. Then right click and select Bulkrename. Enter a prefix and what number you would like the automatic numberingto start at, click OK and you are done. The bulk rename dialog also lets yourename files by the order they appear in the book instead of the order youselected them in, useful, for instance to rename all images by the orderthey appear.
Finally, you can bulk change the file extension for all selected files. Selectmultiple files, as above, and right click and choose Change the fileextension for the selected files.
Sometimes, you may want to merge two HTML files or two CSS files together. Itcan sometimes be useful to have everything in a single file. Be wary, though,putting a lot of content into a single file will cause performance problemswhen viewing the book in a typical e-book reader.
To merge multiple files together, select them by holding the Ctrl key andclicking on them (make sure you only select files of one type, either all HTMLfiles or all CSS files and so on). Then right click and select merge. That’sall, calibre will merge the files, automatically taking care of migrating alllinks and references to the merged files. Note that merging files can sometimescause text styling to change, since the individual files could have useddifferent stylesheets.
You can re-arrange the order in which text (HTML) files are opened when readingthe book by simply dragging and dropping them in the Files browser. For thetechnically inclined, this is called re-ordering the book spine. Note that youhave to drop the items between other items, not on top of them, this can be alittle fiddly until you get used to it.
E-books typically have a cover image. This image is indicated in theFile browser by the icon of a brown book next to the image name. Ifyou want to designate some other image as the cover, you can do so by rightclicking on the file and choosing Mark as cover.
In addition, EPUB files has the concept of a titlepage. A title page is aHTML file that acts as the title page/cover for the book. You can mark an HTMLfile as the titlepage when editing EPUBs by right-clicking. Be careful that thefile you mark contains only the cover information. If it contains othercontent, such as the first chapter, then that content will be lost if the userever converts the EPUB file in calibre to another format. This is because whenconverting, calibre assumes that the marked title page contains only the coverand no other content.
You can delete files by either right clicking on them or by selecting them andpressing the Delete key. Deleting a file removes all references to the filefrom the OPF file, saving you that chore. However, references in other placesare not removed, you can use the Check Book tool to easily find andremove/replace them.
You can export a file from inside the book to somewhere else on your computer.This is useful if you want to work on the file in isolation, with specialisedtools. To do this, simply right click on the file and chooseExport.
Once you are done working on the exported file, you can re-import it into thebook, by right clicking on the file again and choosing Replace withfile… which will allow you to replace the file in the book withthe previously exported file.
Calibre Tag Battery Replacement
You can also copy files between multiple editor instances. Selectthe files you want to copy in the File browser, then right clickand choose, Copy selected files to another editor instance. Then,in the other editor instance, right click in the File browserand choose Paste file from other editor instance.
You can add a new image, font, stylesheet, etc. from your computer into thebook by clicking File → New file. This lets you either import a fileby clicking the Import resource file button or create a new blank HTML fileor stylesheet by simply entering the file name into the box for the new file.
You can also import multiple files into the book at once using File->Importfiles into book.
You can easily replace existing files in the book, by right clicking on thefile and choosing replace. This will automatically update all links andreferences, in case the replacement file has a different name than the filebeing replaced.
As a convenience, you can select multiple HTML files in the File browser,right click and choose Link stylesheets to have calibre automatically insert the<link> tags for those stylesheets into all the selected HTML files.
Edit book has a very powerful search and replace interface that allows you tosearch and replace text in the current file, across all files and even in amarked region of the current file. You can search using a normal search orusing regular expressions. To learn how to use regular expressions for advancedsearching, see All about using regular expressions in calibre.
Start the search and replace via the Search → Find/replace menuentry (you must be editing an HTML or CSS file).
Type the text you want to find into the Find box and its replacement into theReplace box. You can the click the appropriate buttons to Find the next match,replace the current match and replace all matches.
Using the drop downs at the bottom of the box, you can have the search operateover the current file, all text files, all style files or all files. You canalso choose the search mode to be a normal (string) search or a regularexpression search.
You can count all the matches for a search expression viaSearch → Count all. The count will run over whatever files/regionsyou have selected in the dropdown box.
You can also go to a specific line in the currently open editor viaSearch → Go to line.
Note
Remember, to harness the full power of search and replace, you willneed to use regular expressions. See All about using regular expressions in calibre.
You can save frequently used search/replace expressions (including functionmode expressions) and reuse them multiple times. To save a search simply rightclick in the Find box and select Save current search.
You can bring up the saved searches via Search → Savedsearches. This will present you with a list of search and replace expressionsthat you can apply. You can even select multiple entries in the list by holdingdown the Ctrl key while clicking so as to run multiple search and replaceexpressions in a single operation.
Function mode allows you to write arbitrarily powerful Python functions thatare run on every Find/replace. You can do pretty much any text manipulation youlike in function mode. For more information, see Function mode for Search & replace in the Editor.
There is also a dedicated tool for searching for text, ignoring any HTML tagsin between. For example, if the book has the HTML Empahisisona<i>word</i>.
you can search for onaword
and it will be found eventhough there is an <i>
tag in the middle. Use thistool via the Search → Search ignoring HTML markup menu item.
Edit book has various tools to help with common tasks. These areaccessed via the Tools menu.
There is a dedicated tool to ease editing of the Table of Contents. Launch itwith Tools → Table of Contents → Edit Table of Contents.
The Edit Table of Contents tool shows you the current Table of Contents (ifany) on the left. Simply double click on any entry to change its text. You canalso re-arrange entries by drag and drop or by using the buttons to the right.
For books that do not have a pre-existing Table of Contents, the tool gives youvarious options to auto-generate a Table of Contents from the text. You cangenerate from the headings in the document, from links, from individual filesand so on.
You can edit individual entries by clicking on them and then clicking theChange the location this entry points to button. This will open upa mini-preview of the book, simply move the mouse cursor over the book viewpanel, and click where you want the entry to point to. A thick green linewill show you the location. Click OK once you are happy with the location.
The Check book tool searches your book for problems that couldprevent it working as intended on actual reader devices. Activate it viaTools → Check book.
Any problems found arereported in a nice, easy to use list. Clicking any entry in the list shows yousome help about that error as well as giving you the option to auto-fix thaterror, if the error can be fixed automatically. You can also double click theerror to open the location of the error in an editor, so you can fix ityourself.
Some of the checks performed are:
Malformed HTML markup. Any HTML markup that does not parse as well-formedXML is reported. Correcting it will ensure that your markup works asintended in all contexts. calibre can also auto-fix these errors, butauto-fixing can sometimes have unexpected effects, so use with care. Asalways, a checkpoint is created before auto-fixing so you can easilyrevert all changes. Auto-fixing works by parsing the markup using theHTML5 algorithm, which is highly fault tolerant and then converting towell formed XML.
Malformed or unknown CSS styles. Any CSS that is not valid or that hasproperties not defined in the CSS 2.1 standard (plus a few from CSS 3)are reported. CSS is checked in all stylesheets, inline style attributesand <style> tags in HTML files.
Broken links. Links that point to files inside the book that are missingare reported.
Unreferenced files. Files in the book that are not referenced by anyother file or are not in the spine are reported.
Various common problems in OPF files such as duplicate spine or manifestitems, broken idrefs or meta cover tags, missing required sections andso on.
Various compatibility checks for known problems that can cause the bookto malfunction on reader devices.
You can easily add a cover to the book via Tools → Add cover. Thisallows you to either choose an existing image in the book as the cover orimport a new image into the book and make it the cover. When editing EPUBfiles, the HTML wrapper for the cover is automatically generated. If anexisting cover in the book is found, it is replaced. The tool alsoautomatically takes care of correctly marking the cover files as covers in theOPF.
Accessed via Tools → Embed reference fonts, this tool finds allfonts referenced in the book and if they are not already embedded, searchesyour computer for them and embeds them into the book, if found. Please makesure that you have the necessary copyrights for embedding commercially licensedfonts, before doing this.
Accessed via Tools → Subset embedded fonts, this tool reduces allthe fonts in the book to only contain glyphs for the text actually present inthe book. This commonly reduces the size of the font files by ~ 50%. However,be aware that once the fonts are subset, if you add new text whose charactersare not previously present in the subset font, the font will not work for thenew text. So do this only as the last step in your workflow.
Convert plain text dashes, ellipsis, quotes, multiple hyphens, etc. into theirtypographically correct equivalents.Note that the algorithm can sometimes generate incorrect results, especiallywhen single quotes at the start of contractions are involved. Accessed viaTools → Smarten punctuation.
Create rules to transform the styling of the book. For example, create a ruleto convert all red text to green or to double the font size of all text in thebook or make text of a certain font family italic, etc.
Creating the rules is simple, the rules follow a natural language format, thatlooks like:
If the property color is redchange it to green
If the property font-size is any valuemultiply the value by 2
Accessed via Tools → Transform styles.
Remove all unused CSS rules from stylesheets and <style> tags. Some bookscreated from production templates can have a large number of extra CSS rulesthat don’t match any actual content. These extra rules can slow down readersthat need to process them all. Accessed via Tools → Remove unused CSS.
This tool simply converts HTML that cannot be parsed as XML into well-formedXML. It is very common in e-books to have non-well-formed XML, so this toolsimply automates the process of fixing such HTML. The tool works by parsing theHTML using the HTML5 algorithm (the algorithm used in all modern browsers) andthen converting the result into XML. Be aware that auto-fixing can sometimeshave counter-intuitive results. If you prefer, you can use the Check Book tooldiscussed above to find and manually correct problems in the HTML. Accessed viaTools → Fix HTML.
This tool is used to auto-format all HTML and CSS files so that they “lookpretty”. The code is auto-indented so that it lines up nicely, blank lines areinserted where appropriate and so on. Note that beautifying also auto-fixesbroken HTML/CSS. Therefore, if you don’t want any auto-fixing to be performed,first use the Check Book tool to correct all problems and only then runbeautify. Accessed via Tools → Beautify all files.
Note
In HTML any text can have significant whitespace, via the CSS white-spacedirective. Therefore, beautification could potentially change the renderingof the HTML. To avoid this as far as possible, the beautify algorithmonly beautifies block level tags that contain other block level tags. So,for example, text inside a <p> tag will not have its whitespace changed.But a <body> tag that contains only other <p> and <div> tags will bebeautified. This can sometimes mean that a particular file will not beaffected by beautify as it has no suitable block level tags. In suchcases you can try different beautification tools, that are less careful,for example: HTML Tidy.
Normally in e-books, the Table of Contents is separate from the main text and istypically accessed via a special Table of Contents button/menu in the e-bookreading device. You can also have calibre automatically generate an inlineTable of Contents that becomes part of the text of the book. It isgenerated based on the currently defined Table of Contents.
If you use this tool multiple times, each invocation will cause the previouslycreated inline Table of Contents to be replaced. The tool can be accessed viaTools → Table of Contents → Insert inline Table of Contents.
This tool is used to set semantics in EPUB files. Semantics are simply,links in the OPF file that identify certain locations in the book as havingspecial meaning. You can use them to identify the foreword, dedication, cover,table of contents, etc. Simply choose the type of semantic information you wantto specify and then select the location in the book the link should point to.This tool can be accessed via Tools → Set semantics.
This tool can be used to easily remove specified CSS style properties from theentire book. You can tell it what properties you want removed, for example,color,background-color,line-height
and it will remove them fromeverywhere they occur — stylesheets, <style>
tags and inline style
attributes. After removing the style information, a summary of all the changesmade is displayed so you can see exactly what was changed. The tool can beaccessed via Tools → Filter style information.
This tool can be used to upgrade the book’s internals, if possible. Forinstance it will upgrade EPUB 2 books to EPUB 3 books. The tool can beaccessed via Upgrade book internals.
Checkpoints are a way to mark the current state of the book as “special”. Youcan then go on to do whatever changes you want to the book and if you don’t likethe results, return to the checkpointed state. Checkpoints are automaticallycreated every time you run any of the automated tools described in theprevious section.
You can create a checkpoint via Edit → Create checkpoint. And go backto a previous checkpoint with Edit → Revert to …
The check pointing functionality is in addition to the normal Undo/redomechanism when editing individual files. Checkpoints are particularly usefulfor when changes are spread over multiple files in the book or when you wish tobe able to revert a large group of related changes as a whole.
You can see a list of available checkpoints via View → Checkpoints.You can compare the current state of the book to a specified checkpointusing the Comparing e-books tool – by selecting the checkpoint of interest and clickingthe Compare button. The Revert to button restores thebook to the selected checkpoint, undoing all changes since that checkpoint wascreated.
The File preview gives you an overview of the various files insideThe live preview panel shows you the changes you are making live (with a secondor two of delay). As you edit HTML or CSS files, the preview panel is updatedautomatically to reflect your changes. As you move the cursor around in theeditor, the preview panel will track its location, showing you thecorresponding location in the book. Clicking in the preview panel, will causethe cursor in the editor to be positioned over the element you clicked. If youclick a link pointing to another file in the book, that file will be opened inthe edit and the preview panel, automatically.
You can turn off the automatic syncing of position and live preview of changes– by buttons under the preview panel. The live update of the previewpanel only happens when you are not actively typing in the editor, so as not tobe distracting or slow you down, waiting for the preview to render.
The preview panel shows you how the text will look when viewed. However, thepreview panel is not a substitute for actually testing your book an actualreader device. It is both more, and less capable than an actual reader. It willtolerate errors and sloppy markup much better than most reader devices. It willalso not show you page margins, page breaks and embedded fonts that use fontname aliasing. Use the preview panel while you are working on the book, butonce you are done, review it in an actual reader device or software emulator.
Calibre Search Tags
Note
The preview panel does not support embedded fonts if the name of the fontinside the font file does not match the name in the CSS @font-face rule.You can use the Check Book tool to quickly find and fix any suchproblem fonts.
One, perhaps non-obvious, use of the preview panel is to split long HTML files.While viewing the file you want to split, click the Split modebutton under the preview panel . Then simply move your mouse to the placewhere you want to split the file and click. A thick green line will show youexactly where the split will happen as you move your mouse. Once you have foundthe location you want, simply click and the split will be performed.
Splitting the file will automatically update all links and references thatpointed into the bottom half of the file and will open the newly split file inan editor.
You can also split a single HTML file at multiple locations automatically, byright clicking inside the file in the editor and choosing Split atmultiple locations. This will allow you to easily split a large file at allheading tags or all tags having a certain class and so on.
The Live CSS panel shows you all the style rules that apply to thetag you are currently editing. The name of tag, along with its line number inthe editor are displayed, followed by a list of matching style rules.
It is a great way to quickly see which style rules apply to any tag. The viewalso has clickable links (in blue), which take you directly to the locationwhere the style was defined, in case you wish to make any changes to the stylerules. Style rules that apply directly to the tag, as well as rules that areinherited from parent tags are shown.
The panel also shows you what the finally calculated styles for the tag are.Properties in the list that are superseded by higher priority rules are shownwith a line through them.
You can enable the Live CSS panel via View → Live CSS.
There are a few more tools that can be useful while you edit the book.
The Table of Contents view shows you the current table of contents in the book.Double clicking on any entry opens the place that entry points to in an editor.You can right click to edit the Table of Contents, refresh the view orexpand/collapse all items. Access this view via View → Table ofContents.
You can run a spelling checker via Tools → Check spelling.
Words are shown with the number of times they occur in the book and thelanguage the word belongs to. Language information is taken from the booksmetadata and from lang
attributes in the HTML files. This allows the spellchecker to work well even with books that contain text in multiple languages.For example, in the following HTML extract, the word color will be checkedusing American English and the word colour using British English:
Note
You can double click a word to highlight the next occurrence of that wordin the editor. This is useful if you wish to manually edit the word, or seewhat context it is in.
To change a word, simply double click one of the suggested alternativespellings on the right, or type in your own corrected spelling and click theChange selected word to button. This will replace all occurrencesof the word in the book. You can also right click on a word in the main wordlist to change the word conveniently from the right click menu.
You can have the spelling checker ignore a word for the current session byclicking the Ignore button. You can also add a word to the userdictionary by clicking the Add to dictionary button. The spellingchecker supports multiple user dictionaries, so you can select the dictionaryyou want the word added to.
You can also have the spelling checker display all the words in your book, notjust the incorrectly spelled ones. This is useful to see what words are mostcommon in your book and to run a simple search and replace on individual words.
Note
If you make any changes to the book by editing files while the spell checktool is open, you should click the Refresh button in the Spellcheck tool. If you do not do this and continue to use the Spell check tool,you could lose the changes you have made in the editor.
Adding new dictionaries¶
Calibre Remove Tags
The spelling checker comes with builtin dictionaries for the English andSpanish languages. You can install your own dictionaries viaPreferences → Editor → Manage spelling dictionaries. The spellchecker can use dictionaries from the LibreOffice program (in the .oxtformat). You can download these dictionaries fromThe LibreOffice Extensions repository.
You can insert characters that are difficult to type by using theEdit → Insert special character tool. This shows you all Unicodecharacters, simply click on the character you want to type. If you hold Ctrlwhile clicking, the window will close itself after inserting the selectedcharacter. This tool can be used to insert special characters into the maintext or into any other area of the user interface, such as the Search andreplace tool.
Because there are a lot of characters, you can define your own Favoritecharacters, that will be shown first. Simply right click on a character to markit as favorite. You can also right click on a character in favorites to removeit from favorites. Finally, you can re-arrange the order of characters infavorites by clicking the Re-arrange favorites button and then dragand dropping the characters in favorites around.
You can also directly type in special characters using the keyboard. To dothis, you type the Unicode code for the character (in hexadecimal) and thenpress the Alt+X key which will convert the previously typed codeinto the corresponding character. For example, to type ÿ you would type ff andthen Alt+X. To type a non-breaking space you would use a0 and thenAlt+X, to type the horizontal ellipsis you would use 2026 andAlt+X and so on.
Finally, you can type in special characters by using HTML named entities. Forexample, typing will be replaced by a non breaking space when you type thesemi-colon. The replacement happens only when typing the semi-colon.
This view shows you the HTML coding and CSS that applies to the current elementof interest. You open it by right clicking a location in the preview panel andchoosing Inspect. It allows you to see the HTML coding for thatelement and more importantly, the CSS styles that apply to it. You can evendynamically edit the styles and see what effect your changes have instantly.Note that editing the styles does not actually make changes to the bookcontents, it only allows for quick experimentation. The ability to live editinside the Inspector is under development.
Calibre Tags
You can use this tool to check all links in your book that point to externalwebsites. The tool will try to visit every externally linked website, andif the visit fails, it will report all broken links in a convenient format foryou to fix.
You can use this tool to automatically download any images/stylesheets/etc. inthe book that are not bundled with the book (i.e. they have URLs pointing to alocation on the internet). The tool will find all such resources andautomatically download them, add them to the book and replace all references tothem to use the downloaded files.
Often when editing EPUB files that you get from somewhere, you will find thatthe files inside the EPUB are arranged haphazardly, in different sub-folders.This tool allows you to automatically move all files into sub-folders based ontheir types. Access it via Tools → Arrange into folders. Note thatthis tool only changes how the files are arranged inside the EPUB, it does notchange how they are displayed in the File browser.
The editor includes the ability to import files in some other e-book formatsdirectly as a new EPUB, without going through a full conversion. This isparticularly useful to directly create EPUB files from your own hand-editedHTML files. You can do this via File → Import an HTML or DOCX file asa new book.
The editor includes a nice Reports tool (via Tools → Reports) thatshows summaries of the files, images, links, words, characters and styles usedin the book. Every line in the report is hot-linked. Double clicking a linejumps to the place in the book where that item is used or defined (asappropriate). For example, in the Links view, you can double clickentries the Source column to jump to where the link is defined andentries in the Target column to jump to where the link points.
The calibre HTML editor is very powerful. It has many features that makeediting of HTML (and CSS) easier.
The HTML editor has very sophisticated syntax highlighting. Features include:
Tag Calibre 5 Review
The text inside bold, italic and heading tags is made bold/italic
As you move your cursor through the HTML, the matching HTML tags arehighlighted, and you can jump to the opening or closing tag with thekeyboard shortcuts Ctrl+{ and Ctrl+}. Similarly, youcan select the contents of a tag with Ctrl+Alt+T.
Invalid HTML is highlighted with a red underline
Spelling errors in the text inside HTML tags and attributes such as titleare highlighted. The spell checking is language aware, based on the valueof the
lang
attribute of the current tag and the overall book language.CSS embedded inside
<style>
tags is highlightedSpecial characters that can be hard to distinguish such as non-breakingspaces, different types of hyphens, etc. are highlighted.
Links to other files in
<a>
tags,<img>
and<link>
tags allhave the filenames highlighted. If the filename they point to does notexist, the filename is marked with a red underline.
You can right click on an HTML tag name or a CSS property name to get help for that tag or property.
Calibre Tags Delete
You can also hold down the Ctrl key and click on any filename inside a link tagto open that file in the editor automatically. Similarly, Ctrl clickinga class name will take you to the first style rule that matches the tag and class.
Right clicking a class name in an HTML file will allow you to rename the class,changing all occurrences of the class throughout the book and all itsstylesheets.
When editing an e-book, one of the most tedious tasks is creating links to otherfiles inside the book, or to CSS stylesheets, or images. You have to figure outthe correct filename and relative path to the file. The editor hasauto-complete to make that easier.
As you type a filename, the editor automatically pops up suggestions. Simplyuse the Tab key to select the correct file name. The editor even offerssuggestions for links pointing to an anchor inside another HTML file. After youtype the #
character, the editor will show you a list of all anchors in thetarget file, with a small snippet of text to help you choose the right anchor.
Note that unlike most other completion systems, the editor’s completion systemuses subsequence matching. This means that you can type just two or threeletters from anywhere in the filename to complete the filename. For example,say you want the filename ../images/arrow1.png
, you can simply type ia1
and press Tab to complete the filename. When searching for matches, thecompletion system prioritizes letters that are at the start of a word, orimmediately after a path separator. Once you get used to this system, you willfind it saves you a lot of time and effort.
The calibre E-book editor supports snippets. A snippet is apiece of text that is either re-used often or contains a lot of redundanttext. The editor allows you to insert a snippet with only a few key strokes.The snippets are very powerful, with many features, such as placeholders youcan jump between, automatic mirroring of repeated text and so on.For more information, see Snippets.