DJVM(1)

πŸ’– DJVM β€” bestie's guide to bundled multi-page DjVu docs πŸ’–

okay so this is the djvm page from the DjVuLibre-3.5 manual, section 1 (that's the user-commands section, iykyk), and we're gonna go through it together. grab a snack. πŸ“


✨ NAME ✨

djvm β€” manipulate bundled multi-page DjVu documents. that's the whole vibe. it bundles, it inserts, it deletes, it lists. a multi-tool but make it ✨archival✨.


🌸 SYNOPSIS 🌸

okay so there's four modes and they all look like this:

Creating a bundled document:

djvm -c[reate] doc.djvu page1.djvu ... pageN.djvu

Inserting:

djvm -i[nsert] doc.djvu page.djvu [pagenum]

Removing:

djvm -d[elete] doc.djvu pagenum

Listing:

djvm -l[ist] doc.djvu

notice the square brackets? that's the classic manpage thing where the letters inside are optional, so -c and -create both hit, -i and -insert both hit, etc. slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically this program either creates or modifies a bundled multi-page DjVu document. that's it, that's the job.

and here's the tea: multi-page bundled documents can be used directly, OR you can convert them into an indirect document using the command djvmcvt. two paths, one glow-up. ✨


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no skipping, we respect the canon here.

  • -c[reate] β€” creates a bundled DjVu document named doc.djvu by collecting the files page1.djvu through pageN.djvu. it's giving "gather the girls, we're making a scrapbook". πŸŽ€
  • -i[nsert] β€” modifies the bundled DjVu document named doc.djvu by inserting the file page.djvu as page pagenum. if you leave out the pagenum argument, that means the page gets appended at the end of the document β€” no position, no problem. also, plot twist: the file page.djvu can itself be a multi-page DjVu document, and in that case all of its pages get inserted at the specified location. not one. all of them. 🫢
  • -d[elete] β€” removes page pagenum from the bundled multi-page DjVu document doc.djvu. bye bestie, you're out of the bundle. 😭
  • -l[ist] β€” lists all the component files inside the multi-page DjVu document doc.djvu. show us the roster. πŸ“‹

πŸ’œ CREDITS πŸ’œ

this program was initially written by Andrei Erofeev <andrew_erofeev@yahoo.com> and was improved by Bill Riemers <docbill@sourceforge.net> and many others. legends, all of them, no cap. πŸ‘‘


🌈 SEE ALSO 🌈

go read those too, they're in the same friend group. πŸ¦‹


and that's the whole page!! this one's from DjVuLibre-3.5, dated 10/11/2001 β€” yes, a certified vintage, and it still ate. mwah. πŸ’–βœ¨πŸŽ€