Visualizador de livros digitais

O Calibre inclui um visualizador de ebook incorporado que pode exibir os principais formatos de ebook. O visualizador de livros eletrónicos é altamente personalizável e possui vários recursos avançados.

Iniciar o visualizador de livros

You can view any of the books in your calibre library by selecting the book and pressing the View button. This will open up the book in the E-book viewer. You can also launch the E-book viewer by itself from the Start menu in Windows. On macOS, you can pin it to the dock and launch it from there. On Linux you can use its launcher in the desktop menus or run the command ebook-viewer.

Realce de texto

When you select text in the viewer, a little popup bar appears next to the selection. You can click the highlight button in that bar to create a highlight. You can add notes and change the color of the highlight. On a touch screen, long tap a word to select it and show the popup bar. Once in highlight mode you can change what text is selected, using touch screen friendly selection handles. 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.

You can use the Highlights button in the viewer controls to show a separate panel with a list of all highlights in the book, sorted by chapter.

You can browse all highlights in your entire calibre library by right clicking the View button and choosing Browse annotations.

Finally, if you use the calibre Content server’s in browser viewer, you can have the viewer sync its annotations with the browser viewer by going to Preferences → Miscellaneous in the viewer preferences and entering the username of the Content server viewer to sync with. Use the special value * to sync with anonymous users.

Ler em voz alta

The viewer can read book text aloud. To use it you can simply click the Read aloud button in the viewer controls to start reading book text aloud. The word being currently read is highlighted. Speech is synthesized from the text using your operating system services for text-to-speech. You can change the voice being used by clicking the gear icon in the bar that is displayed while Read aloud is active.

Poderá também ler em voz alta passagens destacadas adicionando o botão Ler em voz alta à barra de seleção nas preferências de visualização em Comportamento de seleção.

Nota

O suporte texto-para-voz em navegadores é muito incompleto e contém muitos erros. A qualidade de funcionamento do Ler em voz alta no visualizador embebido no navegador depende da qualidade da implementação subjacente do texto-para-voz nesse navegador. Especificamente, realçar a palavra atual não funciona, e alterar a velocidade ou a voz implica que a leitura será reiniciada a partir do início.

Nota

No Linux, Ler em voz alta requer que o Speech Dispatcher esteja instalado e a funcionar.

Nota

No Windows, as vozes instaladas podem não estar todas visíveis no subsistema SAPI que é usado no texto-para-voz. Nesta ligação encontra instruções para tornar todas as vozes visíveis.

Searching the text

The viewer has very powerful search capabilities. Press the Ctrl+F key or access the viewer controls and click search. The simplest form of searching is to just search for whatever text you enter in the text box. The different forms of searching are chosen by the search mode box below the search input. Available modes are:

  1. Contains - The simplest default mode. The text entered in the search box is searched for anywhere. All punctuation, accents and spaces are ignored. For example, the search: Pena will match all of the following: penal, pen a, pen.a and Peña. If you select the Case sensitive box then accents, spaces and punctuation are no longer ignored.

  2. Whole words - Searches for whole words. So for example, the search pena will match the word Peña but not the word Penal. As with Contains searches above, accents and punctuation are ignored unless the Case sensitive box is checked.

  3. Nearby words - Searches for whole words that are near each other. So for example, the search calibre cool will match places where the words calibre and cool occur within sixty characters of each other. To change the number of characters add the new number to the end of the list of words. For instance, calibre cool awesome 120 will match places where the three words occur within 120 characters of each other. Note that punctuation and accents are not ignored for these searches.

  4. Regex - Interprets the search text as a regular expression. To learn more about using regular expressions, see the tutorial.

Personalizar o aspeto visual da sua experiência de leitura

You can change font sizes on the fly by using Font size in the viewer controls or Ctrl++ or Ctrl+- or holding the Ctrl key and using the mouse wheel.

Colors can be changed in the Colors section of the viewer preferences.

You can change the number of pages displayed on the screen as well as page margins in Page layout in the viewer preferences.

You can display custom headers and footers such as time left to read, current chapter title, book position, etc. via the Headers and footers section of the viewer preferences.

More advanced customization can be achieved by the Styles settings. Here you can specify a background image to display under the text and also a stylesheet you can set that will be applied to every book. Using it you can do things like change paragraph styles, text justification, etc. For examples of custom stylesheets used by calibre’s users, see the forums.

Consulta de dicionário

You can look up the meaning of words in the current book by double clicking or long tapping the word you want to lookup and then clicking the lookup button that looks like a library.

Copiar texto e imagens

You can select text and images by dragging the content with your mouse and then right clicking and selecting Copy to copy to the clipboard. The copied material can be pasted into another application as plain text and images.

Ampliar em imagens

You can zoom in to show an image at full size in a separate window by either double clicking or long tapping on it. You can also right click on it and choose View image.

Non re-flowable content

Some books have very wide content that cannot be broken up at page boundaries. For example tables or <pre> tags. In such cases, you should switch the viewer to flow mode by pressing Ctrl+M to read this content. Alternately, you can also add the following CSS to the Styles section of the viewer preferences to force the viewer to break up lines of text in <pre> tags:

code, pre { white-space: pre-wrap }

Designing your book to work well with the calibre viewer

The calibre viewer will set the is-calibre-viewer class on the root element. So you can write CSS rules that apply only for it. Additionally, the viewer will set the following classes on the body element:

body.calibre-viewer-dark-colors

Set when using a dark color scheme

body.calibre-viewer-light-colors

Set when using a light color scheme

body.calibre-viewer-paginated

Set when in paged mode

body.calibre-viewer-scrolling

Set when in flow (non-paginated) mode

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-color and optionally --calibre-viewer-link-color in color themes that define a link color.