The [Home] page explains basic file open and save operations. This page contains some tips if you have troubles or want to learn more about loading or saving files in this DjVu editor.
The example from the main readme: Assuming you use the default data
directory for storing your XML and a subdirectory to store images, for example:
data/gozgep_demo.xml
data/gozgep/gozgep-0.png
data/gozgep/gozgep-1.png
...
The Image name box is a pattern to identify image files of the pages, but if you enter the first page's file name, the pattern should be automatically created. The (last) number in the file names must be a page index, unless one single file is used. Pattern examples are:
Pattern | Page 1 | Page 2 | Use |
---|---|---|---|
mybook-%.png | mybook-0.png | mybook-1.png | 0 based, no padding |
mybook-%%%.png | mybook-000.png | mybook-001.png | 0 based, padded to 3 digits |
mybook-#.png | mybook-1.png | mybook-2.png | 1 based, no padding |
mybook-##.png | mybook-01.png | mybook-02.png | 1 based, padded to 2 digits |
mybook-%%%+10.png | mybook-010.png | mybook-011.png | XML is a partial extract starting with page 10 PNG file, file numbers are padded to 3 digits |
Note that you may enter full URL to an XML document on another server and images can be stored relative to that document too, but you will most likely face a remote XML access denied errors. See HTTP access control.
This method makes it impossible to save to the same document, so it's not good for editing anyway.