
Jon Niehof wrote:
Well, not necessarily. I've dealt with projects where a two-page panoramic photograph was a single scan/file.
Then insert the photograf as p0042-1.djvu and skip p0043.djvu
Then there are the joys of illustrations/plates with no page number.
Same as above. If the illustration comes after page 42 name it p0042-1.djvu.
And a project where, I kid you not, the actual page numbering ran 19, 20, 20a, 20b, 21.
You should be able to get a dispense for that (from Pope Noring I) and unstandardly use: p0020.djvu p0020a.dvju p0020b.djvu p0021.djvu
Many of the tools currently assume that PNG numbers are strictly numeric and monotonically increasing.
The only thing that has to be grafted on for now is a function to export the images into renamed files. Write a tool that asks: Starting Page No. in Database: 12 Ending Page No. in Database: 241 Prefix: p Starting Page No. in Files: 1 It will then generate files p0001.png thru p0230.png or whatever extension is appropriate for the internal image format you are using. If the book uses creative page numbering you'll have to call this repeatedly for every chunk. I don't know how frequent such projects are. For most books you'll need two calls of this tools and do the covers etc. manually. -- Marcello Perathoner webmaster@gutenberg.org