You can view any of the books in your calibre library by selecting the book andpressing the View button. This will open up the book in the E-bookviewer. You can also launch the E-book viewer by itself from the Start menu inWindows. On macOS, you can pin it to the dock and launch it from there. OnLinux you can use its launcher in the desktop menus or run the commandebook-viewer.
When you are in the middle of a book and close the E-book viewer, it will rememberwhere you stopped reading and return there the next time you open the book. Youcan also set bookmarks in the book by using the Bookmarks button inthe E-book viewer controls or pressing Ctrl+B. When viewing EPUB format books,these bookmarks are actually saved in the EPUB file itself. You can addbookmarks, then send the file to a friend. When they open the file, they willbe able to see your bookmarks. You can turn off this behavior in theMiscellaneous section of the viewer preferences.
If you click on links inside the e-book to take you to different parts of thebook, such as an endnote, you can use the Back andForward buttons in the top left corner of the viewer controls.These buttons behave just like those in a web browser.
calibre also has a very handy Reference mode. You can turn it onby clicking the Reference mode button in the viewer controls. Onceyou do this, every paragraph will have a unique number displayed at the start,made up of the section and paragraph numbers.
When you select text in the viewer, a little popup bar appears next to theselection. You can click the highlight button in that bar to create ahighlight. You can add notes and change the color of the highlight. On a touchscreen, long tap a word to select it and show the popup bar. Once in highlightmode you can change what text is selected, using touch screen friendly selectionhandles. Drag the handles to the top or bottom margins to scroll while selecting.You can also Shift+click or right click to extend the selection,particularly useful for multi-page selections.
The viewer can read book text aloud. To use it you can simply click theRead aloud button in the viewer controls to start reading book textaloud. The word being currently read is highlighted. Speech is synthesized fromthe text using your operating system services for text-to-speech. You canchange the voice being used by clicking the gear icon in the bar that isdisplayed while Read aloud is active.
Support for text-to-speech in browsers is very incomplete andbug-ridden so how well Read aloud will work in the in-browserviewer is dependent on how well the underlying browser supportstext-to-speech. In particular, highlighting of current word does not work,and changing speed or voice will cause reading to start again from thebeginning.
The viewer has very powerful search capabilities. Press the Ctrl+F keyor access the viewer controls and click search. The simplest form of searching isto just search for whatever text you enter in the text box. The different formsof searching are chosen by the search mode box below the search input.Available modes are:
Nearby words - Searches for whole words that are near each other. So for example,the search calibre cool will match places where the words calibreand cool occur within sixty characters of each other. To change thenumber of characters add the new number to the end of the list of words. Forinstance, calibre cool awesome 120 will match places where the threewords occur within 120 characters of each other. Note that punctuation andaccents are not ignored for these searches.
The E-book viewer has a Hints mode that allows you to click linksin the text without using the mouse. Press the Alt+F key and all linksin the current screen will be highlighted with a number or letter over them.Press the letter on your keyboard to click the link. Pressing the Esckey will abort the Hints mode without selecting any link.
Some books have very wide content that cannot be broken up at page boundaries.For example tables or tags. In such cases, you should switch theviewer to flow mode by pressing Ctrl+M to read this content.Alternately, you can also add the following CSS to the Styles section of theviewer preferences to force the viewer to break up lines of text in tags:
The calibre viewer will set the is-calibre-viewer class on the rootelement. So you can write CSS rules that apply only for it. Additionally,the viewer will set the following classes on the body element:
Finally, you can use the calibre color scheme colors via CSS variables.The calibre viewer defines the following variables:--calibre-viewer-background-color, --calibre-viewer-foreground-colorand optionally --calibre-viewer-link-color in color themes that definea link color.
In order to get dark background and light font in the Ebook viewer, just open an ebook with it (with the viewer, not with Calibre itself; or, from Calibre main, select the book and press "View" (Read books) button); then, right-click, then Preferences. Or alternatively open the book and right-click anywhere in it and click Preferences.
The newer version of calibre 4.16 has an option in Preferences -> Colors called "override book colors" which could be used to enforce consistent colors in dark mode: Here is a snapshot.Click OK and you are all set.
After looking around for a bit - I've discovered that the newest version of calibre switched from the regular releases (which on Arch stopped at version 1.40) to beta releases (Arch package version 1.204.1-2).
It seems the official Arch package is now the beta of calibre.
I suspect the problem is with qt5-webkit (that I guess is what is rendering the book.)
This must be a **new** dependency as I don't have a version installed before August 3rd when calibre was upgraded.
I've tried changing fonts (both Serfi and Sans Serif) and sizes but it's the same for any font I choose at any size.
Since 1.40 uses pyqt4 and calibre now won't work with that, then perhaps its a problem on my system with the mix of qt4 and qt5.
Maybe I'm missing some vital qt5 library?
I am using Calibre 2.49 on an Ubuntu machine and I noticed that in eBook viewer preferences, whatever font I set, calibre just displays the default font. I tried this on many ePub books. Here is a screenshot of my preferences dialog:
As good as calibre is (thank you Kovid Goyal), which is a great and wonderful ebook suite of tools and a fair database, it does have its limitations. One of which, is how it deals with multiple libraries, another is the views you get. CalibBrowser will seek to address those.
What CalibBrowser is not going to be, is an editor for existing calibre libraries. That will be left up to calibre, which is very much needed still, and covers many aspects I will never look at. Unlike calibre, which is quite a complex program, CalibBrowser also seeks to be simple. It is mainly a viewer, at this point, but will later be able to create its own libraries. However, it does not and will not export them to calibre, especially as calibre employs a far different method and structure to what CalibBrowser will employ.
When CalibBrowser starts, it looks for calibre executables and the main Calibre Library. Whatever isn't found, you get prompted for with a browse option.
A calibre library, is a set of ebook folders (Author\Ebooks) and a database file, always named metadata.db, and which causes an issue when it comes to multiple libraries, but makes life a bit easier when reconstructing any corrupted libraries. However, there are better ways to deal with that, as my program will show.
As you can see the program is usable, and all the buttons, aside from the Program Information one, work. You can even load different calibre libraries, and even reload after making changes to one with calibre. The calibre program does not need to be running, even to view an ebook in the Calibre Reader. The combo selector for a library and the ADD button are only temporarily placed where they are, until I expand the GUI.
If you want to have a play with the program as is, then you will need to also get the 'sqlite3.dll' file from some online source. When CalibBrowser starts successfully with the selected calibre library, it copies its metadata.db file to a sub-folder of the program called 'Backups'. It also creates a sub-folder in that, based on the library name, to house it. That copied file, is the one the program uses, though it does not even edit that, and file modification is checked every time the program starts with a particular library, or when you Reload or select a library. If the original source file has been modified, then the program copy is overwritten. The Reload Database button does nothing, if there is no change detected, and reports such.
Also required of course, is an install of calibre, plus some ebooks in a created library - Calibre Library is the default when you first add ebooks to calibre. The Mobile Read Forums, is a great source for all things ebook, and calibre can be found there in the E-Book Software section.
WARNING - If you decide to modify my code for your own method or approach, then I advise strongly, that you don't work directly with an original calibre metadata.db file, but instead use a copied version. As I and others have found out, calibre does not like to share. As I discovered, if calibre is running, and accessing a library, that you also start accessing, then if you close calibre before your program, calibre will report a violation error and crash ... even if it is set to minimize to the System Tray. Even worse, if your program is already accessing a library, and you start calibre, and it is set to use that library, you will get a message from calibre, saying the library is corrupt, and it only gives you two options (very remiss of Mr. Goyal ), neither of which are acceptable in the circumstance. (1) Have calibre recreate the library based on existing files, or (2) Create a new empty library. It happened to me, even though all my program was doing was reading the library. To avoid the two options, as I had a very large library, and I did not wish to risk what either of those options might do, I just killed calibre with the Task Manager, closed my program and started calibre again ... and as I suspected, no complaints about a corrupt library, and everything works fine. I had thought to create a backup with my program anyway, but it wasn't needed.
df19127ead