man djview Command

Man page for apt-get djview Command

Man Page for djview in Linux

Ubuntu Man Command : man djview

Man Djview  Command

This tutorial shows the man page for man djview in linux.

Open terminal with 'su' access and type the command as shown below:
man djview

Result of the Command Execution shown below:

DJVIEW4(1)                                                                    DjVuLibre                                                                   DJVIEW4(1)



NAME
djview4 Standalone DjVu viewer


SYNOPSIS
djview4 [options] [argument]


DESCRIPTION
Standalone viewer for DjVu files. Features include navigating documents, zooming and panning page images, producing and displaying thumbnails, displaying
document outlines, searching documents for particular words in the hidden text layer, copying hidden text to the clipboard, saving pages and documents as
bundled or indirect multi page files, and printing page and documents. The viewer can simultaneously display several pages using a side by side or a contin
uous layout.


COMMAND LINE ARGUMENT AND OPTIONS
This program can run as a standalone program or as a slave process for the DjVu browser plugin nsdejavu. When running as a standalone program, the command
line argument argument can be:

* The filename of a valid DjVu document.

* A local DjVu document URL of the form:

file:///path/name.djvu[?djvuopts&keyword=value&...]

The square brackets delimit the optional components of the URL. Various options can be specified using a syntax similar to that of CGI arguments. Speci
fying options in this manner is very useful for a browser plugin because there are no command line arguments. In the case of a standalone viewer, all
options can be specified as command line arguments.

* An remote DjVu document URL of the form:

http://host/path/name.djvu[?djvuopts&keyword=value&...]

Browsing remote DjVu documents with the standalone viewer is less efficient than using the browser plugin. The standalone viewer does not benefit from
the browser caching strategies and proxy settings. Proxy settings for the standalone viewer can be set independently with the preferences dialog.

An extensive list of options are recognized. Most options can be specified as command line argument starting with the customary dash character ( ) or using
the syntax of CGI arguments in the document URL. Some options however are only meaningful as command line arguments. Other options are only recognized when
running the X11 version of the djview4 program.


COMMAND LINE OPTIONS
The following options are only meaningful when specified on the command line.


help Display a brief help message.


verbose
Prints informational messages on the console. This option is very useful because it displays messages about the unrecognized constructs in the DjVu
annotation and hyperlink layers.


fullscreen, fs
Start djview4 in full screen mode. Use the key F11 to exit the full screen mode.


style=stylename
Specify the graphical user interface style. The recognized values for stylename depend on the installed version of the Qt toolkit. Common style
names include cde, motif, plastique, platinum, and windows.



X11 OPTIONS
The following command line options are recognized by the X11 version of the djview4 program. Unlike most djview4 options, X11 options that demand an argu
ment do not use the equal character to introduce their argument.

display displayname
Specify that the djview4 windows should appear on the X11 display displayname.


geometry WxH+X+Y
Specify the initial size and position of the first window using the traditional X11 geometry specification syntax. The numerical arguments W and H
represent the initial window width and height. The numerical arguments X and Y indicate the window position relative to the top left corner of the
screen.


name name
Set the application name.


title title
Set the title of the first window.


fn fontname, font fontname
Specify the name of the default font used for buttons and menus. The font should be specified using a X logical font description string.

bg color, background color
Specify the default background color for graphical user interface elements. The color should be given as a standard X11 color name.


fg color, foreground color
Specify the default foreground color for graphical user interface elements. The color should be given as a standard X11 color name.


btn color
Specify the default button color. The color should be given as a standard X11 color name.


ncols count
Limit the number of colors allocated on a 8 bit display. The default color cube contains 216 distinct colors.

cmap Force the allocation of a private color map on a 8 bit display. This might increase the color quality but cause flashing when the viewer window gets
activated.


GENERAL OPTIONS
The following options can be specified as command line options or can be passed by augmenting the document URL using a syntax similar to that of CGI argu
ments

http://.../file.djvu?djvuopts&key=value&key=value&...

In order to separate real CGI arguments from these options, the viewer only recognizes keywords that appear after the word djvuopts. The keywords key are
derived from the option names by removing the initial dashes.


page=pagename
Display a specific document page. The viewer first searches a page whose identifier matches the argument pagename. Otherwise, if pagename if a num
ber preceded by character + or , the viewer performs a displacement relative to the current page. Otherwise, starting from the current page and
wrapping around, it searches for a page whose title matches the argument pagename. Otherwise, if pagename is numerical, it is interpreted as an ordi
nal page number. Otherwise, and finally, the viewer searches a page whose name matches pagename.

pageno=pagenumber
The page searching algorithm for option page can cause ambiguities when page titles can be interpreted as numbers. The argument of option pageno is
always interpreted as an ordinal page number. This option is less portable than page because it is not recognized by earlier versions of the djvu
plugin. When using this option is necessary, it is advisable to use both the page and pageno options.

zoom=zoomfactor
Specify the initial zoom factor. Unless the toolbar, pop up menu and keyboard are disabled, the user will be able to change the zoom factor. Legal
values for zoomfactor are shown in the below:

+ +
|number Magnification factor in range 10% to 999%. |
|one2one Select the "one to one" mode. |
|width Select the "fit width" mode. |
|page Select the "fit page" mode. |
|stretch Stretch the image to the plugin window size. |
+ +
showposition=px,py
Specify a point in the current page that should be as close as possible to the center of the window. The horizontal and vertical positions px,py in
the current page are given as fractions in range 0 to 1. For instance, 0,0 designates the upper left corner of the page, 0.5,0.5 is the center, and
1,1 is the lower right corner.


mode=modespec
Specify the initial display mode. Unless the toolbar and pop up menu are disabled, the user will be able to change it. Legal values for modespec are
shown in the below:

+ +
|color Display the color image. |
|bw Display the foreground mask only. |
|fore Display the foreground only. |
|back Display the background only. |
|text Overlay the hidden text over the color image. |
+ +
hor_align=keyword, halign=keyword
Specify the horizontal position of the page in the viewer window. (This does not specify what part of the page will be shown, but rather how margins
will be laid out around the page in the plugin window.) Argument keyword must be left, center, or right.


ver_align=keyword, valign=keyword
Specify the vertical position of the page in the viewer window. (This does not specify what part of the page will be shown, but rather how margins
will be laid out around the page in the plugin window.) Argument keyword must be top, center, or bottom.


cache=(yes|no)
Enable or disable the caching of fully decoded pages of the document. Caching is on by default. Caching of documents whose URL does not contain an
extension .djvu or .djv is off by default.


continuous=(yes|no)
Enable or disable the continuous layout of multipage documents.


sidebyside=(yes|no), side_by_side=(yes|no)
Enable or disable the side by side layout of multipage documents.


coverpage=(yes|no)
Specify whether the cover page must be displayed alone when multipage documents are shown in side by side layout.


righttoleft=(yes|no)
Specify whether pages should be arranged right to left when multipage documents are shown in side by side layout.


layout=keyword{,keyword}
Specify the layout settings using a single list of comma separated keywords. The following keywords are recognized:

+ +
|single Disable both the side by side and continuous modes |
|double Enable the side by side mode. |
|continuous Enable the continuous mode. |
|cover, nocover Specify whether the cover page should be left alone. |
|ltor, rtol Specify the left to right or right to left layout. |
|gap, nogap Specify whether there is a gap between pages. |
+ +

scrollbars=(yes|no)
Enable or disable the presence of scroll bars when the full image size exceeds the plugin window size. The default is yes.


frame=(yes|no)
Enable or disable the display of a thin frame and shadow around the DjVu images. Frames are enabled by default.


background=color
Specify the color of the background border displayed around the document. The color color must be given in hexadecimal RRGGBB or


Related Topics

Apt Get Commands