Package: djvulibre-bin
Version: 3.5.20-2
Severity: normal
File: /usr/bin/djvused

Let's create a dummy multi-page document:

   $ printf 'P1 3 3 0 0 0 0 0 0 0 0 0 0' > dummy.pbm
   $ cjb2 dummy.pbm p1.djvu
   $ cjb2 dummy.pbm p2.djvu
   $ djvm -c bundled.djvu p*.djvu

Now add some bookmarks:

   $ echo '(bookmarks ("foo" "#2"))' > outline
   $ djvused -s -e 'set-outline outline' bundled.djvu
   $ djvused -e print-outline bundled.djvu
   (bookmarks
    ("foo"
     "#2" ) )

Let's convert it to indirect format:

   $ djvmcvt -i bundled.djvu . index.djvu

Bookmarks has been preserved:

   $ djvused -e print-outline index.djvu
   (bookmarks
    ("foo"
     "#2" ) )

Let's set them again:

    $ djvused -s -e 'set-outline outline' index.djvu

Now they're broken:

    $ djvused -e print-outline index.djvu | wc -c
    0

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii curl 7.17.1-1 Get a file from an HTTP, HTTPS or ii libc6 2.7-4 GNU C Library: Shared libraries
ii  libdjvulibre15                3.5.20-2   Runtime support for the DjVu image
ii  libgcc1                       1:4.2.2-4  GCC support library
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii libstdc++6 4.2.2-4 The GNU Standard C++ Library v3
ii  libtiff4                      3.8.2-7    Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- debconf-show failed

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to