Menu

Features for creating and editing bookmarks

Tim
2011-07-15
2012-11-08
  • Tim

    Tim - 2011-07-15

    1. I was wondering if there can be some features to be implemented for
    converting a text file of table of content into the format of
    bookmars(outlines) of djvu? Both command line and GUI solutions will be
    great.

    2. Also will it be good to edit the bookmarks interactively while viewing a
    djvu, such as to change the page that a bookmark item is linked to, and to
    move multiple bookmark items as subsections of another bookmark item? By
    "interactively", I mean a GUI solution.

    Thanks and regards!

     
  • Leon Bottou

    Leon Bottou - 2011-07-15

    (1)
    You can use the command line program, 'djvused', command set-outline.
    See http://djvu.sourceforge.net/doc/man/djvused.html

    (2)
    Yes. Not enough time here. Contributions welcome.

     
  • Tim

    Tim - 2011-07-15

    Thanks! For question 1, I don't ask how to incorporate into a djvu file a
    text file already in djvu bookmark format, but how to convert a text file
    whose content is only like table of content of a book into another text file
    in djvu bookmark format. For example, I have a text file:

    1 first chapter 10
    1.1 first section 11
    1.1.1 first subsection 12
    1.2 second section 13
    2 second chapter 14 
    2.1 first section 16
    2.2 second section 13
    

    I was asking how to convert it into djvu bookmark format:

    (bookmarks
     ("1 first chapter" "#10" 
     ("1.1 first section" "#11" 
     ("1.1.1 first subsection" "#12" ))
     ("1.2 second section" "#13" ))
     ("2 second chapter" "#14" 
     ("2.1 first section" "#16" )
     ("2.2 second section" "#13" ))
    )
    
     
  • monday2000

    monday2000 - 2011-07-18
     
  • Tim

    Tim - 2011-07-20

    Thanks, monday2000!

    That software is nice! I wonder if it does not help to further convert into
    tree-like structure in djvu bookmark format?

     
  • monday2000

    monday2000 - 2011-08-10

    timlee126

    I wonder if it does not help to further convert into tree-like structure in
    djvu bookmark format?

    I don't understand your question. Explain what you mean.

     
  • Tim

    Tim - 2011-09-10

    By "tree-like structure" I mean using parentheses to represent table of
    contents at level 1, level 2, ….

    bookm does not create such structure.

     

Log in to post a comment.