Linking to a multiple-page document

A multiple-page document can be encoded, and then published, as either a bundled or an indirect DjVu document. Bundled DjVu documents contain all the pages in one file, whereas indirect DjVu documents contain separate files for each page that are connected with an additional index file.

We recommend that you use the indirect format when you publish multiple-page DjVu documents on the Web. This format allows a Web browser to load one page at a time, instead of the entire document.

Linking to a specific page within a multiple-page document

You can link to a specific page in a multiple-page document either by linking to the page in the DjVu file or to the page number or name in the index. If you link to the index, the user will be able to navigate to the other pages within the document; if you link to the file, the user will be able to view only that page in the document.

In this example, the link refers to a page in the DjVu file:

<a href="5.djvu">Page5</a>

In this example, the link refers to a page number in the index file:

<a href="index.djvu?djvuopts&page=5">Page5</a>

In this example, the link refers to a page name in the index file:

<a href="index.djvu?djvuopts&page=pagename.djvu">Page5</a>

Components for publishing indirect DjVu files

When you distribute an indirect DjVu file electronically, you may need to include the following components.

Shared dictionary file (.djbz): The shared dictionary is a file that is created when some indirect DjVu documents are encoded. If no .djbz files are present in the folder that contains your indirect DjVu file, you need to include only the DjVu file.

Thumbnail file (.thumb): If you integrate thumbnails into your indirect DjVu document, the thumbnail information is stored in a file with a .thumb extension, which you need to distribute with the DjVu file.

LizardTech Web page