Bookmark Tool

This tool can be used to embed bookmarks into a DjVu file (they are called Contents now, to distinguish between embedded bookmarks and user-added bookmarks).

Download

Bookmark file is 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.

  <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">Link to page 10 in book.djvu</a></li>
    <li><a href="http://windjview.sourceforge.net">Web link</a></li>
  </ul>
  </body>
  </html>

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.

This project is hosted by SourceForge.net

Copyright (C) 2005-2007 Andrew Zhezherun