2003-10-18 22:58:55 +00:00
<?xml version="1.0" ?>
2014-08-16 14:43:46 +00:00
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
2006-10-16 18:17:29 +00:00
<!ENTITY kpdf "<application>KPDF</application>">
2003-10-18 22:58:55 +00:00
<!ENTITY % English "INCLUDE">
<!ENTITY % addindex "IGNORE">
]>
2010-10-14 20:33:57 +00:00
<!-- TODO
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
add chapter about sidebar
Show/Hide the whole thing to save screen space
2010-10-14 20:33:57 +00:00
Describe all actions only possible in the navigation bars:
Switching between documents using bookmarks
2013-01-21 19:38:45 +00:00
Context menu actions like Rename Bookmarks etc.)
2010-10-14 20:33:57 +00:00
-->
2012-10-12 02:16:14 +00:00
<book id="okular" lang="&language;">
2005-01-15 14:00:56 +00:00
<bookinfo>
2006-10-16 18:17:29 +00:00
<title>The &okular; Handbook</title>
2005-01-15 14:00:56 +00:00
<authorgroup>
<author>
<firstname>Albert</firstname>
<surname>Astals Cid</surname>
<affiliation>
2013-01-21 19:38:45 +00:00
<address>&Albert.Astals.Cid.mail;</address>
2005-01-15 14:00:56 +00:00
</affiliation>
</author>
2006-10-16 18:17:29 +00:00
<author>
<firstname>Pino</firstname>
<surname>Toscano</surname>
<affiliation>
<address><email>pino@kde.org</email></address>
</affiliation>
</author>
2005-01-15 14:00:56 +00:00
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<legalnotice>&FDLNotice;</legalnotice>
2022-02-19 21:08:02 +00:00
<date>2022-02-19</date>
2022-02-02 07:51:27 +00:00
<releaseinfo>22.04</releaseinfo>
2005-01-15 14:00:56 +00:00
<!-- Abstract about this handbook -->
<abstract>
2006-10-16 18:17:29 +00:00
<para>&okular; is a &kde; universal document viewer based on &kpdf; code.</para>
2005-01-15 14:00:56 +00:00
</abstract>
<keywordset>
<keyword>KDE</keyword>
2006-10-16 18:17:29 +00:00
<keyword>okular</keyword>
2005-01-15 14:00:56 +00:00
<keyword>pdf</keyword>
2006-10-16 18:17:29 +00:00
<keyword>ps</keyword>
2009-03-13 23:46:12 +00:00
<keyword>postscript</keyword>
2006-10-16 18:17:29 +00:00
<keyword>tiff</keyword>
<keyword>djvu</keyword>
<keyword>dvi</keyword>
2006-10-21 14:54:34 +00:00
<keyword>chm</keyword>
<keyword>xps</keyword>
2009-03-13 23:46:12 +00:00
<keyword>comicbook</keyword>
<keyword>fictionbook</keyword>
2017-08-26 16:22:25 +00:00
<keyword>markdown</keyword>
2009-03-13 23:46:12 +00:00
<keyword>mobipocket</keyword>
<keyword>plucker</keyword>
2009-03-14 07:21:46 +00:00
<keyword>annotation</keyword>
2005-01-15 14:00:56 +00:00
</keywordset>
</bookinfo>
<chapter id="introduction">
<title>Introduction</title>
2006-10-19 20:02:07 +00:00
<para>&okular; is a &kde; universal document viewer based on the code of the &kpdf; application.
2006-10-16 18:17:29 +00:00
Although being based on &kpdf; code, &okular; has some unique features such as overview mode,
improved presentation support and annotation support.
2005-01-15 14:00:56 +00:00
</para>
2010-09-14 20:58:51 +00:00
<para>
2013-03-11 16:36:58 +00:00
&okular; supports a lot of different formats like &PDF;, &PostScript;, Tiff, CHM, DjVU, Images (png, jpg, &etc;)
2021-09-05 16:17:04 +00:00
XPS, Fiction Books, Comic Book, Plucker, EPub, Fax and Markdown.
2020-09-25 18:56:10 +00:00
For all supported formats and their features see <ulink url="https://okular.kde.org/formats.php">
2010-09-14 20:58:51 +00:00
&okular; Document Format Handlers</ulink>.
</para>
<screenshot>
<screeninfo>&okular;s Main Window</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="mainwindow.png" format="PNG" />
</imageobject>
<textobject>
<phrase>&okular;s Main Window</phrase>
</textobject>
</mediaobject>
</screenshot>
2005-01-15 14:00:56 +00:00
</chapter>
2005-12-23 11:25:55 +00:00
<chapter id="use">
2006-10-17 20:31:35 +00:00
<title>Basic Usage</title>
2005-12-23 11:25:55 +00:00
<sect1 id="opening">
<title>Opening Files</title>
<para>
2008-08-26 12:48:25 +00:00
To view any supported file in &okular;, select <menuchoice><guimenu>File</guimenu><guimenuitem>Open...</guimenuitem>
2009-10-05 13:52:42 +00:00
</menuchoice>, choose a supported file in the dialog and click <guibutton>Open</guibutton>.
2006-05-21 21:43:45 +00:00
Your file should now be displayed in the main window.
2005-12-23 11:25:55 +00:00
</para>
2014-02-08 12:45:43 +00:00
<important>
<para>
2021-05-17 01:08:40 +00:00
The new document will be opened in a new tab if the <guilabel>Open new files in tabs</guilabel> option on the <link linkend="configgeneral">General configuration page</link> is checked.
2014-02-08 12:45:43 +00:00
</para>
2020-01-08 19:46:06 +00:00
<para>
You can close the tab by clicking with &MMB; on it.
</para>
<para>
The previously closed document in a tab can be reopened using the <menuchoice><shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>T</keycap></keycombo></shortcut><guimenu>File</guimenu> <guimenuitem>Undo close tab</guimenuitem></menuchoice> menu item.
</para>
2014-02-08 12:45:43 +00:00
</important>
2005-12-23 11:25:55 +00:00
<para>
2006-10-16 18:17:29 +00:00
If you have already opened files in &okular; before, you can quickly access them by selecting them in
2005-12-23 11:25:55 +00:00
the <menuchoice><guimenu>File</guimenu><guisubmenu>Open Recent</guisubmenu></menuchoice> menu.
</para>
2013-03-11 16:36:58 +00:00
<para>&okular; is the default &kde; application for &PDF; and &PostScript; files, launched when you click with the
2012-06-18 18:49:11 +00:00
&LMB; on such a file type in the filemanager. If you want to open any file whose format is supported by &okular;
use <menuchoice><guimenu>Open with...</guimenu><guimenuitem>&okular;</guimenuitem> </menuchoice> from context
2010-09-14 20:58:51 +00:00
menu in the filemanager.
</para>
2005-12-23 11:25:55 +00:00
<para>
2006-10-16 18:17:29 +00:00
After having a file opened you probably want to read it and therefore navigate through it. Go to the
<link linkend="navigating">next section</link> to learn more about this.
2005-12-23 11:25:55 +00:00
</para>
</sect1>
<sect1 id="navigating">
<title>Navigating</title>
2006-10-16 18:17:29 +00:00
<para>This section describes how you can navigate through a document in &okular;.</para>
2005-12-23 11:25:55 +00:00
<para>
2020-09-25 18:56:10 +00:00
There are multiple ways of scrolling the viewing area. One is to use the &Up; and &Down; arrow keys. You may also use the scrollbar, your mousewheel or the &PgUp; and &PgDn; keys.
2005-12-23 11:25:55 +00:00
</para>
2013-06-15 15:43:56 +00:00
<para>
You can also use <application>vim</application>-like navigation keys, namely <keycap>H</keycap> to move to the top of the previous page, <keycap>L</keycap> to move to the top of the next page, <keycap>J</keycap> to move one line down, and <keycap>K</keycap> to move one line up.
</para>
2005-12-23 11:25:55 +00:00
<para>
Another way is to hold the &LMB; down at any place on the document while dragging the mouse in the
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
opposite direction of where you want to move. This procedure only works if the Browse tool is
2013-03-11 22:42:13 +00:00
enabled, which you can select by choosing <menuchoice><guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Browse</guimenuitem></menuchoice>.
2005-12-23 11:25:55 +00:00
</para>
2013-06-15 15:43:56 +00:00
<note>
<para>
2020-09-25 18:56:10 +00:00
When viewing a document in the <link linkend="presentationMode">Presentation mode</link> use &Up; and &Down; arrow keys to switch between pages or slides. The number and the position of the current slide will be shown in the overlay at the right upper corner of screen.
2013-06-15 15:43:56 +00:00
</para>
</note>
2010-09-14 20:58:51 +00:00
<para>If you want to read a document with several pages use the automatic scrolling feature of &okular;.
2020-09-25 18:56:10 +00:00
Start automatic scrolling with <keycombo action="simul">&Shift;&Down;</keycombo> or
<keycombo action="simul">&Shift;&Up;</keycombo>. Then use these keys to increase and
2010-09-14 20:58:51 +00:00
decrease the scrolling speed. You can start or stop automatic scrolling temporarily by pressing the &Shift; key;
pressing any other key deactivates this feature.
</para>
2010-12-05 21:42:35 +00:00
<para>Another way to navigate through a document with several pages is to use the mouse pointer. Drag the page up or down, continue to drag even while reaching the bottom or top of the screen and behold.
2010-09-14 20:58:51 +00:00
Once you cross the border of a page, the mouse cursor appears on top or bottom of the screen again and you can just continue to drag.
</para>
2005-12-23 11:25:55 +00:00
<para>
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
The sidebar on the left side of the screen enables two more ways of navigating
2005-12-23 11:25:55 +00:00
through a document:
</para>
<itemizedlist>
<listitem>
<para>
If you click on a page thumbnail the viewing area will be brought to
that page.
</para>
</listitem>
<listitem>
<para>
If the document has a table of contents, clicking on a table
2009-07-21 18:49:54 +00:00
of contents item will bring the document to the page linked to that
2005-12-23 11:25:55 +00:00
item.
</para>
</listitem>
2015-09-17 18:00:56 +00:00
<listitem>
<para>
If the document has layers, you can control the layers shown by checking or unchecking
the items in the <guilabel>Layers</guilabel> list.
</para>
</listitem>
2010-09-14 20:58:51 +00:00
<listitem>
<para>
2012-06-18 18:49:11 +00:00
If the document has bookmarks, enable the <guilabel>Bookmarks</guilabel> view
2010-09-14 20:58:51 +00:00
and click them to go to the associated page.
2012-06-18 18:49:11 +00:00
If bookmarks are not only shown for the current document, you can quickly
2010-09-14 20:58:51 +00:00
switch to bookmarks in all recently opened files.
</para>
</listitem>
2010-10-29 07:31:48 +00:00
<listitem>
<para>
2020-06-04 18:30:08 +00:00
If the document has annotations, enable the <guilabel>Annotations</guilabel> view
2020-09-25 18:56:10 +00:00
and click the annotations or select them with the &Up; and &Down; arrow keys and press &Enter; to go to the associated page.
2010-10-29 07:31:48 +00:00
</para>
</listitem>
2005-12-23 11:25:55 +00:00
</itemizedlist>
<para>
Some documents have links. In this case you can click on them and the view will
2006-10-30 19:04:15 +00:00
change to the page it links to. If the link is to a web page or some
other document the default &kde; handler for that format will be invoked.
2020-09-25 18:56:10 +00:00
For example, clicking on a link pointing to <quote>https://www.kde.org</quote>
2009-03-13 23:46:12 +00:00
will open the web page in the default &kde;'s web browser.
2005-12-23 11:25:55 +00:00
</para>
2013-06-15 15:43:56 +00:00
<important>
<para>
The document internal links work only when <link linkend="menutools">Browse Tool</link> is used.
</para>
</important>
2005-12-23 11:25:55 +00:00
<para>
Additionally, you may use the following functionality to quickly move to specific places
in the document:
</para>
<itemizedlist>
<listitem>
<para>
2012-06-18 18:49:11 +00:00
You can go to the beginning of the document using
2005-12-23 11:25:55 +00:00
<keycombo action="simul">&Ctrl;<keycap>Home</keycap></keycombo> or
2012-06-18 18:49:11 +00:00
using
2005-12-23 11:25:55 +00:00
<menuchoice>
<guimenu>Go</guimenu>
2010-09-03 21:32:51 +00:00
<guimenuitem>Beginning of the document</guimenuitem>
2005-12-23 11:25:55 +00:00
</menuchoice>.
</para>
</listitem>
<listitem>
<para>
2012-06-18 18:49:11 +00:00
You can go to the end of the document using
2005-12-23 11:25:55 +00:00
<keycombo action="simul">&Ctrl;<keycap>End</keycap></keycombo> or
2012-06-18 18:49:11 +00:00
using
2005-12-23 11:25:55 +00:00
<menuchoice>
<guimenu>Go</guimenu>
2010-09-03 21:32:51 +00:00
<guimenuitem>End of the document</guimenuitem>
2005-12-23 11:25:55 +00:00
</menuchoice>.
</para>
</listitem>
<listitem>
<para>
2020-09-25 18:56:10 +00:00
You can go forward in the document using &Space; or &PgDn;.
2009-02-02 21:47:29 +00:00
To go to the next page of the document use the <guibutton>Next Page</guibutton> Toolbar
2012-06-18 18:49:11 +00:00
button or
2005-12-23 11:25:55 +00:00
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Next Page</guimenuitem>
2009-02-02 21:47:29 +00:00
</menuchoice> in the menubar.
2005-12-23 11:25:55 +00:00
</para>
</listitem>
<listitem>
<para>
2020-09-25 18:56:10 +00:00
You can go back in the document using &Backspace; or &PgUp;.
2009-02-02 21:47:29 +00:00
To go to the previous page of the document use <guibutton>Previous Page</guibutton> Toolbar
2012-06-18 18:49:11 +00:00
button or
2005-12-23 11:25:55 +00:00
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Previous Page</guimenuitem>
2009-02-02 21:47:29 +00:00
</menuchoice> in the menubar.
2005-12-23 11:25:55 +00:00
</para>
</listitem>
2013-03-10 20:35:54 +00:00
<listitem>
<para>
You can go back to the positions in the document where you came from in a chronological order.
Consider ⪚ reading the phrase <quote>As shown in [15], …</quote>, and you want
to know quickly lookup reference [15]. So you click on it, and &okular; will jump to the list
2020-09-25 18:56:10 +00:00
of references. Using <keycombo>&Alt;&Shift;&Left;</keycombo> or
2013-03-10 20:35:54 +00:00
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Back</guimenuitem>
</menuchoice> in the menubar will bring you back to exactly the position where you came from.
</para>
</listitem>
<listitem>
<para>
You can go forward in the document after the jumping back as described above using
2020-09-25 18:56:10 +00:00
<keycombo>&Alt;&Shift;&Right;</keycombo> or
2013-03-10 20:35:54 +00:00
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Forward</guimenuitem>
</menuchoice> in the menubar.
</para>
</listitem>
2013-06-15 15:43:56 +00:00
<listitem>
<para>
You can go to the next match when searching using
2014-01-12 17:47:55 +00:00
<keycap>F3</keycap> or &Enter; (when the focus is on <guilabel>Find</guilabel> text field) keys or
2013-06-15 15:43:56 +00:00
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Find Next</guimenuitem>
</menuchoice>
menu item or move back to the previous match using
2014-01-12 17:47:55 +00:00
<keycombo>&Shift;<keysym>F3</keysym></keycombo> or <keycombo>&Shift;&Enter;</keycombo> (when the focus is on <guilabel>Find</guilabel> text field) keys or
2013-06-15 15:43:56 +00:00
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Find Previous</guimenuitem>
</menuchoice>
menu item.
</para>
</listitem>
2005-12-23 11:25:55 +00:00
</itemizedlist>
</sect1>
<sect1 id="presentationMode">
<title>Presentation Mode</title>
<para>
2006-10-16 18:17:29 +00:00
The Presentation mode represents another way to view documents in &okular;. It can be
2005-12-23 11:25:55 +00:00
enabled in
<menuchoice><guimenu>View</guimenu><guimenuitem>Presentation</guimenuitem></menuchoice>.
It shows the document on a page per page basis. The pages are shown with
2012-06-18 18:49:11 +00:00
zoom to page, that means all the page is visible.
2005-12-23 11:25:55 +00:00
</para>
<note>
<para>
2006-10-17 20:31:35 +00:00
&PDF; documents can even specify that they are always opened in presentation mode.
2005-12-23 11:25:55 +00:00
</para>
</note>
2006-10-16 18:17:29 +00:00
<para>
When in presentation mode, you have an helper bar located on the top of the screen. Just move
the mouse cursor to the top of the screen to make it appear.
</para>
2010-09-14 20:58:51 +00:00
<screenshot>
<screeninfo>&okular; in Presentation Mode</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="presentation.png" format="PNG" />
</imageobject>
<textobject>
<phrase>&okular; in Presentation Mode</phrase>
</textobject>
</mediaobject>
</screenshot>
2005-12-23 11:25:55 +00:00
<para>
To navigate between
pages you may use the &LMB; (next page) and the &RMB; (previous page), the mouse
2006-10-16 18:17:29 +00:00
wheel, the arrow icons or the line edit in the top bar,
2005-12-23 11:25:55 +00:00
or the keys specified in the <link linkend="navigating">Navigating</link>
2006-10-16 18:17:29 +00:00
section.
2005-12-23 11:25:55 +00:00
</para>
2014-02-25 06:47:39 +00:00
<para>
Use <guilabel>Play/Pause</guilabel> button in the top bar to start playing presentation or pause it, correspondingly.
</para>
2005-12-23 11:25:55 +00:00
<para>
2009-10-05 13:52:42 +00:00
You can exit presentation mode at any time by pressing the &Esc; key or clicking
2006-10-16 18:17:29 +00:00
the <guiicon>Quit</guiicon> icon in the top bar.
2005-12-23 11:25:55 +00:00
</para>
2007-08-15 12:44:58 +00:00
<para>
You can also draw on the current page with a pencil. Click on the
<guilabel>Toggle Drawing Mode</guilabel> icon in the top bar to enable or disable the possibility
2012-09-08 22:02:10 +00:00
to draw in the presentation mode. The drawings are cleared automatically when leaving the presentation
mode. You can also click on the <guilabel>Erase Drawings</guilabel> icon to remove the
drawings in the current page.
2007-08-15 12:44:58 +00:00
</para>
2008-08-26 12:48:25 +00:00
<para>
2012-06-18 18:49:11 +00:00
The presentation mode has support for more than one screen in a multi-monitor configuration.
With more than one screen a new button will appear in the top bar, with the icon of a screen:
2008-08-26 12:48:25 +00:00
this is a drop down box that allows you to move the presentation to any of the other available screens.
</para>
2005-12-23 11:25:55 +00:00
<para>
Presentation mode has some configuration options, you can find their
2008-08-26 12:48:25 +00:00
description in the chapter <link linkend="configpresentation">Configuring &okular;</link>.
2005-12-23 11:25:55 +00:00
</para>
</sect1>
2012-07-01 14:21:40 +00:00
<sect1 id="inverse_search">
2012-09-09 07:57:33 +00:00
2012-07-01 14:21:40 +00:00
<title>Inverse Search between &latex; Editors and &okular;</title>
<para>Inverse search is a very useful feature when you are writing a &latex; document yourself. If everything is set up properly, you can
click into &okular;'s window with the <mousebutton>left</mousebutton> mouse button while pressing &Shift;. After that editor loads the &latex; source file and jumps to
the proper paragraph.</para>
<para>Inverse search cannot work unless:</para>
<itemizedlist>
<listitem><para>The source file has been compiled successfully.</para></listitem>
<listitem><para>&okular; knows which editor you would like to use.</para></listitem>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<listitem><para>The Browse tool has to be enabled, which you can select by choosing
<menuchoice><guimenu>Tools</guimenu><guimenuitem>Browse
2013-01-24 19:50:06 +00:00
</guimenuitem></menuchoice>.</para></listitem>
2012-07-01 14:21:40 +00:00
</itemizedlist>
<para>With this feature of &okular;, a left mouse click while pressing &Shift; in the &DVI; or &PDF; document will
result in editor opening the corresponding &latex; document and attempt to go to the
corresponding line. Remember to tell &okular; to use proper editor, in &okular;'s
menu item <menuchoice><guimenu>Settings</guimenu><guimenuitem>Configure Okular...</guimenuitem></menuchoice>
(on the page <guimenuitem>Editor</guimenuitem>).</para>
2012-09-09 07:57:33 +00:00
2012-07-01 14:21:40 +00:00
<para>For more details on editor configuration please refer to the <link linkend="configeditor">corresponding section of this manual</link>.</para>
<screenshot>
<screeninfo>Configuring &okular;</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="configure-editor.png" format="PNG" />
</imageobject>
<textobject>
<phrase>Configuring editor in &okular;</phrase>
</textobject>
<caption><para>Configuring editor in &okular;</para></caption>
</mediaobject>
</screenshot>
</sect1>
2005-01-15 14:00:56 +00:00
</chapter>
2006-10-17 20:31:35 +00:00
<chapter id="advanced">
2006-10-19 20:02:07 +00:00
<title>&okular; Advanced Features</title>
2006-10-17 20:31:35 +00:00
<sect1 id="embedded-files">
<title>Embedded Files</title>
<para>
2019-10-13 05:57:54 +00:00
If the current document has some files embedded in it, when you open it a bar
2012-06-18 18:49:11 +00:00
will appear above the page view to notify you about the embedded files.
2006-10-17 20:31:35 +00:00
</para>
<screenshot>
<screeninfo>The embedded files bar</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="embedded-files-bar.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The embedded files bar</phrase>
</textobject>
</mediaobject>
</screenshot>
<para>
In this case, you can either click on the link in the text of the bar or choose
<menuchoice><guimenu>File</guimenu><guimenuitem>Embedded Files</guimenuitem></menuchoice>
to open the embedded files dialog. The dialog allows you to view the embedded files and
to extract them.
</para>
</sect1>
2010-09-14 20:58:51 +00:00
<sect1 id="forms">
<title>Forms</title>
<para>
If the current document has forms, when you open it a bar
2012-06-18 18:49:11 +00:00
will appear above the page view where you can enable the forms.
2010-09-14 20:58:51 +00:00
</para>
<screenshot>
<screeninfo>The forms bar</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="forms-bar.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The forms bar</phrase>
</textobject>
</mediaobject>
</screenshot>
<para>
In this case, you can either click on <guilabel>Show Forms</guilabel> in the bar or choose
<menuchoice><guimenu>View</guimenu><guimenuitem>Show Forms</guimenuitem></menuchoice>
to enter data into the form fields.
</para>
</sect1>
2019-01-14 17:13:27 +00:00
<sect1 id="signatures">
<title>Signatures</title>
<para>
If the current document has signatures a bar
will appear above the page view after the document opening. It allows you to open the <guilabel>Signatures</guilabel> panel.
</para>
<screenshot>
<screeninfo>The signatures bar</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="signatures-bar.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The signatures bar</phrase>
</textobject>
</mediaobject>
</screenshot>
<para>
Using the <guilabel>Signatures</guilabel> panel you can inspect the document signature and its certificate.
</para>
<screenshot>
<screeninfo>The signatures panel</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="signatures-panel.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The signatures panel</phrase>
</textobject>
</mediaobject>
</screenshot>
<note>
<para>
2020-09-25 18:56:10 +00:00
This feature is available for &PDF; documents only. You need to install at least version 0.51 of <ulink url="https://poppler.freedesktop.org/">Poppler</ulink> to get most signature information, version 0.68 to get signature location/reason information, and version 0.73 to get signature certificate information.
2019-01-14 17:13:27 +00:00
</para>
</note>
2020-11-30 15:34:25 +00:00
<sect2 id="adding_digital_signatures">
<title>Adding Digital Signatures</title>
<para>
You can add digital signatures to documents using the corresponding action in the <menuchoice><guimenu>Tools</guimenu></menuchoice> menu.
</para>
<para>
2021-01-02 07:39:47 +00:00
To be able to sign a document you need to have a proper <acronym>PKCS</acronym> signing certificate available on your system. &okular; does not have the ability to create such certificates since they need to be issued by certificate authorities to be useful for validation, &etc;
2020-11-30 15:34:25 +00:00
</para>
<para>
2021-05-12 21:24:54 +00:00
We use the Poppler library to handle signing of &PDF; documents and Poppler is using the NSS library to handle certificates. At the point of writing, Poppler will try to use one of the following NSS certificate stores in order (the first that exists):
2021-01-02 07:39:47 +00:00
</para>
<itemizedlist>
<listitem><para>The current Firefox user certificate store.</para></listitem>
<listitem><para>The system-wide <filename>/etc/pki/nssdb</filename> certificate store.</para></listitem>
<listitem><para>The current user <filename>$HOME/.pki/nssdb</filename></para></listitem>
</itemizedlist>
<para>
2020-12-14 15:06:32 +00:00
If you want to use a custom certificate store you can do so by setting it in the <link linkend="config-pdf-digital-signatures">&PDF; Backend Configuration</link> section of the <link linkend="configure-backends">Configure Backends...</link> dialog.
2020-11-30 15:34:25 +00:00
</para>
<note>
<para>
This feature is available for &PDF; documents only. You need to install at least version 21.01 of <ulink url="https://poppler.freedesktop.org/">Poppler</ulink> to be able to add digital signatures to a document.
</para>
</note>
</sect2>
2019-01-14 17:13:27 +00:00
</sect1>
2006-10-17 20:31:35 +00:00
<sect1 id="annotations">
<title>Annotations</title>
<para>
2009-03-13 23:46:12 +00:00
&okular; allows you to review and annotate your documents.
2009-02-02 21:47:29 +00:00
</para>
2010-09-14 20:58:51 +00:00
<screenshot>
<screeninfo>&okular;'s Annotations</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="annotations.png" format="PNG" />
</imageobject>
<textobject>
<phrase>&okular;'s Annotations</phrase>
</textobject>
</mediaobject>
</screenshot>
<para>&okular; has two different kind of annotations:</para>
2021-10-18 09:23:49 +00:00
<para>Text annotations like <guilabel>Yellow Highlighter</guilabel> and <guilabel>Black Underlining</guilabel>
2013-01-21 19:38:45 +00:00
for files with text like ⪚ &PDF;.</para>
2021-10-18 09:23:49 +00:00
<para>Graphic annotations like <guilabel>Pop-up Note</guilabel>, <guilabel>Inline Note</guilabel>, <guilabel>Freehand Line</guilabel>, <guilabel>Highlighter</guilabel>, <guilabel>Straight Line</guilabel>, <guilabel>Polygon</guilabel>, <guilabel>Stamp</guilabel>, <guilabel>Underline</guilabel>, <guilabel>Ellipse</guilabel>, and <guilabel>Typewriter</guilabel> for all formats supported by &okular;.</para>
2020-06-04 18:30:08 +00:00
<para>Using the context menu either in the <guilabel>Annotations</guilabel> view of the sidebar or in the main window you can open a <guilabel>Pop up Note</guilabel> for any kind of annotation and add or edit comments.</para>
2013-01-21 19:38:45 +00:00
<para>Annotations are not only limited to &PDF; files, they can be used for any format &okular; supports.</para>
2009-02-02 21:47:29 +00:00
<para>
2018-01-01 07:39:47 +00:00
&okular; has the "document archiving" feature. This is an &okular;-specific format for carrying the document plus various metadata related to it (currently only annotations). You can save a "document archive" from the open document by choosing <menuchoice><guimenu>File</guimenu><guisubmenu>Save As</guisubmenu></menuchoice> and selecting <guilabel>Okular document archive</guilabel> in the <guilabel>Filter</guilabel> selector. Documents saved this way will get <filename>.okular</filename> as their filename extension. To open an &okular; document archive, just open it with &okular; as it would be ⪚ a &PDF; document.
2012-06-18 18:49:11 +00:00
</para>
<para>
2017-11-03 15:39:53 +00:00
You can <emphasis>also</emphasis> save annotations directly into &PDF; files. You can use <menuchoice><guimenu>File</guimenu> <guimenuitem>Save</guimenuitem></menuchoice> to save it over the current file or <menuchoice><guimenu>File</guimenu> <guimenuitem>Save As...</guimenuitem></menuchoice> to save it to a new file.
2006-10-17 20:31:35 +00:00
</para>
2007-09-03 21:49:49 +00:00
<note>
<para>
Due to DRM limitations (typically with &PDF; documents), adding, editing some properties
or removing annotations could not be possible.
</para>
</note>
2013-04-06 14:01:41 +00:00
<note>
<para>
Any action on annotations (creation and removal of annotations, editing arbitrary annotation properties, relocating annotations with &Ctrl;+drag, and editing the text contents of an annotation) can be <link linkend="edit-undo">undone</link> or <link linkend="edit-redo">redone</link> using the corresponding item from the <guimenu>Edit</guimenu> menu. It is also possible to undo the action by pressing <keycombo>&Ctrl;<keycap>Z</keycap></keycombo> and redo the undone action by pressing <keycombo>&Ctrl;&Shift;<keycap>Z</keycap></keycombo>.
</para>
</note>
2013-05-23 18:41:33 +00:00
<para>
2017-11-03 15:39:53 +00:00
You can configure the default properties and appearance of each annotating tool. Please refer to the <link linkend="configannotations">corresponding section in this documentation</link>.
2013-05-23 18:41:33 +00:00
</para>
2006-10-19 20:02:07 +00:00
<sect2 id="annotations-add">
<title>Adding annotations</title>
<para>
2020-06-04 18:30:08 +00:00
To add some annotations to the document, you have to use <guilabel>Quick Annotations</guilabel> button on the main &okular; toolbar or activate the annotating toolbar.
2007-09-03 21:49:49 +00:00
This is done by either selecting
2020-06-04 18:30:08 +00:00
<menuchoice><guimenu>Tools</guimenu><guimenuitem>Annotations</guimenuitem></menuchoice> or
2007-09-03 21:49:49 +00:00
pressing <keycap>F6</keycap>. Once the annotating toolbar is shown, just press one of
2013-05-30 16:30:38 +00:00
its buttons or use keyboard shortcuts (keys from <keycap>1</keycap> to <keycap>9</keycap>) to start constructing that annotation.
</para>
<para>
2013-09-21 16:07:37 +00:00
The annotating toolbar helps you to make annotations with drawings, shapes, and text messages. You can use the annotating toolbar to mark up a document (⪚ add lines, ellipses, polygons, stamps, highlights, underlines &etc;). The table below describes exactly what the default set of annotating toolbar buttons does.
</para>
<informaltable>
<tgroup cols="3">
<thead>
<row>
<entry>
Button
</entry>
<entry>
Tool Name
</entry>
<entry>
Description
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-draw-highlight.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Highlighter
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
To highlight text in the document with some given background color.
2013-09-21 16:07:37 +00:00
</para>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button, then click with the &LMB; and hold to place the beginning of the highlighted text snippet, then drag to highlight it.
2013-09-21 16:07:37 +00:00
</para>
2019-06-24 10:48:09 +00:00
<para>
2020-06-04 18:30:08 +00:00
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Highlight</guimenuitem>, <guimenuitem>Squiggle</guimenuitem>, <guimenuitem>Underline</guimenuitem> or <guimenuitem>Strike out</guimenuitem>), <guilabel>Color</guilabel>, and <guilabel>Opacity</guilabel> for the highlighter. Just right-click on the highlighted text and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-format-text-underline.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Underline
</para>
</entry>
<entry>
<para>
To underline some text.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the beginning of the underlined text snippet, then drag to underline it.
</para>
<para>
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Highlight</guimenuitem>, <guimenuitem>Squiggle</guimenuitem>, <guimenuitem>Underline</guimenuitem> or <guimenuitem>Strike out</guimenuitem>), <guilabel>Color</guilabel>, and <guilabel>Opacity</guilabel> for the underline. Just right-click on the underlined text and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-format-text-underline-squiggle.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Squiggle
</para>
</entry>
<entry>
<para>
To underline some text by a squiggle line.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the beginning of the underlined text snippet, then drag to underline it.
</para>
<para>
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Highlight</guimenuitem>, <guimenuitem>Squiggle</guimenuitem>, <guimenuitem>Underline</guimenuitem> or <guimenuitem>Strike out</guimenuitem>), <guilabel>Color</guilabel>, and <guilabel>Opacity</guilabel> for the underline. Just right-click on the underlined text and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-format-text-strikethrough.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Strike Out
</para>
</entry>
<entry>
<para>
To strike out some text.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the beginning of the underlined text snippet, then drag to underline it.
</para>
<para>
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Highlight</guimenuitem>, <guimenuitem>Squiggle</guimenuitem>, <guimenuitem>Underline</guimenuitem> or <guimenuitem>Strike out</guimenuitem>), <guilabel>Color</guilabel>, and <guilabel>Opacity</guilabel> for the underline. Just right-click on the underlined text and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-tool-text.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Typewriter
2020-06-04 18:30:08 +00:00
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Typewriter features opaque letters on transparent background, so that it is useful to fill noninteractive forms.
2020-06-04 18:30:08 +00:00
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the top-left corner of the note, then drag to place the bottom-right one. Enter the text of the note then click on the <guibutton>OK</guibutton> to save the note, <guibutton>Cancel</guibutton> to cancel note entering or <guibutton>Clear</guibutton> to clear the note.
</para>
<para>
2021-10-18 09:23:49 +00:00
It is possible to define the <guilabel>Font</guilabel> and <guilabel>Text color</guilabel> for the text. Just right-click on the typewriter text created and select the <guimenuitem>Properties</guimenuitem> menu item.
2019-06-24 10:48:09 +00:00
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-note.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Inline Note
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
To draw inline note. The note will be shown inline as is.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the top-left corner of the note, then drag to place the bottom-right one. Enter the text of the note then click on the <guibutton>OK</guibutton> to save the note, <guibutton>Cancel</guibutton> to cancel note entering or <guibutton>Clear</guibutton> to clear the note.
</para>
2019-06-24 10:48:09 +00:00
<para>
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Font</guilabel>, <guilabel>Align</guilabel>, and <guilabel>Border width</guilabel> for the note. Just right-click on the note icon created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-edit-comment.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Pop-up Note
2020-06-04 18:30:08 +00:00
</para>
</entry>
<entry>
<para>
To draw multiline note. The note will can be viewed by double clicking on an icon in the document.
</para>
<para>
Click on the tool button, then click on the place in the document where the pop-up note should be added. Enter the text of pop-up note then click on the <guilabel>Close this note</guilabel> button in the top right corner of the pop-up window.
</para>
<para>
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, and <guilabel>Icon</guilabel> for the note. Just right-click on the note icon created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-draw-freehand.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Freehand Line
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
To draw free-form lines.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the start of the line, then drag to draw the line.
</para>
2019-06-24 10:48:09 +00:00
<para>
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, and <guilabel>Width</guilabel> for the line. Just right-click on the line created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-draw-arrow.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Arrow (drop-down list)
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
To mark with an arrow.
2013-09-21 16:07:37 +00:00
</para>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button, then click with the &LMB; to place the starting point of the line, then drag to place of the ending point of the line should be and click once more.
2013-09-21 16:07:37 +00:00
</para>
2019-06-24 10:48:09 +00:00
<para>
2020-06-04 18:30:08 +00:00
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Width</guilabel>, <guilabel>Line start</guilabel>, <guilabel>Line end</guilabel>, <guilabel>Leader line length</guilabel>, and <guilabel>Leader line extension length</guilabel> for the line. Just right-click on the line created and select the <guimenuitem>Properties</guimenuitem> menu item.
2019-06-24 10:48:09 +00:00
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-draw-line.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Straight line (drop-down list)
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
To mark with a line.
</para>
<para>
Click on the tool button, then click with the &LMB; to place the starting point of the line, then drag to place of the ending point of the line should be and click once more.
</para>
2019-06-24 10:48:09 +00:00
<para>
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Width</guilabel>, <guilabel>Line start</guilabel>, <guilabel>Line end</guilabel>, <guilabel>Leader line length</guilabel>, and <guilabel>Leader line extension length</guilabel> for the line. Just right-click on the line created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-draw-rectangle.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Rectangle (drop-down list)
2020-06-04 18:30:08 +00:00
</para>
</entry>
<entry>
<para>
To draw a rectangle around some chosen area.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the top-left corner of the rectangle, then drag to place the bottom-right one.
</para>
<para>
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Rectangle</guimenuitem> or <guimenuitem>Ellipse</guimenuitem>), <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Shape fill</guilabel> (and its color), and <guilabel>Width</guilabel> for the border. Just right-click on the border created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-draw-ellipse.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Ellipse (drop-down list)
2020-06-04 18:30:08 +00:00
</para>
</entry>
<entry>
<para>
To draw an ellipse or rectangle around some chosen area.
</para>
<para>
Click on the tool button, then click with the &LMB; and hold to place the top-left corner of the circumscribed rectangular for the ellipse, then drag to place the bottom-right one.
</para>
<para>
It is possible to define the <guilabel>Type</guilabel> (<guimenuitem>Rectangle</guimenuitem> or <guimenuitem>Ellipse</guimenuitem>), <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Shape fill</guilabel> (and its color), and <guilabel>Width</guilabel> for the border. Just right-click on the border created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-draw-polyline.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2021-10-18 09:23:49 +00:00
Polygon (drop-down list)
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
To draw a closed plane figure from three or more segments. The corresponding note can be viewed by double clicking inside the polygon.
</para>
<para>
Click on the tool button, then click with the &LMB; to place the first vertex of the polygon, then drag to place of the second vertex. Proceed until you draw the whole polygon up to the first vertex. Click twice if you want to add some note to the polygon. Enter the text of the note then click on the <guibutton>OK</guibutton> to save the note, <guibutton>Cancel</guibutton> to cancel note entering or <guibutton>Clear</guibutton> to clear the note.
</para>
2019-06-24 10:48:09 +00:00
<para>
It is possible to define the <guilabel>Color</guilabel>, <guilabel>Opacity</guilabel>, <guilabel>Shape fill</guilabel> (and its color), and <guilabel>Width</guilabel> for the polygon. Just right-click on the polygon created and select the <guimenuitem>Properties</guimenuitem> menu item.
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-tag.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Stamp
</para>
</entry>
<entry>
<para>
To mark the text or image with some predefined shape.
</para>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button to choose the stamp from the drop-down list then click with the &LMB; to place the stamp.
2013-09-21 16:07:37 +00:00
</para>
<para>
A single click just places a square stamp (useful for icons).
To add a rectangular stamp you can click with the &LMB; and hold to place the top-left point, then drag to place the bottom-right one.
</para>
2019-06-24 10:48:09 +00:00
<para>
2019-07-26 08:35:09 +00:00
It is possible to define the <guilabel>Opacity</guilabel> and <guilabel>Stamp symbol</guilabel> for the stamp. Just right-click on the stamp icon created and select the <guimenuitem>Properties</guimenuitem> menu item.
2019-06-24 10:48:09 +00:00
</para>
2019-07-26 08:35:09 +00:00
<warning>
<para>
This feature is experimental. Custom stamps inserted in &PDF; documents are not visible in &PDF; readers other than &okular;.
</para>
</warning>
2013-09-21 16:07:37 +00:00
</entry>
</row>
2020-06-04 18:30:08 +00:00
</tbody>
</tgroup>
</informaltable>
<para>These are the default annotations provided by &okular;. Using the <link linkend="configannotations">Annotations page</link> of the configuration dialog
you can add your own annotations like custom stamps, text markup or a geometrical shape with inner color to highlight regions &etc;
</para>
<note>
<para>
It is possible to add &latex; code into the text of annotations. Please add <userinput>$$<replaceable>code</replaceable>$$</userinput> to the text of annotation, where <replaceable>code</replaceable> is any valid &latex; equation, and follow instructions on the screen to make it render by a &latex; distribution installed in your system.
</para>
</note>
<para>
It is possible to configure the current tool options using the annotating toolbar itself. The table below describes exactly what the default set of annotating toolbar configuring buttons does.
</para>
<informaltable>
<tgroup cols="3">
<thead>
<row>
<entry>
Button
</entry>
<entry>
Option Name
</entry>
<entry>
Description
</entry>
</row>
</thead>
<tbody>
2013-09-21 16:07:37 +00:00
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-edit-line-width.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Line width
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button to choose the width from the drop-down list.
2013-09-21 16:07:37 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
</row>
<row>
<entry>
2013-09-21 16:07:37 +00:00
<para>
2020-06-04 18:30:08 +00:00
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-format-text-color.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
/
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-bordertool.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
2013-09-21 16:07:37 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
<entry>
2019-06-24 10:48:09 +00:00
<para>
2020-06-04 18:30:08 +00:00
Annotation color
</para>
</entry>
<entry>
<para>
Click on the tool button to choose color of text or border of your annotation. You can chose one of the predefined colors or click on the <guimenuitem>Custom Color...</guimenuitem> item to open the color selection dialog.
2019-06-24 10:48:09 +00:00
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-fill-color.png" format="PNG"/>
2013-09-21 16:07:37 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Annotation fill color
2013-09-21 16:07:37 +00:00
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button to choose a fill color of your annotation. You can chose one of the predefined colors or click on the <guimenuitem>Custom Color...</guimenuitem> item to open the color selection dialog.
2013-09-21 16:07:37 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
</row>
<row>
<entry>
2013-09-21 16:07:37 +00:00
<para>
2020-06-04 18:30:08 +00:00
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-edit-opacity.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
2013-09-21 16:07:37 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
<entry>
2019-06-24 10:48:09 +00:00
<para>
2020-06-04 18:30:08 +00:00
Annotation opacity
</para>
</entry>
<entry>
<para>
Click on the tool button to choose annotation level of opacity from the drop-down list (<guimenuitem>100%</guimenuitem> is for the opaque annotations).
2019-06-24 10:48:09 +00:00
</para>
2013-09-21 16:07:37 +00:00
</entry>
</row>
2020-06-04 18:30:08 +00:00
<row>
2018-09-26 06:53:13 +00:00
<entry>
<para>
<inlinemediaobject>
<imageobject>
2020-06-04 18:30:08 +00:00
<imagedata fileref="tool-font-face.png" format="PNG"/>
2018-09-26 06:53:13 +00:00
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Annotation font
2018-09-26 06:53:13 +00:00
</para>
</entry>
<entry>
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button to open the font selection dialog.
2018-09-26 06:53:13 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
</row>
<row>
<entry>
2018-09-26 06:53:13 +00:00
<para>
2020-06-04 18:30:08 +00:00
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-settings-configure.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Advanced settings for the current annotation tool
2018-09-26 06:53:13 +00:00
</para>
2020-06-04 18:30:08 +00:00
</entry>
<entry>
2019-06-24 10:48:09 +00:00
<para>
2020-06-04 18:30:08 +00:00
Click on the tool button to open the general configuration dialog for your annotation.
2019-06-24 10:48:09 +00:00
</para>
2018-09-26 06:53:13 +00:00
</entry>
</row>
2020-06-04 18:30:08 +00:00
</tbody>
</tgroup>
</informaltable>
<para>
There are three additional utility buttons on the default annotating toolbar.
</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>
Button
</entry>
<entry>
Description
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-favorite.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Add the current annotation to the <guilabel>Quick Annotations</guilabel> menu on the main toolbar.
</para>
<note>
<para>
You can use the default shortcuts from <keycombo action="simul">&Alt;<keycap>9</keycap></keycombo> to <keycombo action="simul">&Alt;<keycap>0</keycap></keycombo> to select the quick annotation actions any time you like even with the annotating toolbar hidden.
</para>
</note>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-window-pin.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
When checked keep the current annotation tool active after use.
</para>
</entry>
</row>
<row>
<entry>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="tool-dialog-close.png" format="PNG"/>
</imageobject>
</inlinemediaobject>
</para>
</entry>
<entry>
<para>
Hide the annotating toolbar.
</para>
</entry>
</row>
</tbody>
2013-09-21 16:07:37 +00:00
</tgroup>
</informaltable>
<para>
2020-09-25 18:56:10 +00:00
By pressing &Shift; you can constrain the angle of line and polygon annotations to 15° steps, and the ratio of shape annotations (⪚ Rectangle, Ellipse) to 1:1. You can also get a toolbar button from <ulink url="help:/fundamentals/config.html#toolbars">Configure Toolbars...</ulink>.
2020-07-16 22:32:42 +00:00
</para>
<para>
The contents of the <guilabel>Quick Annotations</guilabel> menu can be configured using the <link linkend="configannotations">Annotations page of &okular; configuration dialog</link>. This page can be opened by clicking <guilabel>Quick Annotations</guilabel> button, then choosing <guimenuitem>Configure Annotations...</guimenuitem> from the pop-up menu.
2006-10-19 20:02:07 +00:00
</para>
2007-09-03 21:49:49 +00:00
<note>
<para>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
Activating the annotating toolbar will make you switch to the Browse Mode.
2007-09-03 21:49:49 +00:00
</para>
</note>
2006-10-19 20:02:07 +00:00
<para>
You can stop the construction any time by pressing again on the button of the
2009-10-05 13:52:42 +00:00
annotation you are constructing, or by pressing the &Esc; key.
2006-10-19 20:02:07 +00:00
</para>
2007-09-03 21:49:49 +00:00
<para>
The newly constructed annotation will have as author the author you set in the
2013-05-23 18:41:33 +00:00
<link linkend="configannotations"><guilabel>Annotations</guilabel> page</link> in &okular;s
configuration dialog. The <guilabel>Annotations</guilabel> page can also be used to configure the content of the annotating toolbar.
2007-09-03 21:49:49 +00:00
</para>
2006-10-19 20:02:07 +00:00
</sect2>
<sect2 id="annotations-remove">
<title>Removing annotations</title>
<para>
To remove an annotation, just click on it with the &RMB;, and select
2017-11-07 10:01:42 +00:00
<guimenuitem>Delete</guimenuitem> or select an annotation using the &LMB; and press the ∇ key.
2006-10-19 20:02:07 +00:00
</para>
<para>
When removing the annotation, its window will be closed if open.
</para>
<note>
<para>
This option could not be enabled because the document does not allow removing
annotations.
</para>
</note>
</sect2>
<sect2 id="annotations-edit">
<title>Editing annotations</title>
<para>
To edit an annotation, click on it with the &RMB; and select
2009-02-02 21:47:29 +00:00
<guimenuitem>Properties</guimenuitem>. A dialog will appear with the general
2006-10-19 20:02:07 +00:00
annotation settings (like color and opacity, author, &etc;) and the settings specific
to that annotation type.
</para>
2010-09-14 20:58:51 +00:00
<screenshot>
<screeninfo>Annotation Property Dialog</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="annotation-properties.png" format="PNG" />
</imageobject>
<textobject>
<phrase>Annotation Property Dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
2008-01-21 21:10:27 +00:00
<para>
2012-06-18 18:49:11 +00:00
To move an annotation, hold down the &Ctrl; key, move the mouse pointer on it and
2008-01-21 21:10:27 +00:00
then start dragging with the &LMB;.
</para>
2017-11-07 10:01:42 +00:00
<para>If you click with the &LMB; on an annotation, it gets selected. Resize handles appear on the
selection rectangle. When the cursor is moved over one of the 8 resize handles on
the corners or edges, the cursor shape changes to indicate the resize mode. Click anywhere
else on the annotation to move it.
Pressing &Esc; or clicking an area outside the annotation cancels a selection.
</para>
2021-10-18 09:23:49 +00:00
<para>Resizing is only applicable for annotation types Inline Note, Typewriter, Stamp and Ellipse.</para>
2017-11-07 10:01:42 +00:00
2006-10-19 20:02:07 +00:00
<note>
<para>
2006-10-21 14:54:34 +00:00
Depending on the document permissions (typically with &PDF; documents), some options
can be disabled.
2006-10-19 20:02:07 +00:00
</para>
</note>
</sect2>
2006-10-17 20:31:35 +00:00
</sect1>
2012-06-19 15:02:49 +00:00
<sect1 id="bookmark-management">
<title>Bookmark Management</title>
<para>
&okular; has a very flexible bookmark system. &okular; saves the position on the page in bookmark and allows you to define more than one bookmark per page.
</para>
<para>
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
To manage bookmarks in &okular; you can use <guilabel>Bookmarks</guilabel> view from <guilabel>Sidebar</guilabel>, <link linkend="menubookmarks">Bookmarks menu</link> or context menu of document view (click with &RMB; to open it).
2012-06-19 15:02:49 +00:00
</para>
<sect2 id="bookmarks-view">
<title>Bookmarks view</title>
<para>
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
To open <guilabel>Bookmarks</guilabel> view, click on the <guilabel>Bookmarks</guilabel> tab at the top of the <guilabel>Sidebar</guilabel>. If the <guilabel>Sidebar</guilabel> is not shown, click the <guibutton>Show Sidebar</guibutton> button on the toolbar or the menu item, or the <menuchoice><shortcut><keycap>F7</keycap></shortcut> <guimenu>Settings</guimenu><guimenuitem>Show Sidebar</guimenuitem></menuchoice> menu item to make it visible.
2012-06-19 15:02:49 +00:00
</para>
<screenshot>
<screeninfo>Bookmark view context menu</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="bookmark-management.png" format="PNG" />
</imageobject>
<textobject>
<phrase>Bookmark view context menu</phrase>
</textobject>
</mediaobject>
</screenshot>
<para>
2022-02-02 07:51:27 +00:00
The <guilabel>Show for all documents</guilabel> checkbox can be unchecked to show only the bookmarks from the current document.
2012-06-19 15:02:49 +00:00
</para>
<para>
2022-02-02 07:51:27 +00:00
The filter bar at the top of <guilabel>Bookmarks</guilabel> view can be used to filter the content of bookmark list pane according to the text in the box.
2012-06-19 15:02:49 +00:00
</para>
<para>
2022-02-02 07:51:27 +00:00
The list pane permits to view the bookmark list in a tree-like fashion: each document in the list can be <quote>expanded</quote> or <quote>collapsed</quote> by clicking on the <guiicon><</guiicon> or <guiicon>v</guiicon> icon next to it.
2012-06-19 15:02:49 +00:00
</para>
<para>
Right-click menu of document item can be used to open document, rename its item or remove it from the list. Remember that the removal of a document item leads to the removal of all bookmarks in the corresponding document.
</para>
<para>
Right-click menus of individual bookmark items allow you to go to the bookmark, rename or remove it.
</para>
2017-11-07 10:01:42 +00:00
<para>
The Right-click menu of items in the table of contents can be used to create bookmarks or go to the next or previous bookmark.
</para>
2012-06-19 15:02:49 +00:00
</sect2>
</sect1>
2012-11-23 19:15:19 +00:00
<!-- Please keep this section content in sync with man page (man-okular.1.docbook) -->
<sect1 id="command-line-options">
<title>Command Line Options</title>
<para>
Though &okular; may most often be started from the &kde; program menu, or a desktop icon, it can also be opened at the command line prompt of a terminal window. There are a few useful options that are available when doing this.
</para>
<sect2 id="specify-a-file">
<title>Specify a File</title>
<para>
By specifying the path and name of a particular file the user can have &okular; open that file immediately upon startup. This option might look something like the following:
</para>
<informalexample><screen><prompt>%</prompt> <userinput><command>okular</command> <option><replaceable>/home/myhome/docs/mydoc.pdf</replaceable></option> </userinput> </screen>
</informalexample>
<note>
<para>
For &PDF; documents, the name can be given as <replaceable>document_name</replaceable>#<replaceable>named_destination</replaceable> where <replaceable>named_destination</replaceable> is a particular named destination embedded in the document.
</para>
</note>
</sect2>
<sect2 id="other-command-line-options">
<title>Other Command Line Options</title>
<para>
The following command line help options are available
</para>
<variablelist>
<varlistentry>
<term><userinput><command>okular</command>
2016-11-11 14:26:07 +00:00
<option>-p --page <replaceable>number</replaceable></option></userinput></term>
2012-11-23 19:15:19 +00:00
<listitem><para>Open a page with a given number in the document. Also available through <userinput><command>okular</command> <option>-p <replaceable>number</replaceable></option></userinput></para></listitem>
</varlistentry>
<varlistentry>
<term><userinput><command>okular</command>
<option>--presentation</option></userinput></term>
<listitem><para>Start the document in presentation mode.</para></listitem>
</varlistentry>
<varlistentry>
2013-03-11 22:42:13 +00:00
<term><userinput><command>okular</command>
<option>--print</option></userinput></term>
<listitem><para>Start with print dialog.</para></listitem>
2019-02-14 08:46:13 +00:00
</varlistentry>
<varlistentry>
2018-03-03 17:01:25 +00:00
<term><userinput><command>okular</command>
<option>--print-and-exit</option></userinput></term>
<listitem><para>Start with print dialog and exit after printing.</para></listitem>
2019-02-14 08:46:13 +00:00
</varlistentry>
2013-03-11 22:42:13 +00:00
<varlistentry>
2012-11-23 19:15:19 +00:00
<term><userinput><command>okular</command>
<option>--unique</option></userinput></term>
<listitem><para>Unique instance control.</para></listitem>
2019-02-14 08:46:13 +00:00
</varlistentry>
<varlistentry>
2013-03-09 15:56:38 +00:00
<term><userinput><command>okular</command>
<option>--noraise</option></userinput></term>
<listitem><para>Allows to prevent &okular; window raising after the start.</para></listitem>
2019-02-14 08:46:13 +00:00
</varlistentry>
<varlistentry>
<term><userinput><command>okular</command>
<option>--find <replaceable>string</replaceable></option></userinput></term>
<listitem><para>Tries to find and highlight a given string in the document. Only works if just one document is given as an argument of the <userinput><command>okular</command></userinput> command.</para></listitem>
</varlistentry>
2022-02-19 21:08:02 +00:00
<varlistentry>
<term><userinput><command>okular</command>
<option>--editor-cmd <replaceable>string</replaceable></option></userinput></term>
<listitem><para>Sets the external editor command. You cannot set the editor command in an already running &okular; instance. Please note that <option>--unique</option> is not supported when setting the editor command at the commandline.</para></listitem>
</varlistentry>
2012-11-23 19:15:19 +00:00
</variablelist>
</sect2>
</sect1>
2015-03-16 23:20:11 +00:00
<sect1 id="fit-window-to-page">
<title>Fit window to page</title>
<para>
The Fit window to page feature resizes the window so that it is exactly the same size as the page at the current zoom factor.
If the page doesn't completely fit on the screen, the window is enlarged so that the largest possible part of the page is shown.
</para>
<para>
2020-09-25 18:56:10 +00:00
This feature can be accessed by using the keyboard shortcut <keycombo action="simul">&Ctrl;<keycap>J</keycap></keycombo>.
2015-03-16 23:20:11 +00:00
</para>
</sect1>
2006-10-17 20:31:35 +00:00
</chapter>
2012-06-18 18:49:11 +00:00
2005-01-15 14:00:56 +00:00
<chapter id="primary-menu-items">
<title>The Menubar</title>
2006-01-02 15:39:21 +00:00
2005-01-15 14:00:56 +00:00
<sect1 id="menufile">
2010-09-14 20:58:51 +00:00
<title>The File Menu</title>
2005-01-15 14:00:56 +00:00
<variablelist>
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>O</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Open...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
2017-11-15 09:00:40 +00:00
<action>Open</action> a supported file or &okular; document archive. If there is already an opened file it will be closed. For more information, see the section about <link linkend="opening">Opening Files</link>.
2005-01-15 14:00:56 +00:00
</para>
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
2008-03-05 14:38:30 +00:00
<guisubmenu>Open Recent</guisubmenu>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
<para>
2005-12-23 11:25:55 +00:00
<action>Open</action> a file which was used previously from a
submenu. If a file is currently being displayed it
2012-06-18 18:49:11 +00:00
will be closed. For more information, see the section about
2005-12-23 11:25:55 +00:00
<link linkend="opening">Opening Files</link>.
2005-01-15 14:00:56 +00:00
</para>
</listitem>
</varlistentry>
2008-01-21 21:10:27 +00:00
<!--
<varlistentry>
<term>
<menuchoice>
<shortcut><keycap>G</keycap></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Get Books From Internet...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>to be written</para>
</listitem>
</varlistentry>
<-->
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
2009-02-02 21:47:29 +00:00
<guimenuitem>Import PostScript as &PDF;...</guimenuitem>
2008-01-21 21:10:27 +00:00
</menuchoice>
</term>
<listitem>
<para>
2013-03-11 16:36:58 +00:00
<action>Open</action> a &PostScript; file and convert it to &PDF;.
2008-01-21 21:10:27 +00:00
</para>
</listitem>
</varlistentry>
2020-01-08 19:46:06 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut>
<keycombo action="simul">&Ctrl;&Shift;<keycap>T</keycap></keycombo>
</shortcut>
<guimenu>File</guimenu>
<guimenuitem>Undo close tab</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Reopen</action> the last closed document. This action is active only if you have closed some document in tab during the current session.
</para>
</listitem>
</varlistentry>
2019-07-17 15:00:48 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Open Containing Folder</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Open</action> folder that contains the current document in your favorite file manager. This action is especially useful for the case when you have downloaded a &PDF; file from the internet that opens itself in &okular;. The location of this file may not be clear or easy to find without this feature.
</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
2016-11-11 14:26:07 +00:00
<shortcut>
<keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo>
</shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>File</guimenu>
2017-11-03 15:39:53 +00:00
<guimenuitem>Save</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2017-11-15 09:08:20 +00:00
<para><action>Saves</action> the document including all the changes (annotations, form contents, &etc;), provided the document backend supports saving those changes. If the backend does not support saving the changes, the user will be given the option to either discard or to save them together with the document in an &okular; document archive.</para>
2008-08-26 12:48:25 +00:00
</listitem>
</varlistentry>
2017-11-03 15:39:53 +00:00
<varlistentry>
2008-08-26 12:48:25 +00:00
<term>
<menuchoice>
2016-11-11 14:26:07 +00:00
<shortcut>
<keycombo action="simul">&Ctrl;&Shift;<keycap>S</keycap></keycombo>
</shortcut>
2008-08-26 12:48:25 +00:00
<guimenu>File</guimenu>
2017-11-03 15:39:53 +00:00
<guimenuitem>Save As...</guimenuitem>
2008-08-26 12:48:25 +00:00
</menuchoice>
</term>
<listitem>
2017-11-15 09:08:20 +00:00
<para><action>Saves</action> the document under a new name including all the changes (annotations, form contents, &etc;), provided the document backend supports saving changes. If the backend does not support saving the changes, the user will be given the option to either discard or to save them together with the document in an &okular; document archive.</para>
2017-11-03 15:39:53 +00:00
<note>
<para>
Note that, due to the way this is implemented, even if there are no changes to the file, the new file need not to be an exact bit-for-bit copy of the original file (⪚ can have a different SHA-1 hash, &etc;).
</para>
</note>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2008-01-21 21:10:27 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycap>F5</keycap></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Reload</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Reload</action> the currently open file.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>P</keycap></keycombo></shortcut>
<guimenu>File</guimenu>
<guimenuitem>Print...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
2018-12-24 15:36:52 +00:00
<action>Print</action> the currently displayed document. Please take into account that &okular; has some specific options for printing &PDF; which are available via pressing the <guibutton>Options >></guibutton> button then choosing the <guilabel>&PDF; Options</guilabel>. Use these options to print your annotations or configure rasterization mode if you have problems with printing some symbols or need to change the scale mode.
2005-01-15 14:00:56 +00:00
</para>
2018-12-24 15:36:52 +00:00
<note>
<para>
The scale mode options are only available when you check the <guilabel>Force rasterization</guilabel> option.
</para>
</note>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2012-06-18 18:49:11 +00:00
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Print Preview...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
2005-12-23 11:25:55 +00:00
<action>Show a preview</action> of how the currently displayed
document would be printed with the default options.
2005-01-15 14:00:56 +00:00
</para>
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
2020-06-03 09:43:14 +00:00
<shortcut><keycombo action="simul">&Alt;<keycap>Return</keycap></keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>File</guimenu>
<guimenuitem>Properties</guimenuitem>
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Display some basic information</action> about the document, such as
2006-10-16 18:17:29 +00:00
title, author, creation date, and details about the fonts used. The available information
depends on the type of document.</para>
2019-08-10 08:16:56 +00:00
<note>
<para>Please pay attention on the information about substituting font in the <guilabel>Fonts</guilabel> tab of the <guilabel>Properties</guilabel> dialog. Many problems with font rendering can be solved by installing of the substituted fonts.</para>
</note>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2006-10-17 20:31:35 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guimenuitem>Embedded Files...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Show the files embedded</action> in the document, if the document has any.
For more information, see the section about the
<link linkend="embedded-files">Embedded Files</link>.</para>
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2008-01-21 21:10:27 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guisubmenu>Export As</guisubmenu>
</menuchoice>
</term>
<listitem>
<para>This item contains the export formats the current document can be exported to.
2020-09-25 18:56:10 +00:00
The first entry for all kind of documents is always <guimenuitem>Plain Text...</guimenuitem>.</para>
2009-02-02 21:47:29 +00:00
<para>The second entry is <guimenuitem>Document Archive</guimenuitem>, which allows you to save the document with your annotations into an &okular;-specific archive format. Thus it is easily possible to share the original document and your annotations with other &okular; users or work with them collaboratively.</para>
2008-01-21 21:10:27 +00:00
</listitem>
2017-10-16 09:08:45 +00:00
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>File</guimenu>
<guisubmenu>Share</guisubmenu>
</menuchoice>
</term>
<listitem>
<para>This item contains the services which can be used to share the current document with other people or send it to your devices.
The entries in this sub-menu are controlled by the system. They depend on the current document format and the installed KPurpose plugins.</para>
</listitem>
2008-01-21 21:10:27 +00:00
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>File</guimenu>
<guimenuitem>Quit</guimenuitem>
</menuchoice>
</term>
<listitem>
2006-10-16 18:17:29 +00:00
<para><action>Close</action> &okular;.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
</variablelist>
</sect1>
2006-01-02 15:39:21 +00:00
2005-01-15 14:00:56 +00:00
<sect1 id="menuedit">
2010-09-14 20:58:51 +00:00
<title>The Edit Menu</title>
2013-04-06 14:01:41 +00:00
<variablelist>
<varlistentry>
<term>
<anchor id="edit-undo"/>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>Z</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Undo</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Undo</action> the last annotation editing command (creation and removal of annotations, editing arbitrary annotation properties, relocating annotations with &Ctrl;+drag, and editing the text contents of an annotation).</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<anchor id="edit-redo"/>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>Z</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Redo</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Redo</action> the last undo step when editing annotations.</para>
</listitem>
</varlistentry>
</variablelist>
2008-01-21 21:10:27 +00:00
<variablelist>
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>C</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Copy</guimenuitem>
</menuchoice>
</term>
<listitem>
2012-06-18 18:49:11 +00:00
<para><action>Copy</action> the currently selected text in
2021-10-18 09:23:49 +00:00
<guibutton>Text Selection</guibutton> mode to the clipboard.</para>
2008-01-21 21:10:27 +00:00
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>A</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Select All</guimenuitem>
</menuchoice>
</term>
<listitem>
2012-06-18 18:49:11 +00:00
<para><action>Selects</action> all the text (if the document provides it). This works only in
2021-10-18 09:23:49 +00:00
<guibutton>Text Selection</guibutton> mode.</para>
2008-01-21 21:10:27 +00:00
</listitem>
</varlistentry>
</variablelist>
2005-01-15 14:00:56 +00:00
<variablelist>
<varlistentry>
Add action in Edit menu to select the text on current page
BUG: 358868
Test Plan: Click on "Select All Text on Current Page" entry in Edit menu to select the entire page. The selected text can then be copied via Edit menu item "Copy"
Reviewers: aacid, #vdg, ngraham
Reviewed By: #vdg, ngraham
Subscribers: yurchor, michaelweghorn, kde-doc-english, davidhurka, abetts, loh.tar, alexde, ngraham, okular-devel
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D18744
2019-04-21 23:06:54 +00:00
<term>
<menuchoice>
<guimenu>Edit</guimenu>
<guimenuitem>Select All Text on Current Page</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Selects</action> all the text (if the document provides it) of the current page.
</para>
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
2005-01-15 14:00:56 +00:00
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>F</keycap></keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>Edit</guimenu>
<guimenuitem>Find...</guimenuitem>
</menuchoice>
</term>
<listitem>
2007-08-15 12:44:58 +00:00
<para>
Show the find bar on the bottom of the viewing area that allows you to
<action>search for a string in the document</action>.
</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycap>F3</keycap></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Find Next</guimenuitem>
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para>Try to <action>find the previous searched string again</action> in the document.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2009-03-13 23:46:12 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Shift;<keycap>F3</keycap></keycombo></shortcut>
<guimenu>Edit</guimenu>
<guimenuitem>Find Previous</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Goes to the previous occurrence of the search string</action> in the document.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2012-06-18 18:49:11 +00:00
2005-01-15 14:00:56 +00:00
<sect1 id="menuview">
2010-09-14 20:58:51 +00:00
<title>The View Menu</title>
2005-01-15 14:00:56 +00:00
<variablelist>
<varlistentry>
<term>
<menuchoice>
2005-11-21 09:11:07 +00:00
<shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>P</keycap></keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>View</guimenu>
<guimenuitem>Presentation</guimenuitem>
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Activates</action> the Presentation Mode. For more information, see the
section about <link linkend="presentationMode">Presentation Mode</link>.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2020-06-03 10:00:26 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;&Shift;<keycap>F</keycap></keycombo></shortcut>
<guimenu>View</guimenu>
<guimenuitem>Full Screen Mode</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Enables the full screen mode</action>. Note that
full screen mode is different from presentation mode insofar as the
only peculiarity of full screen mode is that it hides the window
decorations, the menubar and the toolbar.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>+</keycap></keycombo></shortcut>
<guimenu>View</guimenu>
<guimenuitem>Zoom In</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Increase the magnification</action> of the document view.</para>
</listitem>
</varlistentry>
2003-10-18 22:58:55 +00:00
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>-</keycap></keycombo></shortcut>
<guimenu>View</guimenu>
<guimenuitem>Zoom Out</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Decrease the magnification</action> of the document view.</para>
</listitem>
</varlistentry>
2018-10-28 12:24:01 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
<guimenuitem>Zoom to 100%</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Zoom the document image to the actual size</action> as prescribed by the document parameters.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2006-11-10 22:55:59 +00:00
<guimenuitem>Fit Width</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Change the magnification</action> of the document
view to a value that makes the pages' width equal to the document
view's width.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2006-11-10 22:55:59 +00:00
<guimenuitem>Fit Page</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Change the magnification</action> of the document view
to a value that makes at least one whole page visible.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2013-08-18 15:19:20 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
<guimenuitem>Auto Fit</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Change the magnification</action> of the document view
2013-11-19 23:18:55 +00:00
to a value that, depending on the size relation between the page and the view area, automatically either makes the pages' width equal to the document view's width (like fit-width), the pages' height equal to the document view's height (like fit-height), or the whole page visible (like fit-page).</para>
2013-08-18 15:19:20 +00:00
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2008-01-21 21:10:27 +00:00
<guisubmenu>View Mode</guisubmenu>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2006-10-16 18:17:29 +00:00
<para>This submenu makes you choose the view mode for the pages. The possible
2007-08-15 12:44:58 +00:00
options are: <guimenuitem>Single Page</guimenuitem> (only one page per row),
2012-06-18 18:49:11 +00:00
<guimenuitem>Facing Pages</guimenuitem> (two pages per row, in a book style),
2010-09-14 20:58:51 +00:00
<guimenuitem>Facing Pages (Center First Page)</guimenuitem> and
2006-10-16 18:17:29 +00:00
<guimenuitem>Overview</guimenuitem> (the number of columns is the one
specified in the <link linkend="configure">&okular; settings</link>).</para>
2020-03-12 21:03:47 +00:00
<para>Additionally, you can enable the <guimenuitem>Continuous</guimenuitem> mode.
In continuous mode, all pages of the document are shown, and you can smoothly
scroll through them. Otherwise, only one page (or one row of pages) is shown
at a time.</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2008-01-21 21:10:27 +00:00
<guisubmenu>Orientation</guisubmenu>
2006-10-16 18:17:29 +00:00
</menuchoice>
</term>
<listitem>
2007-08-15 12:44:58 +00:00
<para>
This submenu allows you to <action>changes the orientation</action>
of the pages of the document.
</para>
<note>
<para>
The rotation is applied to the orientation of every page.
</para>
</note>
<para>
You can select <guimenuitem>Original Orientation</guimenuitem> to restore
the orientation of the document, discarding all the rotations applied
manually.
</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2008-08-26 12:48:25 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2015-08-29 13:17:42 +00:00
<guisubmenu>Trim View</guisubmenu>
2008-08-26 12:48:25 +00:00
</menuchoice>
</term>
<listitem>
<para>
2015-08-29 13:17:42 +00:00
This submenu allows you to remove the white border of pages when viewing pages (<guimenuitem>Trim Margins</guimenuitem> item) or trim viewport to selection (<guimenuitem>Trim To Selection</guimenuitem> item).
</para>
<para>
The <quote>trim to selection</quote> mode allows you to draw a selection over the rendered page in order to define a visible bounding box to be applied to <emphasis>all pages</emphasis> in the document. Selecting a small trim bounding box enforces minimum dimensions size (20% as a percentage of total page size).
</para>
<para>
The <quote>trim margins</quote> mode is persistent across &okular; restarts. The <quote>trim to selection</quote> mode is forgotten across &okular; restarts.
</para>
<para>
When you switch &okular; from <quote>trim margins</quote> mode to <quote>trim to selection</quote> mode, the view jumps out of <quote>trim margins</quote> mode for the bounding box selection interaction.
</para>
<para>
The trim mode can be deactivated by selecting the same menu item that activates it once again.
2008-08-26 12:48:25 +00:00
</para>
</listitem>
</varlistentry>
2007-08-15 12:44:58 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>View</guimenu>
2008-02-03 20:52:59 +00:00
<guimenuitem>Show/Hide Forms</guimenuitem>
2007-08-15 12:44:58 +00:00
</menuchoice>
</term>
<listitem>
<para>
<action>Show or hides the display</action> of the form fields of the
document.
</para>
<note>
<para>
2008-01-21 21:10:27 +00:00
This menu item is active only if the current document has form
2007-08-15 12:44:58 +00:00
fields.
</para>
</note>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
</variablelist>
2010-09-14 20:58:51 +00:00
<!-- Crtl + mouse wheel zoom in + out-->
2005-01-15 14:00:56 +00:00
</sect1>
2006-01-02 15:39:21 +00:00
2005-01-15 14:00:56 +00:00
<sect1 id="menugo">
2010-09-14 20:58:51 +00:00
<title>The Go Menu</title>
2005-01-15 14:00:56 +00:00
<variablelist>
2005-11-21 09:11:07 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Previous Page</guimenuitem>
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>View the previous page</action> of the document.</para>
2005-11-21 09:11:07 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>Go</guimenu>
<guimenuitem>Next Page</guimenuitem>
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>View the next page</action> of the document.</para>
</listitem>
2005-11-21 09:11:07 +00:00
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
2020-09-25 18:56:10 +00:00
<shortcut><keycombo action="simul">&Ctrl;&Home;</keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>Go</guimenu>
2010-10-05 18:44:18 +00:00
<guimenuitem>Beginning of the document</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2010-10-05 18:44:18 +00:00
<para><action>Go to the beginning</action> of the document.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
2020-09-25 18:56:10 +00:00
<shortcut><keycombo action="simul">&Ctrl;&End;</keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>Go</guimenu>
2010-10-05 18:44:18 +00:00
<guimenuitem>End of the document</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2010-10-05 18:44:18 +00:00
<para><action>Go to the end</action> of the document.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
2020-09-25 18:56:10 +00:00
<shortcut><keycombo action="simul">&Alt;&Shift;&Left;</keycombo></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>Go</guimenu>
2013-01-24 19:50:06 +00:00
<guimenuitem>Back</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Go back to the previous view</action> of the document.</para>
2005-11-21 09:11:07 +00:00
</listitem>
2005-01-15 14:00:56 +00:00
</varlistentry>
<varlistentry>
<term>
<menuchoice>
2020-09-25 18:56:10 +00:00
<shortcut><keycombo action="simul">&Alt;&Shift;&Right;</keycombo></shortcut>
2005-03-02 17:19:43 +00:00
<guimenu>Go</guimenu>
2013-01-24 19:50:06 +00:00
<guimenuitem>Forward</guimenuitem>
2006-01-02 15:39:21 +00:00
</menuchoice>
2005-01-15 14:00:56 +00:00
</term>
<listitem>
2005-12-23 11:25:55 +00:00
<para><action>Move forward to the next view</action> of the document. This only works if you have already moved back before.</para>
2005-11-21 09:11:07 +00:00
</listitem>
</varlistentry>
2006-10-16 18:17:29 +00:00
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>G</keycap></keycombo></shortcut>
2006-10-16 18:17:29 +00:00
<guimenu>Go</guimenu>
2008-01-21 21:10:27 +00:00
<guimenuitem>Go to Page...</guimenuitem>
2006-10-16 18:17:29 +00:00
</menuchoice>
</term>
<listitem>
2007-08-15 12:44:58 +00:00
<para>Open a dialog which allows you to <action>go to any page</action> of the document.</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2007-08-15 12:44:58 +00:00
</variablelist>
</sect1>
<sect1 id="menubookmarks">
2010-09-14 20:58:51 +00:00
<title>The Bookmarks Menu</title>
2007-08-15 12:44:58 +00:00
<variablelist>
2006-10-16 18:17:29 +00:00
<varlistentry>
<term>
<menuchoice>
2008-01-21 21:10:27 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>B</keycap></keycombo></shortcut>
2007-08-15 12:44:58 +00:00
<guimenu>Bookmarks</guimenu>
<guimenuitem>Add/Remove Bookmark</guimenuitem>
2006-10-16 18:17:29 +00:00
</menuchoice>
</term>
<listitem>
2007-08-15 12:44:58 +00:00
<para>
2012-06-19 15:13:30 +00:00
<action>Add or remove a bookmark for the current position</action>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>Bookmarks</guimenu>
<guimenuitem>Rename Bookmark</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>
<action>Rename a bookmark for the current position</action>.
2007-08-15 12:44:58 +00:00
</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2005-11-21 09:11:07 +00:00
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<guimenu>Bookmarks</guimenu>
<guimenuitem>Previous Bookmark</guimenuitem>
2006-01-02 15:39:21 +00:00
</menuchoice>
2005-11-21 09:11:07 +00:00
</term>
<listitem>
2012-06-19 18:09:34 +00:00
<para><action>Go to the previous bookmark</action>, or do nothing if there
are no bookmarks prior to the current one.</para>
2007-08-15 12:44:58 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
<guimenu>Bookmarks</guimenu>
<guimenuitem>Next Bookmark</guimenuitem>
</menuchoice>
</term>
<listitem>
2012-06-19 18:09:34 +00:00
<para><action>Go to the next bookmark</action>, or do nothing if there
are no bookmarks after the current one.</para>
2005-11-21 09:11:07 +00:00
</listitem>
</varlistentry>
2008-01-21 21:10:27 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Bookmarks</guimenu>
<guimenuitem>No Bookmarks</guimenuitem>
</menuchoice>
</term>
<listitem>
2012-06-18 18:49:11 +00:00
<para>This is an always disabled action that appears in this menu only if the current document has
2012-06-19 18:09:34 +00:00
no bookmarks. Otherwise a list of all bookmarks is displayed here. Clicking on these bookmarks
allows you to go directly to the associated position.</para>
2008-01-21 21:10:27 +00:00
</listitem>
</varlistentry>
2005-11-21 09:11:07 +00:00
</variablelist>
</sect1>
2006-01-02 15:39:21 +00:00
2005-11-21 09:11:07 +00:00
<sect1 id="menutools">
2010-09-14 20:58:51 +00:00
<title>The Tools Menu</title>
2005-11-21 09:11:07 +00:00
<variablelist>
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>1</keycap></keycombo></shortcut>
2005-11-21 09:11:07 +00:00
<guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Browse</guimenuitem>
2005-11-21 09:11:07 +00:00
</menuchoice>
</term>
<listitem>
2009-10-05 13:52:42 +00:00
<para>The mouse will have its normal behavior, &LMB; for dragging the document and following links and &RMB; for adding bookmarks and fit to width.</para>
2005-11-21 09:11:07 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>2</keycap></keycombo></shortcut>
2005-11-21 09:11:07 +00:00
<guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Zoom</guimenuitem>
2005-11-21 09:11:07 +00:00
</menuchoice>
</term>
<listitem>
<para>The mouse will work as a zoom tool. Clicking &LMB; and dragging will zoom the view to the selected area, clicking &RMB; will bring the document back to the previous zoom.</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>3</keycap></keycombo></shortcut>
2005-11-21 09:11:07 +00:00
<guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Area Selection</guimenuitem>
2005-11-21 09:11:07 +00:00
</menuchoice>
</term>
<listitem>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<para>The mouse will work as a rectangular region selection tool. In that mode clicking &LMB; and dragging will draw a selection box and provide the option of copying the selected content to the clipboard, speaking the selected text, or transforming the selection region into an image and saving it to a file.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2006-10-16 18:17:29 +00:00
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycombo action="simul">&Ctrl;<keycap>4</keycap></keycombo></shortcut>
2006-10-16 18:17:29 +00:00
<guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Text Selection</guimenuitem>
2006-10-16 18:17:29 +00:00
</menuchoice>
</term>
<listitem>
<para>The mouse will work as a text selection tool. In that mode clicking &LMB; and
dragging will give the option of selecting the text of the document. Then, just
click with the &RMB; to copy to the clipboard or speak the current selection.</para>
</listitem>
</varlistentry>
2013-01-24 19:50:06 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>5</keycap></keycombo></shortcut>
<guimenu>Tools</guimenu>
Regularize tool names
Summary:
Currently, some of the items in the {nav Tools} menu have "tool" in the name, and some
do not. This is in any event redundant since they're in a menu with that word in it
already. In the toolbar, these actions become more inconsistent since their names change
and can even differ between what's shown in the pop-up menu and what's shown on the
button text.
This patch regularizes the names, stops changing the names for the toolbar versions, and
updates the docbook accordingly.
Test Plan:
{F6874459, size=full}
{F6874458, size=full}
Reviewers: #okular, #vdg, filipf
Reviewed By: #vdg, filipf
Subscribers: filipf, okular-devel, kde-doc-english
Tags: #okular, #documentation
Differential Revision: https://phabricator.kde.org/D21621
2019-06-06 14:46:43 +00:00
<guimenuitem>Table Selection</guimenuitem>
2013-01-24 19:50:06 +00:00
</menuchoice>
</term>
<listitem>
2020-12-25 13:04:44 +00:00
<para>
Draw a rectangle around the text for the table,
then click with the &LMB; to divide the text block into rows and columns.
A &LMB; click on an existing line removes it and merges the adjacent rows or columns.
Finally, just click with the &RMB; to copy the table to the clipboard.
</para>
2013-01-24 19:50:06 +00:00
</listitem>
</varlistentry>
2014-02-25 06:47:39 +00:00
<varlistentry>
<term>
<menuchoice>
<shortcut><keycombo action="simul">&Ctrl;<keycap>6</keycap></keycombo></shortcut>
<guimenu>Tools</guimenu>
<guimenuitem>Magnifier</guimenuitem>
</menuchoice>
</term>
<listitem>
<para>Activates the magnifier mode for the mouse pointer. Press and hold the &LMB; to activate magnifier widget, move the pointer for panning through the document. The magnifier scales each pixel in the document into 10 pixels in the magnifier widget.</para>
</listitem>
</varlistentry>
2006-10-16 18:17:29 +00:00
<varlistentry>
<term>
<menuchoice>
2008-01-21 21:10:27 +00:00
<shortcut><keycap>F6</keycap></shortcut>
2006-10-16 18:17:29 +00:00
<guimenu>Tools</guimenu>
2020-06-04 18:30:08 +00:00
<guimenuitem>Annotations</guimenuitem>
2006-10-16 18:17:29 +00:00
</menuchoice>
</term>
<listitem>
2020-06-04 18:30:08 +00:00
<para><action>Open the annotating toolbar</action>. The annotating toolbar allows you to add
2006-10-17 20:31:35 +00:00
annotations on the document you are reading. For more information, please see the
section about <link linkend="annotations">Annotations</link>.</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2020-11-30 15:34:25 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Digitally Sign...</guimenuitem>
</menuchoice>
</term>
<listitem>
<para><action>Starts the digital signature creation workflow</action>. Addition of digital signatures is only supported for PDF files at this point. For more information, please see the section about <link linkend="adding_digital_signatures">Adding Digital Signatures</link>.</para>
</listitem>
</varlistentry>
2008-08-26 12:48:25 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Speak Whole Document</guimenuitem>
</menuchoice>
</term>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Speak Current Page</guimenuitem>
</menuchoice>
</term>
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Stop Speaking</guimenuitem>
</menuchoice>
</term>
2019-11-02 17:23:45 +00:00
<term>
<menuchoice>
<guimenu>Tools</guimenu>
<guimenuitem>Pause/Resume Speaking</guimenuitem>
</menuchoice>
</term>
2008-08-26 12:48:25 +00:00
<listitem>
2018-10-10 18:29:46 +00:00
<para>These items allow you to speak the whole document or just the current page and stop speaking using the system speech service.
2019-11-02 17:23:45 +00:00
This service is provided by a &Qt; library which wraps speech-dispatcher on &Linux;, and native speech systems on other platforms.
It is possible to choose the current voice via &okular; <link linkend="configaccessibility">Accessibility</link> configuration page.</para>
2018-10-10 18:29:46 +00:00
<para>The <guilabel>Speak ...</guilabel> actions are enabled only if a speech service is available in the system.</para>
2008-08-26 12:48:25 +00:00
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2006-01-02 15:39:21 +00:00
2016-11-29 01:22:59 +00:00
<sect1 id="settings-help-menu">
<title>The Settings and Help Menu</title>
<para>Apart from the common &kde; <guimenu>Settings</guimenu> and <guimenu>Help</guimenu> menus described
2019-11-26 15:28:15 +00:00
in the <ulink url="help:/fundamentals/menus.html">Menu</ulink> chapter of the &kde; Fundamentals documentation
2016-11-29 01:22:59 +00:00
&okular; has these application specific menu entries:</para>
2005-01-15 14:00:56 +00:00
<variablelist>
<varlistentry>
<term>
<menuchoice>
2007-08-15 12:44:58 +00:00
<shortcut><keycap>F7</keycap></shortcut>
2005-01-15 14:00:56 +00:00
<guimenu>Settings</guimenu>
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
<guimenuitem>Show Sidebar</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
Improve the sidebar's navigation and UX
Okular's sidebar vertical view chooser toolbar suffers from a few issues:
* It's a nonstandard UI not used for category choosers in other pieces of KDE software,
and not used in other FOSS document readers
* What is shown and what is hidden is simultaneously too configurable while still not
offering the desirable UI common to other programs (i.e. no visible category chooser,
but a sidebar capable of displaying thumbnails, table of contents, search results, etc.)
* With labels on it takes up quite a bit of horizontal space, while with labels off, the
categories are less than clear
* UX is kind of clunky with nonstandard behaviors (e.g. clicking on the current category
to hide that category's view while keeping the view chooser visible, showing mostly
disabled items)
* It's made with custom painting code, which reduces maintainability and introduces bugs
(e.g. https://bugs.kde.org/show_bug.cgi?id=408190)
This patch removes the vertical category chooser entirely and replaces it with a tabbed
view on the top of the sidebar itself. The tabs are icons-only and have large icons. A
button is added on the left side of the default toolbar to quickly hide or show the
sidebar. In order to make room for the new button, the Previous and Next buttons on the
toolbar are removed, as previous/next buttons are already present on the Page Bar on the
bottom of the window so there's no need to duplicate this functionality. This improves
the UX, fixes a variety of bugs, and deletes a lot of custom code of dubious long-term
maintainability.
![vokoscreenNG-2020-04-16_13-29-24](https://invent.kde.org/graphics/okular/uploads/a1f96a315b69282df51de9993b1befaf/vokoscreenNG-2020-04-16_13-29-24.webm)
BUG: 213508
BUG: 334441
BUG: 344599
BUG: 408190
CCBUG: 335189
FIXED-IN: 1.11.0
CHANGELOG: The sidebar can now be easily shown or hidden with a toolbar button, and the category chooser no longer takes up so much space
2020-05-27 13:37:42 +00:00
<para><action>Shows or hides the Sidebar.</action></para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2012-06-19 06:28:31 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Show Page Bar</guimenuitem>
</menuchoice>
</term>
<listitem>
2020-06-03 17:43:03 +00:00
<para><action>Toggle the page bar</action> at the bottom of document area on and off to save vertical place in &okular; window. Note that the page numbers will be shown on the default toolbar anyway.</para>
2012-06-19 06:28:31 +00:00
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
<term>
<menuchoice>
<guimenu>Settings</guimenu>
2008-01-21 21:10:27 +00:00
<guimenuitem>Configure Backends...</guimenuitem>
2005-01-15 14:00:56 +00:00
</menuchoice>
</term>
<listitem>
2013-03-03 16:37:25 +00:00
<para>Opens the <link linkend="configure-backends">Backend Configuration</link>
2005-01-15 14:00:56 +00:00
window.</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
2012-06-18 18:49:11 +00:00
2005-01-15 14:00:56 +00:00
</chapter>
2013-03-03 16:37:25 +00:00
<chapter id="configure-backends">
<title>Configuring &okular; Backends</title>
<para>
You can configure &okular; backends by choosing <menuchoice>
<guimenu>Settings</guimenu>
<guimenuitem>Configure Backends...</guimenuitem>
</menuchoice>.
2013-05-19 18:16:32 +00:00
Currently, configuration options are provided for EPub, &PostScript;, FictionBook, Txt, OpenDocument Text, and &PDF; backends only.
2013-03-03 16:37:25 +00:00
</para>
<screenshot>
<screeninfo>The backends configuration dialog</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="configure-backends.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The backends configuration dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
2013-05-19 11:23:53 +00:00
<para>
2019-04-01 10:42:17 +00:00
Using backend configuration pages for EPub, FictionBook, Mobipocket, Markdown, TXT, and OpenDocument Text you can define the font to render documents in the corresponding formats. The <guibutton>Choose...</guibutton> button in these pages opens standard &kde; font configuration window. Please refer to the <ulink url="help:/fundamentals/fonts.html">&kde; Fundamentals documentation</ulink> for the details.
2013-05-19 11:23:53 +00:00
</para>
<para>
2019-04-01 10:42:17 +00:00
The description of Markdown, &PostScript; and &PDF; backends configuration pages can be found below.
2013-05-19 11:23:53 +00:00
</para>
2019-04-01 10:42:17 +00:00
<sect1 id="config-markdown">
<title>Markdown backend configuration</title>
<para>
You can configure &okular; Markdown rendering backend based on <ulink url="https://www.pell.portland.or.us/~orc/Code/markdown/">Discount</ulink> by choosing <guilabel>Markdown</guilabel> from the list on the left part of the configuration dialog. An additional configurable option is as follows.
</para>
<para>
<variablelist>
<varlistentry>
<term>
<guilabel>Enable SmartyPants formatting</guilabel>
</term>
<listitem>
<para>When checked this option allows &okular; to process <ulink url="https://daringfireball.net/projects/smartypants/">SmartyPants</ulink> formatting. Such formatting can be troublesome in the technical texts because of unwanted substitutions (⪚, it replaces <literal>(C)</literal> with a copyright symbol). This option is checked by default.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect1>
2013-03-03 16:37:25 +00:00
<sect1 id="config-ghostscript">
2013-03-11 16:36:58 +00:00
<title>&PostScript; backend configuration</title>
2013-03-03 16:37:25 +00:00
<para>
2020-09-25 18:56:10 +00:00
You can configure &okular; &PostScript; rendering backend based on <ulink url="https://www.ghostscript.com/">Ghostscript</ulink> by choosing <guilabel>Ghostscript</guilabel> from the list on the left part of the configuration dialog. The only configurable option is as follows.
2013-03-03 16:37:25 +00:00
</para>
<para>
<variablelist>
<varlistentry>
<term>
<guilabel>Use platform fonts</guilabel>
</term>
<listitem>
<para>This option determines whether Ghostscript should be allowed to use platform fonts, if unchecked only usage of fonts embedded in the document will be allowed. This option is checked by default.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect1>
<sect1 id="config-pdf">
<title>&PDF; backend configuration</title>
<para>
2020-09-25 18:56:10 +00:00
You can configure &okular; &PDF; rendering backend based on <ulink url="https://poppler.freedesktop.org/">Poppler</ulink> by choosing <guilabel>&PDF;</guilabel> from the list on the left part of the configuration dialog. The only configurable option is as follows.
2013-03-03 16:37:25 +00:00
</para>
<para>
<variablelist>
<varlistentry>
<term>
<guilabel>Enhance thin lines</guilabel>
</term>
<listitem>
<para>
Drawing lines in &okular; is implemented in two steps: generation of the clipping path and filling this clipping path. When the line in the original document is less than one pixel this two step implementation could cause problems. For those lines, the clipping path is filled with the filling color that depends on the thickness of the line part inside the clipping area. If the part of the line inside the clipping area gets very small the contrast between the shape and the background color can become too low for the line to be recognizable. The grids of such lines then looks very unpretty.
</para>
2013-03-10 19:55:10 +00:00
<informaltable>
<tgroup cols="2">
<tbody>
<row>
<entry>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="enhance-thinline.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</para>
</entry>
<entry>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="enhance-lowcontrast.png" format="PNG"/>
</imageobject>
</mediaobject>
</screenshot>
</para>
</entry>
</row>
<row>
<entry>Thin line (red), its clipping path (dashed line) and pixel boundaries (black solid lines)</entry>
<entry>Thin line shown at a low contrast</entry>
</row>
</tbody>
</tgroup>
</informaltable>
2013-03-03 16:37:25 +00:00
<para>
To enhance the look of the thin lines &okular; implements two options.
</para>
<para>
2013-03-10 19:55:10 +00:00
The first option is <guimenuitem>Solid</guimenuitem>. With this option &okular; adjusts clipping path and line position so that clipping path and line are on the same pixel boundary, &ie; &okular; enlarges the thin lines to one pixel on the output device. This mode is similar to the <guilabel>Enhance thin lines</guilabel> in <trademark class="registered">Adobe</trademark>
<trademark class="registered">Reader</trademark>. If this option is chosen, the thin lines are always enlarged.
</para>
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="enhance-solid.png" format="PNG"/>
</imageobject>
<textobject>
<phrase>Thin line with <guimenuitem>Solid</guimenuitem> enhancement</phrase>
</textobject>
<caption>
<para>Thin line with <guimenuitem>Solid</guimenuitem> enhancement</para>
</caption>
</mediaobject>
</screenshot>
2013-03-03 16:37:25 +00:00
</para>
<para>
The second option is <guimenuitem>Shape</guimenuitem>. With this option the clipping path and line are adjusted to pixel boundary as well, but the line intensity is corrected according to its width.
</para>
2013-03-10 19:55:10 +00:00
<para>
<screenshot>
<mediaobject>
<imageobject>
<imagedata fileref="enhance-shape.png" format="PNG"/>
</imageobject>
<textobject>
<phrase>Thin line with <guimenuitem>Shape</guimenuitem> enhancement</phrase>
</textobject>
<caption>
<para>Thin line with <guimenuitem>Shape</guimenuitem> enhancement</para>
</caption>
</mediaobject>
</screenshot>
</para>
2013-03-03 16:37:25 +00:00
<para>
The thin lines are not enhanced by default (option <guimenuitem>No</guimenuitem>).
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
2020-12-14 15:06:32 +00:00
<sect2 id="config-pdf-digital-signatures">
2020-11-30 15:34:25 +00:00
<title>&PDF; Digital Signature Certificates</title>
<para>
<screenshot><mediaobject><imageobject><imagedata fileref="config-pdf-digital-signatures.png" format="PNG"/></imageobject></mediaobject></screenshot>
This section allows you to set a custom Certificate Database to use when adding Digital Signatures to &PDF; files.
</para>
<para>
It also lists the certificates available in the current Certificate Database (if any).
</para>
2020-12-14 15:06:32 +00:00
</sect2>
2013-03-03 16:37:25 +00:00
</sect1>
</chapter>
2005-12-23 11:25:55 +00:00
<chapter id="configure">
2006-10-16 18:17:29 +00:00
<title>Configuring &okular;</title>
2005-12-23 11:25:55 +00:00
<sect1 id="configindex">
2006-10-16 18:17:29 +00:00
<title>General configuration</title>
2005-12-23 11:25:55 +00:00
<para>
2006-10-16 18:17:29 +00:00
You can configure &okular; by choosing <menuchoice><guimenu>Settings</guimenu>
<guimenuitem>Configure &okular;...</guimenuitem></menuchoice>.
2009-10-05 13:52:42 +00:00
The configuration dialog is split into six sections. This chapter describes the available
2005-12-23 11:25:55 +00:00
options in detail.
</para>
<itemizedlist>
<listitem>
<para><link linkend="configgeneral">General</link></para>
</listitem>
<listitem>
<para><link linkend="configaccessibility">Accessibility</link></para>
</listitem>
<listitem>
<para><link linkend="configperformance">Performance</link></para>
</listitem>
<listitem>
<para><link linkend="configpresentation">Presentation</link></para>
</listitem>
2006-11-10 22:55:59 +00:00
<listitem>
2013-05-23 18:41:33 +00:00
<para><link linkend="configannotations">Annotations</link></para>
2006-11-10 22:55:59 +00:00
</listitem>
2009-05-22 19:07:45 +00:00
<listitem>
<para><link linkend="configeditor">Editor</link></para>
</listitem>
2005-12-23 11:25:55 +00:00
</itemizedlist>
<screenshot>
2009-10-05 13:52:42 +00:00
<screeninfo>The configuration dialog</screeninfo>
2005-12-23 11:25:55 +00:00
<mediaobject>
<imageobject>
2006-05-21 21:43:45 +00:00
<imagedata fileref="configure.png" format="PNG" />
2005-12-23 11:25:55 +00:00
</imageobject>
<textobject>
2009-10-05 13:52:42 +00:00
<phrase>The configuration dialog</phrase>
2005-12-23 11:25:55 +00:00
</textobject>
</mediaobject>
</screenshot>
2006-10-16 18:17:29 +00:00
<para>
2006-10-19 20:02:07 +00:00
Depending on the currently installed backends, the <menuchoice><guimenu>Settings</guimenu>
2006-10-16 18:17:29 +00:00
<guimenuitem>Configure Backends...</guimenuitem></menuchoice> menu item could be enabled.
2009-10-05 13:52:42 +00:00
This particular configuration dialog holds the configurations of the backends that can
2006-10-16 18:17:29 +00:00
actually be configured.
</para>
2005-12-23 11:25:55 +00:00
</sect1>
<sect1 id="configgeneral">
2005-01-15 14:00:56 +00:00
<title>General</title>
<variablelist>
2020-09-21 20:11:59 +00:00
<varlistentry>
<term><guilabel>Use smooth scrolling</guilabel></term>
<listitem>
<para>Whether to display animated transitions when scrolling using the mouse wheel and keyboard.</para>
</listitem>
</varlistentry>
2006-10-16 18:17:29 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Show scrollbars</guilabel></term>
2006-10-16 18:17:29 +00:00
<listitem>
<para>Whether to show scrollbars for the document view.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Link the thumbnails with the page</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
2005-12-23 11:25:55 +00:00
<para>Whether the thumbnails view should always display the current
2005-01-15 14:00:56 +00:00
page or not.</para>
</listitem>
</varlistentry>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Show hints and info messages</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
2006-10-16 18:17:29 +00:00
<para>Whether to show some informative messages on startup, file
2013-04-25 19:28:41 +00:00
load, &etc;</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2021-04-23 03:44:44 +00:00
<varlistentry>
<term><guilabel>Notify about embedded files, forms, or signatures</guilabel></term>
<listitem>
<para>Whether to show informative panels about embedded files, forms
or signatures &etc;</para>
</listitem>
</varlistentry>
2012-06-18 18:49:11 +00:00
<varlistentry>
2013-01-21 19:38:45 +00:00
<term><guilabel>Display document title in titlebar if available</guilabel></term>
2012-06-18 18:49:11 +00:00
<listitem>
2013-01-21 19:38:45 +00:00
<para>Whether to show the current document title in the titlebar of &okular; window. If no metadata for title
2012-06-18 18:49:11 +00:00
found in the document or this item is unchecked &okular; shows filename of the document.
</para>
</listitem>
</varlistentry>
2012-09-09 07:57:33 +00:00
<varlistentry>
<term><guilabel>When not displaying document title</guilabel></term>
<listitem>
<para>You can choose any of two options, <guilabel>Display file name only</guilabel> or <guilabel>Display full file path</guilabel>.
</para>
</listitem>
</varlistentry>
2017-10-02 16:13:39 +00:00
<varlistentry>
<term><guilabel>Use custom background color</guilabel></term>
2005-12-23 11:25:55 +00:00
<listitem>
2017-10-02 16:13:39 +00:00
<para>Enables <ulink url="help:/fundamentals/colors.html">choosing the document background color</ulink> (the color around the displayed page). By default, the &Qt; toolkit color is used when this option is unchecked.
</para>
2005-12-23 11:25:55 +00:00
</listitem>
</varlistentry>
2017-10-02 16:13:39 +00:00
<varlistentry>
2014-02-08 12:45:43 +00:00
<term><guilabel>Open new files in tabs</guilabel></term>
<listitem>
<para>Whether to open new documents in tabs. The tabs are disabled by default.</para>
<para>
The default shortcuts to switch between tabs are <keycombo>&Ctrl;<keycap>.</keycap></keycombo> (<guilabel>Next tab</guilabel>) and <keycombo>&Ctrl;<keycap>,</keycap></keycombo> (<guilabel>Previous tab</guilabel>).
</para>
</listitem>
</varlistentry>
2020-04-23 08:53:44 +00:00
<varlistentry>
<term><guilabel>Switch to existing tab if file is already open</guilabel></term>
<listitem>
2021-02-19 20:17:33 +00:00
<para>Whether &okular; should switch to a tab if the file is already open instead of opening a new tab. This option is enabled by default. Can be toggled only if <guilabel>Open new files in tabs</guilabel> is enabled.</para>
2020-04-23 08:53:44 +00:00
</listitem>
</varlistentry>
2017-10-02 16:13:39 +00:00
<varlistentry>
<term><guilabel>Obey DRM limitations</guilabel></term>
<listitem>
<para>Whether &okular; should obey <firstterm>DRM</firstterm>
(Digital Rights Management) restrictions. DRM limitations are used
to make it impossible to perform certain actions with &PDF; documents,
such as copying content to the clipboard. Note that in some configurations
of &okular;, this option is not available.</para>
</listitem>
</varlistentry>
2005-12-23 11:25:55 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Reload document on file change</guilabel></term>
2005-12-23 11:25:55 +00:00
<listitem>
<para>Whether opened files should be automatically checked for
changes and updated, if necessary.</para>
</listitem>
</varlistentry>
2006-10-16 18:17:29 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Show backend selection dialog</guilabel></term>
2006-10-16 18:17:29 +00:00
<listitem>
2006-11-10 22:55:59 +00:00
<para>Whether &okular; should ask the user which backend to use in case of more
than one backend able to open the current file. If unchecked, &okular; will
use the backend with the highest priority.</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2016-07-26 06:42:01 +00:00
<varlistentry>
<term><guilabel>Right to left reading direction</guilabel></term>
<listitem>
<para>
Whether to use right to left reading direction by default for the opened files. Can be useful for <ulink url="https://en.wikipedia.org/wiki/Right-to-left">some writing systems</ulink>.
</para>
</listitem>
</varlistentry>
2021-04-09 08:17:23 +00:00
<varlistentry>
<term><guilabel>Open in continuous mode by default</guilabel></term>
<listitem>
<para>
Whether to use the continuous mode by default. In continuous mode, all pages of the document are shown, and you can smoothly scroll through them. Otherwise, only one page (or one row of pages) is shown at a time.
</para>
</listitem>
</varlistentry>
2007-08-15 12:44:58 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Overview columns</guilabel></term>
2007-08-15 12:44:58 +00:00
<listitem>
<para>
2012-06-18 18:49:11 +00:00
This option represents the number of columns to use in the overview mode.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Page Up/Down overlap</guilabel></term>
<listitem>
<para>
2020-09-25 18:56:10 +00:00
Here you can define the percentage of the current viewing area that should be visible after pressing &PgUp;/&PgDn; keys.
2007-08-15 12:44:58 +00:00
</para>
2006-10-16 18:17:29 +00:00
</listitem>
</varlistentry>
2011-09-28 21:54:03 +00:00
<varlistentry>
<term><guilabel>Default Zoom</guilabel></term>
<listitem>
<para>
This options specifies the default zoom mode for file which were never
2011-09-29 04:38:05 +00:00
opened before. For those files which were opened before the previous zoom mode
2011-09-28 21:54:03 +00:00
is applied.
</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2005-12-23 11:25:55 +00:00
<sect1 id="configaccessibility">
2005-01-15 14:00:56 +00:00
<title>Accessibility</title>
<variablelist>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Draw border around links</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>Whether to draw a border around links.</para>
</listitem>
</varlistentry>
<varlistentry>
2009-02-02 21:47:29 +00:00
<term><guilabel>Change colors</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para><action>Enables</action> the color changing options.</para>
</listitem>
</varlistentry>
<varlistentry>
2021-05-30 17:41:20 +00:00
<term><guilabel>Color mode</guilabel></term>
<listitem>
<para><action>Defines</action> the color changing mode.</para>
<variablelist>
<varlistentry>
<term><guilabel>Invert Colors</guilabel></term>
<listitem>
<para><action>Inverts</action> colors on the view, &ie; black objects will be shown white.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Change Paper Color</guilabel></term>
<listitem>
<para><action>Changes</action> the paper's color, &ie; the document's background.</para>
2021-05-31 05:51:59 +00:00
<para>The color can be selected using the <guilabel>Paper color</guilabel> swatch below.
2021-05-30 17:41:20 +00:00
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Change Dark & Light Colors</guilabel></term>
<listitem>
<para><action>Changes</action> the dark and light color to your preference, that means
2005-12-23 11:25:55 +00:00
black will not be rendered as black but as the selected dark color and white
will not be rendered as white but as the selected light color.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Convert to Black & White</guilabel></term>
<listitem>
<para><action>Converts</action> the document to black and white. You can set the
2005-12-23 11:25:55 +00:00
threshold and the contrast. Setting the threshold to a higher value
2010-08-01 19:53:27 +00:00
by moving it to the right will result in lighter grays used.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Invert Lightness</guilabel></term>
<listitem>
<para><action>Inverts</action> lightness of all colors.
2020-03-28 19:13:43 +00:00
Light and dark colors will be swapped, but hue and saturation will not be affected.
The Contrast in images will usually be worse than in <guilabel>Invert Luma (sRGB Linear)</guilabel>.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Invert Luma (sRGB Linear)</guilabel></term>
<listitem>
<para><action>Inverts</action> luma of all colors.
2020-03-28 19:13:43 +00:00
Light and dark will be swapped, but hue and saturation will not be affected.
The Contrast in images is preserved better than in <guilabel>Invert Lightness</guilabel>,
but graphics and colorful text markup usually look worse.
Uses sRGB luma coefficients, but no gamma correction.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Invert Luma (Symmetric)</guilabel></term>
<listitem>
<para><action>Inverts</action> luma of all colors, using symmetric luma coefficients.
2020-03-28 19:13:43 +00:00
Light and dark will be swapped, but hue and saturation will not be affected.
Very similar to <guilabel>Invert Lightness</guilabel>,
but the contrast is in some cases better.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Shift Hue Positive</guilabel></term>
<listitem>
<para><action>Shifts</action> hue of all colors by 120 degrees.
2020-09-25 18:56:10 +00:00
Can mitigate some contrast problems in colorful graphics.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Shift Hue Negative</guilabel></term>
<listitem>
<para><action>Shifts</action> hue of all colors by 240 degrees.
2020-09-25 18:56:10 +00:00
Can mitigate some contrast problems in colorful graphics.</para>
2021-05-30 17:41:20 +00:00
</listitem>
</varlistentry>
</variablelist>
<note><para>You can configure keyboard shortcuts and toolbar actions for the color modes using the corresponding menu items in the <guimenu>Settings</guimenu> menu of the &okular; main window.</para></note>
2020-03-28 19:13:43 +00:00
</listitem>
</varlistentry>
2019-11-02 17:23:45 +00:00
<varlistentry>
2021-05-30 17:41:20 +00:00
<term><guilabel>Text-to-speech engine</guilabel></term>
2019-11-02 17:23:45 +00:00
<listitem>
<para><action>Allows you to choose</action> the text-to-speech (<abbrev>TTS</abbrev>) engine to be used by &okular;.
2022-02-20 19:23:52 +00:00
The default is <application>speechd</application> <abbrev>TTS</abbrev>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Text-to-speech voice</guilabel></term>
<listitem>
<para><action>Allows you to choose</action> a voice for the text-to-speech engine to be used by &okular;.
You can use all languages and voices depending on the available synthesizers on your platform. On &Linux;,
2019-11-02 17:23:45 +00:00
speech-dispatcher is used by default to determine available voices.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2005-12-23 11:25:55 +00:00
<sect1 id="configperformance">
2005-01-15 14:00:56 +00:00
<title>Performance</title>
<variablelist>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Enable transparency effects</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>Draw selections and other special graphics using
2005-02-24 21:04:16 +00:00
transparency effects. Disable the option to draw them using
2005-01-15 14:00:56 +00:00
outline or opaque fill styles and increase speed on selections.</para>
</listitem>
</varlistentry>
<varlistentry>
2021-01-02 07:39:47 +00:00
<term><guilabel>Memory usage</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
2006-10-16 18:17:29 +00:00
<para>&okular; can achieve best performance by tuning the memory usage, based on your system and your tastes.
2005-01-15 14:00:56 +00:00
The more memory you let it to use, the faster the program will behave. The Default profile is good
2006-10-16 18:17:29 +00:00
for every system, but you can prevent &okular; from using more memory than necessary by selecting the Low
2012-06-18 18:49:11 +00:00
profile, or let it get the most out of your system using Aggressive. Use Greedy profile to preload all
pages without risk of system memory overfull (only 50% of total memory or free memory will be used).</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
2012-12-31 12:04:58 +00:00
<varlistentry>
2021-01-02 07:39:47 +00:00
<term><guilabel>Rendering options</guilabel></term>
2012-12-31 12:04:58 +00:00
<listitem>
2020-06-04 18:30:08 +00:00
<para>Using this group of options you can improve text and image rendering in &okular;. The result depends on the device to display the document.
2020-09-25 18:56:10 +00:00
<guilabel>Enable Text Antialias</guilabel> and <guilabel>Enable Graphics Antialias</guilabel> items can be used to switch on and off <ulink url="https://en.wikipedia.org/wiki/Spatial_anti-aliasing">spatial anti-aliasing</ulink> of text and images in document, correspondingly.
<guilabel>Enable Text Hinting</guilabel> item is meant to be a switcher for <ulink url="https://en.wikipedia.org/wiki/Font_hinting">font hinting</ulink>.
2012-12-31 12:04:58 +00:00
Antialiasing and hinting change how the documents are displayed, you may want to tweak them to your preference.</para>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2005-12-23 11:25:55 +00:00
<sect1 id="configpresentation">
2005-01-15 14:00:56 +00:00
<title>Presentation</title>
<variablelist>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Advance every</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
2005-12-23 11:25:55 +00:00
<para>Enables automatic advancing of pages given a time period.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Loop after last page</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>When navigating on presentation mode and going past the last page the first page will appear.</para>
</listitem>
</varlistentry>
2019-03-13 09:58:20 +00:00
<varlistentry>
<term><guilabel>Touch navigation</guilabel></term>
<listitem>
<para>Allows you to fine-tune touchscreen navigation with tapping in the presentation using the following three possible values:</para>
<itemizedlist>
<listitem>
<para><guilabel>Tap left/right side to go back/forward</guilabel>: Tapping on the left (right) half of the screen makes the presentation go to the previous (next) slide.</para>
</listitem>
<listitem>
<para><guilabel>Tap anywhere to go forward</guilabel> (default): Tapping on the screen makes the presentation go to the next slide, no matter where the screen is being tapped.</para>
</listitem>
<listitem>
<para><guilabel>Disabled</guilabel>: Screen tapping does not do anything.</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Background color</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>The color that will fill the part of the screen not covered by the page when on presentation mode.</para>
</listitem>
</varlistentry>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Mouse cursor</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>Whether the mouse should be always hidden, always shown or hidden after a small time of inactivity.</para>
</listitem>
</varlistentry>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Show progress indicator</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
2005-12-23 11:25:55 +00:00
<para>Whether to show a progress circle that shows the current page and the total number of pages on the upper
2009-03-14 07:21:46 +00:00
right corner of the presentation screen every time you change the page.</para>
2005-01-15 14:00:56 +00:00
</listitem>
</varlistentry>
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Show summary page</guilabel></term>
2005-01-15 14:00:56 +00:00
<listitem>
<para>Whether to show a summary page at the beginning of the presentation with the title, author and number of pages of the document.</para>
</listitem>
</varlistentry>
2012-06-18 18:49:11 +00:00
<varlistentry>
<term><guilabel>Enable transitions</guilabel></term>
<listitem>
2013-01-21 19:38:45 +00:00
<para>Use this check box to enable or disable transition effects between pages.</para>
2012-06-18 18:49:11 +00:00
</listitem>
</varlistentry>
2006-11-10 22:55:59 +00:00
<varlistentry>
2008-08-26 12:48:25 +00:00
<term><guilabel>Default transition</guilabel></term>
2006-11-10 22:55:59 +00:00
<listitem>
2008-08-26 12:48:25 +00:00
<para>The transition effect between page and page if the document does not specify one. Set this to <guilabel>Random
Transition</guilabel> to make &okular; randomly choose one of the available effects.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Placement</guilabel></term>
<listitem>
2012-06-18 18:49:11 +00:00
<para>In this section you can select the <guilabel>Screen</guilabel> used to display the presentation.</para>
2008-08-26 12:48:25 +00:00
<para><guilabel>Current Screen</guilabel> is same screen of the &okular; window that starts the presentation mode.</para>
<para><guilabel>Default Screen</guilabel> is the screen marked as default in the xinerama configuration.</para>
<para><guilabel>Screen 0</guilabel>, <guilabel>Screen 1</guilabel> &etc; are the available screens.</para>
2006-11-10 22:55:59 +00:00
</listitem>
</varlistentry>
2016-11-11 14:26:07 +00:00
<varlistentry>
<term><guilabel>Drawing Tool Configuration</guilabel></term>
<listitem>
<para>Manage the colors of the pencil used when drawing on the pages during the presentation mode.</para>
</listitem>
</varlistentry>
2006-11-10 22:55:59 +00:00
</variablelist>
</sect1>
2013-05-23 18:41:33 +00:00
<sect1 id="configannotations">
<title>Annotations</title>
<screenshot>
<screeninfo>The Annotations page of the configuration dialog</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref="configure-annotations.png" format="PNG" />
</imageobject>
<textobject>
<phrase>The Annotations page of the configuration dialog</phrase>
</textobject>
</mediaobject>
</screenshot>
2006-11-10 22:55:59 +00:00
<variablelist>
2021-08-15 06:56:26 +00:00
<varlistentry>
<term><guilabel>Annotation toolbar</guilabel></term>
<listitem>
<para>Allows switching between <guimenuitem>Full Annotation Toolbar</guimenuitem> (<link linkend="annotations-add">default toolbar</link> in the top section of the &okular; window) and <guimenuitem>Quick Annotation Toolbar</guimenuitem> (sliding toolbar with your favorite tools at the right part of the document pane).</para>
</listitem>
</varlistentry>
2006-11-10 22:55:59 +00:00
<varlistentry>
2008-01-21 21:10:27 +00:00
<term><guilabel>Author</guilabel></term>
2006-11-10 22:55:59 +00:00
<listitem>
2010-09-14 20:58:51 +00:00
<para>The author of the contents added on a document.
Default is the name from the <guilabel>Password & User Account</guilabel> page of the &systemsettings; module <guilabel>Account Details</guilabel>.</para>
2006-11-10 22:55:59 +00:00
</listitem>
</varlistentry>
2013-05-23 18:41:33 +00:00
<varlistentry>
<term><guilabel>Annotation tools</guilabel></term>
<listitem>
<para>
This pane is used to configure your <link linkend="annotations-add">annotating toolbar</link>.
</para>
<para>
2013-05-24 14:21:01 +00:00
There are five buttons (<guibutton>Add</guibutton>, <guibutton>Edit</guibutton>, <guibutton>Remove</guibutton>, <guibutton>Move Up</guibutton>, <guibutton>Move Down</guibutton>) and a list box (which lists the contents of the current annotating toolbar) which are used to configure the toolbar.
2013-05-23 18:41:33 +00:00
</para>
<para>
If you need to add some tool button on the toolbar click on the <guibutton>Add</guibutton> button. You can choose the <guilabel>Name</guilabel>, the <guilabel>Type</guilabel> and the <guilabel>Appearance</guilabel> of the created tool.
</para>
<note>
<para>
2013-05-24 14:21:01 +00:00
Please remember that annotation tools in &okular; are highly configurable. For example, you can have two buttons of the same tool but with different color. Do not hesitate to experiment in choosing the button set that is exactly tailored to your workflow.
2013-05-23 18:41:33 +00:00
</para>
</note>
<para>
Click on some item in the list box then click on the corresponding button at the right part of the page to edit, remove, move up or move down the item. The keyboard shortcut of the tool (keys from <keycap>1</keycap> to <keycap>9</keycap>) depends on its position in the list of annotating toolbar.
</para>
</listitem>
</varlistentry>
2016-05-22 08:10:15 +00:00
<varlistentry>
<term>Using Custom Stamps</term>
<listitem>
<orderedlist>
<listitem><para>Create the icon you want to use for your own stamp and save it in any graphics format supported by &okular;</para></listitem>
<listitem><para>Click the <guibutton>Add</guibutton> button, select type <guilabel>Stamp</guilabel> and enter a name for your stamp.</para></listitem>
<listitem><para>Enter the full path to your custom icon into the dropdown box in the <guilabel>Stamp Symbol</guilabel> group</para></listitem>
</orderedlist>
</listitem>
</varlistentry>
2005-01-15 14:00:56 +00:00
</variablelist>
</sect1>
2009-02-02 21:47:29 +00:00
<sect1 id="configeditor">
<title>Editor</title>
<variablelist>
<varlistentry>
<term><guilabel>Editor</guilabel></term>
<listitem>
2012-06-18 18:49:11 +00:00
<para>Choose the editor you want to launch when &okular; wants to open a source file.
2020-09-25 18:56:10 +00:00
This is the case when the document has references to the various points (usually row and column number) of sources it was generated from. The &DVI; format supports natively the addition of the information about the sources the &latex; document was generated from. A similar system exists for &PDF; documents, called <acronym>pdfsync</acronym>, which stores these extra information in an external file named after the &PDF; file itself (for example <filename>mydocument.pdfsync</filename> for <filename>mydocument.pdf</filename>).
2009-02-02 21:47:29 +00:00
</para>
2012-07-01 14:21:40 +00:00
<para>
2019-11-30 01:02:03 +00:00
&okular; ships with preconfigured settings for the following editors: <ulink url="https://kate-editor.org/">&kate;</ulink>, <ulink url="https://kile.sourceforge.io/">Kile</ulink>, <ulink url="https://www.scintilla.org/SciTE.html">SciTE</ulink>, <ulink url="https://www.gnu.org/software/emacs/">&Emacs; client</ulink>, <ulink url="https://www.lyx.org/">LyX client</ulink>, <ulink url="https://www.texstudio.org/">TeXstudio</ulink>, and <ulink url="https://github.com/hannah-sten/texify-idea">TeXiFy IDEA</ulink>.
2012-07-01 14:21:40 +00:00
</para>
<note>
<para>
2020-09-25 18:56:10 +00:00
To use inverse search in &kile;, you have to compile your &latex; file with the <guilabel>Modern</guilabel> configuration.
2012-07-01 14:21:40 +00:00
</para>
</note>
2009-02-02 21:47:29 +00:00
</listitem>
</varlistentry>
<varlistentry>
<term><guilabel>Command</guilabel></term>
<listitem>
<para>This is the command and its parameters to invoke the selected editor with the source file of the actual document.</para>
2013-01-21 19:38:45 +00:00
<para>This field will be filled automatically if you use one of the preconfigured editors. Otherwise, please choose <guimenuitem>Custom Text Editor</guimenuitem> in <guilabel>Editor</guilabel> drop down box and refer to the documentation on your favorite editor to find the proper command.
2012-07-01 14:21:40 +00:00
</para>
<para>You can use the following placeholders:</para>
<itemizedlist>
<listitem>
<para>%f - the file name</para>
</listitem>
<listitem>
<para>%l - the line of the file to be reached</para>
</listitem>
<listitem>
<para>%c - the column of the file to be reached</para>
</listitem>
</itemizedlist>
<para>If %f is not specified, then the document name is appended to the specified command.</para>
2009-02-02 21:47:29 +00:00
</listitem>
</varlistentry>
</variablelist>
</sect1>
2005-01-15 14:00:56 +00:00
</chapter>
<chapter id="credits">
<title>Credits and License</title>
2012-06-18 18:49:11 +00:00
2005-01-15 14:00:56 +00:00
<itemizedlist>
<title>Program Copyright:</title>
2013-01-21 19:38:45 +00:00
<listitem><para>&Albert.Astals.Cid; &Albert.Astals.Cid.mail; Current maintainer</para></listitem>
2012-06-19 17:35:25 +00:00
<listitem><para>Pino Toscano <email>pino@kde.org</email></para></listitem>
2012-06-19 15:15:20 +00:00
<listitem><para>Enrico Ros <email>eros.kde@email.it</email> &kpdf; developer</para></listitem>
2005-12-23 11:25:55 +00:00
</itemizedlist>
<itemizedlist>
<title>Documentation Copyright:</title>
2013-01-21 19:38:45 +00:00
<listitem><para>&Albert.Astals.Cid; &Albert.Astals.Cid.mail; Author</para></listitem>
2012-06-19 15:15:20 +00:00
<listitem><para>Titus Laska <email>titus.laska@gmx.de</email> Some updates and additions</para></listitem>
2006-10-16 18:17:29 +00:00
<listitem><para>Pino Toscano <email>pino@kde.org</email></para></listitem>
2005-01-15 14:00:56 +00:00
</itemizedlist>
2005-11-21 09:11:07 +00:00
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
2005-01-15 14:00:56 +00:00
&underFDL;
&underGPL;
</chapter>
2005-12-23 11:25:55 +00:00
2012-06-18 18:49:11 +00:00
&documentation.index;
2003-10-18 22:58:55 +00:00
</book>
2005-12-23 11:25:55 +00:00
2003-10-18 22:58:55 +00:00
<!--
Local Variables:
mode: sgml
sgml-minimize-attributes:nil
sgml-general-insert-case:lower
sgml-indent-step:0
sgml-indent-data:nil
End:
// vim:ts=2:sw=2:tw=78:noet
-->