EN RU
Download WinDjView 2.1 free

Contents in DjVu

DjVu files can contain contents tree with links to chapters and sections of the document. WinDjView will display this tree if a document has it, but the contents will be read-only. A separate tool called BookmarkTool is provided, which can be used to embed contents into a DjVu file (these links are called “bookmarks” in DjVu standard, but in WinDjView they are called “contents” distinguish them from user-added bookmarks).

Download BookmarkTool

BookmarkTool reads contents from a HTML file with a special structure. Such files are produced by Adobe Acrobat when you export a PDF file to HTML. An example below should be enough to understand the format. The HTML file is assumed to have the UTF-8 encoding, and the value of charset is ignored, even if specified. Please use this encoding for all non-ASCII characters in the bookmarks.

Example

  <html>
  <body>
  <ul>
    <li><a href="#1">Link to page 1</a></li>
    <li><a href="#2">Link to page 2</a></li>
    <li><a href="#3">Chapter 1</a>
      <ul>
        <li><a href="#4">Link to page 4</a></li>
        <li><a href="#5">Link to page 5</a></li>
      </ul>
    </li>
    <li><a href="">Chapter 2, no link here</a>
      <ul>
        <li><a href="#6">Subsection</a>
          <ul>
            <li><a href="#7">Link to page 7</a></li>
            <li><a href="#8">Link to page 8</a></li>
          </ul>
        </li>
        <li><a href="#9">Link to page 9</a></li>
      </ul>
    </li>
    <li><a href="book.djvu#10">Page 10 in book.djvu</a></li>
    <li><a href="http://windjview.sf.net">Web link</a></li>
  </ul>
  </body>
  </html>