Вернуться к разделу "Программа DjvuOCR".


Параметры командной строки djvused


Примечание: Утилита djvused входит в состав пакета DjVuLibre. Официальную документацию на эту утилиту можно почитать на сайте DjVuLibre.


This file describes command-line parameters of djvused and was extracted from djvused source.

Djvused is a standard free program from the DjvuLibre project.

"\n"
"Commands\n"
"--------\n"
"The following commands can be separated by newlines or semicolons.\n"
"Comment lines start with '#'. Commands usually operate on pages and files\n"
"specified by the \"select\" command. All pages and files are initially selected.\n"
"A single page must be selected before executing commands marked with a period.\n"
"Commands marked with an underline do not use the selection\n"
"\n"
" ls -- list all pages/files\n"
" n -- list pages count\n"
" dump -- shows IFF structure\n"
" size -- prints page width and height in html friendly way\n"
" select -- selects the entire document\n"
" select <id> -- selects a single page/file by name or page number\n"
" select-shared-ant -- selects the shared annotations file\n"
" create-shared-ant -- creates and select the shared annotations file\n"
" showsel -- displays currently selected pages/files\n"
" . print-ant -- prints annotations\n"
" . print-merged-ant -- prints annotations including the shared annotations\n"
" . print-meta -- prints file metadatas (a subset of the annotations\n"
" print-txt -- prints hidden text using a lisp syntax\n"
" print-pure-txt -- print hidden text without coordinates\n"
" output-ant -- dumps ant as a valid cmdfile\n"
" output-txt -- dumps text as a valid cmdfile\n"
" output-all -- dumps ant and text as a valid cmdfile\n"
" . set-ant [<antfile>] -- copies <antfile> into the annotation chunk\n"
" . set-meta [<metafile>] -- copies <metafile> into the metadata part of the annotations\n"
" . set-txt [<txtfile>] -- copies <txtfile> into the hidden text chunk\n"
" _ set-thumbnails [<sz>] -- generates all thumbnails with given size\n"
" remove-ant -- removes annotations\n"
" remove-meta -- removes metadatas without changing other annotations\n"
" remove-txt -- removes hidden text\n"
" _ remove-thumbnails -- removes all thumbnails\n"
" . save-page <name> -- saves selected page/file as is\n"
" . save-page-with <name> -- saves selected page/file, inserting all included files\n"
" _ save-bundled <name> -- saves as bundled document under fname\n"
" _ save-indirect <name> -- saves as indirect document under fname\n"
" _ save -- saves in-place\n"
" _ help -- prints this message\n"
"\n"
"Interactive example:\n"
"--------------------\n"
" Type\n"
" %% djvused -v file.djvu\n"
" and play with the commands above\n"
"\n"
"Command line example:\n"
"---------------------\n"
" Save all text and annotation chunks as a djvused script with\n"
" %% djvused file.djvu -e output-all > file.dsed\n"
" Then edit the script with any text editor.\n"
" Finally restore the modified text and annotation chunks with\n"
" %% djvused file.djvu -f file.dsed -s\n"
" You may use option -v to see more messages\n"
"\n" );
------------------------------------

"Simple DjVu file manipulation program\n"
"\n"
"Usage: djvused [options] djvufile\n"
"Executes scripting commands on djvufile.\n"
"Script command come either from a script file (option -f),\n"
"from the command line (option -e), or from stdin (default).\n"
"\n"
"Options are\n"
" -v -- verbose\n"
" -f <scriptfile> -- take commands from a file\n"
" -e <script> -- take commands from the command line\n"
" -s -- save after execution\n"
" -n -- do not save anything\n"
"\n"


Автор: gencho.  djvuocr [почтознак] mail2world.com

Подготовил: monday2000.

9 марта 2007 г.

E-Mail  (monday2000 [at] yandex.ru)

Hosted by uCoz