4

I know how to add bookmarks into a DjVu file:

But how do I edit existing bookmarks? Do I need to re-insert a modified bookmark file? If so, is there a way to extract the bookmarks into a text file, edit the text file, and re-insert the bookmarks into the DjVu file?

1 Answer 1

3

Yes, you need to extract existing bookmarks to a file, edit it, and then set it back (old bookmarks will be overwriten):

# extract bookmarks
djvused -e "print-outline" my.djvu > bookmarks.txt

# edit bookmarks.txt

# set bookmarks back to document
djvused -s -e "set-outline bookmarks.txt" my.djvu

You may also find some GUI tools that will allow you to edit bookmarks, but basically they do the replacement under the hood.

9
  • Is there a GUI tool you know of? Djvusmooth is obsolete, alas...
    – Maxim
    Commented Aug 15, 2023 at 6:10
  • never tried any of them. Perhaps Pdf & DjVu Bookmarker
    – truf
    Commented Aug 15, 2023 at 15:00
  • truf -- that's a Windows-only tool :(
    – Maxim
    Commented Aug 16, 2023 at 3:25
  • 1
    @Maxim, well it still does work, at least it could be lauched. Didn't checked it after GUI has been started. On a morden linux you need to istall a few packagessudo apt install mono-runtime libmono-system-windows-forms4.0-cil, then download and unpack app archieve, Then grant "start-linux" script execution rights with chmod +x ./start-linux. Then launch it with ./start-linux. The executable is a .NET code so it can be launched on Linux with mono in some cases.
    – truf
    Commented Aug 19, 2023 at 22:19
  • 1
    @Maxim Legendary scantailor's author is Joseph Artsimovich. I'm just maintaining one of its forks (Universal), and not the most popular (Advanced) one. You may drop me a line, but I barely have a time to do anything related to djvu nowadays. Also you may better to ask about GUI tools here or here. I'm pretty sure these guys know all existing djvu tools.
    – truf
    Commented Aug 25, 2023 at 19:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.