42
calibre User Manual, Release 2.56.0
The Files Browser gives youan overview of the various files inside the 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. Simply double click
on a file to start editing it. Editing is supported for HTML, CSS and image files. The order of text files is the same
orderthat they would be displayed in, ifyou were reading the book. All other files are arranged alphabetically.
By hovering your mouse over an entry, you can see its size, and also, at the bottom of the screen, the full path to the
file inside the book. Note that files inside ebooks are compressed, so the size of the final book is not the sum of the
individual file sizes.
Many files have special meaning, in the book. These will typically have an icon next to their names, indicating the
special meaning. For example,in the picture to the left,you can see that the files cover_image.jpg and titlepage.xhtml
have the icon of a cover next to them, this indicates they are the book cover image and titlepage. Similarly, the
content.opf file has a metadata icon next to it, indicating the book metadata is present in it and the the toc.ncx file has
aT icon next to it, indicating it is the Table ofContents.
You canperform many actions on individual files,by right clicking them.
Renaming files
You can rename an individual file by rightclickingit and selecting Rename. Renaminga file automatically updates all
links andreferences to it throughout the book. So all youhave to dois provide the new name, calibre will take care of
the rest.
You can also bulk rename many files at once. This is useful if you want the files to have some simple name pattern.
For example you might want to rename all the HTML files to have names Chapter-1.html, Chapter-2.html and so on.
Select the files you want bulk renamed by holding down the Shift or Ctrl key and clicking the files. Then right click
andselect Bulk rename. Entera prefix and what numberyou would like the automatic numbering to start at, click OK
and you are done.
Merging files
Sometimes, you may want to merge two HTML files or two CSS files together. It can 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 problems
when viewing the book in a typical ebook reader.
To merge multiple files together,select them by holding the Ctrl key and clicking on them (make sure you only select
files of one type, either all HTML files or all CSS files and so on). Then right click and select merge. That’s all,
calibre will merge the files, automatically taking care of migrating all links and references to the merged files. Note
that merging files can sometimes cause text styling to change, since the individual files could have used different
stylesheets.
Changing text file order
You can re-arrange the order in which text (HTML) files are opened when reading the book by simply dragging and
dropping them in the Files browser. For the technically inclined, this is called re-ordering the book spine. Note that
you have to drop the items between other items, not on top of them, this can be a little fiddly until you get used to it.
Marking the cover
E-books typically have a cover image. This image is indicated in the Files Browser by the icon of a brown book next
to the image name. Ifyouwant to designate some otherimage as the cover,youcan do so byright clicking on the file
and choosing Mark as cover.
74
Chapter 1. Sections